Accordion panel

How can i put these in CJuiAccordion? including the route…

thanks in advance…

First of all, don’t use pastebin or similar web-tool, only paste piece of code directly to your post, using code snipset (second button to the right on second toolbar).

Second of all, what you presented in pastebin is a two-level structure (parents and childs), while CJuiAccordion supports only one level structure. Are you sure you want to use this, instead of Treeview?

And finally, don’t except answer in the forum, if everything you did was just to write a question. Have you at least searched forum and documentation? I bet, you didn’t because if you did, you would find your answer in first chapters of CJuiAccordion documentation! There is an example code of how to add a few panels do accordion.

So, for example, something like this:

$this->widget('zii.widgets.jui.CJuiAccordion', array(


    	'System Setup'=>'content for panel 1',

    	'Transaction'=>'content for panel 2',


	// additional javascript options for the accordion plugin







it will be helpful