kitty10
(Martde)
1
I want to see the menu vertically instead of horizontally
Is possible?
<div id="mainmenu">
<?php $this->widget('zii.widgets.CMenu',array(
'items'=>array(
array('label'=>'GESTIONE STUDENTE:', 'url'=>array('/anagrafe/create')),
array('label'=>'GESTIONE DOCENTE:', 'url'=>array('/docente/create')),
array('label'=>'GESTIONE ENTE:', 'url'=>array('/organizzazione/create')),
array('label'=>'GESTIONE Riferimenti:', 'url'=>array('/riferimenti/create')),
array('label'=>'GESTIONE OFFERTE TIROCINIO:', 'url'=>array('/off_stage/create'))
),
)); ?>
</div><!-- mainmenu -->
kitty10
(Martde)
3
which property should I set? Do I just create a specific CSS for this menu?
Vince
(Vadimg88)
4
It’s up to you to design the way your menu displays. I would suggest searching google for a Horizontal CSS Menu.
Yes it’s possible! Yii just generate the html structure of menu, but the design you choose yourself.
http://www.cssplay.co.uk/menus/
jayrulez
(Waprave)
6
in your case
#mainmenu ul
{
}
#mainmenu ul li
{
}
#mainmenu ul li a
{
}
etc…
kitty10
(Martde)
7
I have it already, but those are for the main menu … I want to customize the menu because I need another menu choice in the Index page and I do like:
Tirocini&Stage
Scegliere una delle seguenti opzioni:
GESTIONE STUDENTE: Inserimento Modifica/Cancellazione
GESTIONE DOCENTE: Inserimento Modifica/Cancellazione
GESTIONE ENTE: Inserimento Modifica/Cancellazione
GESTIONE RIFERIMENTI: Inserimento Modifica/Cancellazione
GESTIONE OFFERTE TIROCINIO: Inserimento Modifica/Cancellazione
GESTIONE CONVENZIONI: Inserimento Modifica/Cancellazione
GESTIONE CANDIDATURE: Inserimento Modifica/Cancellazione
GESTIONE PROGETTO TIROCINIO: Inserimento Modifica/Cancellazione