Yii Framework Forum: yiic shell to create a nested submodule? - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

yiic shell to create a nested submodule? Rate Topic: -----

#1 User is offline   daveline 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 26
  • Joined: 25-March 10

Posted 21 April 2010 - 08:53 AM

How can you use yiic shell to create a nested submodule?

to create the 1st module

module test1

to create the sub module

module test1\test2

or possibly

modules test1\modules\test2

doesn't seem to work properly because the framework is looking for the "test2" module in ./protected/modules/test1/modules/test2/Test2Module.php

neither method creates the structure properly
0

#2 User is offline   mbi 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 603
  • Joined: 08-May 09

Posted 21 April 2010 - 09:36 AM

dont know, if there is a simpler way

>>module test
>>module subtest

copy subtest-folder to test/modules

register subtest module to TestModule.php (init-Method)
$this->setModules(array('subtest'));

0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users