Support for dropdown menus in BootMenu (and BootNav)
Fixed import paths
Please note that you must preload the bootstrap application component.
To preload the component add the following to your main config:
'preload'=>array(
.....
'bootstrap',
),
When preloaded the component registers and own path alias for bootstrap which is used internally (and can naturally be used also externally). This change was done to allow bootstrap to be placed in any directory.
Thanks for noticing this. An import was missing from that file. I’ve fixed this, please redownload Bootstrap 0.9.7 and it should fix the problem. Sorry for the inconvenience.
I am very interested in the way to achieve form submission (as partially explained earlier in this discussion - with the screenshot) through BootModal.
I can display and close it, but I don’t know how to submit the form to the controller with the dialog button (and not through a input button within the form…
Can someone explain me the code to put in the ‘click’ option (BootModal’s buttons)?
Many thanks
EDIT : It worked until now with an ajaxsubmitbutton within the form and a CJuiDialog
Hi Chris , great work and I would love to get this extension in my Yii installation but the problem is I’m a newbie and I could not find any Install instructions , so dont know where to put various folders in the extension zip archive , is there any link / installation guide that I’m missing ?
I was wondering though why the BootTab isn’t implemented as an extension of CTabView in Yii?
THe behavior you want of CTabView does not look to be supported in a BootTab (which has been rolled into BootMenu).
For example, for tabs you actually want to display a content view within the tab and be able to dynamically jump between tabs without page reload. This is not what CMenu does. I am confused as why it isn’t extending the behavior of CTabView ?
@dreamynsx: BootTabs is kind of a work in progress. I will take a look at CTabView and see what I can do for the next release. Thank you for suggesting this improvement.