how do i get separated or parsed data from $content,$this->worklet(‘base.topMenu’),$this->worklet(‘base.footerMenu’) in main.php file so i can display the view according to myself.
i am using a custom script and want to replace the whole HTML page(\themes\test\views\layouts\wrappers\main.php) by self created HTML page and apply my own test.CSS…and on applying that i am facing problem to putting data bcs it automatically display the whole content like <? echo $content ;?>(String format)…so could you please explained me in details:-
In $content you have the result of the render of the view.
The content out of the view (layout) is taken by the layout view. You can freely write the layout as you wish, changing it all and including the css you want.
If you need some variable in the layout, follow the instruction of my previous post.
i hv also read your "http://www.yiiframework.com/doc/guide/1.1/en/topics.theming" but still not getting exactly because data is coming from many pages{passing HTML tags and CSS(class and id) inside $this->properties which we merge and store inside $this->properties and got the final o/p on=>\themes\test\views\layouts\wrappers\main.php}. and please explain me in details how to do that modification exactly, because i have been using Yii framework from last 10 days only so dont have full confidence over it.