Hello community.
Usually i’m posting in the german section. But ther no one could help me.
maybe here is someone.
i’m totally new with the Yii.
Now i want to make a different Navigation from the exmaple.
i’ll show u the code.
<?php $this->widget('zii.widgets.CMenu',array(
'items'=>array(
array('label'=>'Unternehmen', 'url'=>array('site/index')),
array('label'=>'Über uns', 'url'=>array('site/page', 'view'=>'about')),
array('label'=>'Produkte', 'url'=>array('site/page', 'items'=>array('label'=>Zubehör, 'url'=>array('zubehoer/zubehoer')))),
array('label'=>'Kontakt', 'url'=>array('site/contact')),
array('label'=>'Impressum', 'url'=>array('site/page', 'view'=>'impressum')),
array('label'=>'Login', 'url'=>array('site/login'), 'visible'=>Yii::app()->user->isGuest),
array('label'=>'Logout ('.Yii::app()->user->name.')', 'url'=>array('site/logout'), 'visible'=>!Yii::app()->user->isGuest),
),
)); ?>
i want to make an extra point with Products.
under products are three different products.
- Verkehrsrechner 2. zubehoer 3. steuer
under these three there are again different points. like whta the specification of those products are.
i want, that it would liok like this:
- Product
- zubehoer
- exem1
- exem2
- steuer
- exem1
- exem 2
- verkehrsrechner
- exem 1
- exem 2
I want the navigation to be like this one here:
navi example
it should work like the using of the interfacetopic.
The other question is, how the directory structure should look like in the folder protected/views
i hope someone could help me.
big thanks in advance.