I have a large project divided into four parts like as follows
classifieds,
business directory
online shopping
discount coupon
For all the above four parts, I have to use same database with single login session, and each part has different navigation system (layout), as well as a common navigation to the whole site (common layout).
I need the application should run in the following way
domainname/ - for common navigation
domainname/classifieds/controller/action - for all classified related things
domainname/directory/controller/action - for all business directory related things
domainname/shop/controller/action - for all online shopping related things
domainname/coupons/controller/action - for all coupons related things
domainname/admin/controller/action - for back end management
I am a newbie to Yii, Is there any better way to achieve this?
the way i achieve the thing you want is alot simplier than you thought. i want to put an level access control and i wanted to different layouts according to user level.
so i first started to implement this perfect article…