I am creating a web app for a client with his help and he introduced me to the Yii framework. It has been great when you need to use both php and css. Anyways, I am having trouble finding CSS files on the Yii forumn and cookbook. Can anyone help?
Page 1 of 1
Looking for CSS code for sidebar
#2
Posted 13 July 2009 - 06:40 AM
path:-
D:\xampp\htdocs\wwwroot\cart20\protected\views\layouts
<div id="sidebar">
$this->widget('Display'); ?> <!-- portlet display-->
</div><!-- sidebar -->
In the main.php file create a div tag which will contain the main content and the sidebar
put this code inside the div tag
you may need to learn html div tag
you may also refer to the BLOG Demo portlet section which is sidebar feature
D:\xampp\htdocs\wwwroot\cart20\protected\views\layouts
<div id="sidebar">
$this->widget('Display'); ?> <!-- portlet display-->
</div><!-- sidebar -->
In the main.php file create a div tag which will contain the main content and the sidebar
put this code inside the div tag
you may need to learn html div tag
you may also refer to the BLOG Demo portlet section which is sidebar feature
#3
Posted 25 July 2009 - 11:05 AM
kk, on 13 July 2009 - 06:40 AM, said:
path:-
D:xampphtdocswwwrootcart20protectedviewslayouts
<div id="sidebar">
$this->widget('Display'); ?> <!-- portlet display-->
</div><!-- sidebar -->
In the main.php file create a div tag which will contain the main content and the sidebar
put this code inside the div tag
you may need to learn html div tag
you may also refer to the BLOG Demo portlet section which is sidebar feature
D:xampphtdocswwwrootcart20protectedviewslayouts
<div id="sidebar">
$this->widget('Display'); ?> <!-- portlet display-->
</div><!-- sidebar -->
In the main.php file create a div tag which will contain the main content and the sidebar
put this code inside the div tag
you may need to learn html div tag
you may also refer to the BLOG Demo portlet section which is sidebar feature
Thx for the tip
Share this topic:
Page 1 of 1

Help











