Yii Framework Forum: Looking for CSS code for sidebar - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Looking for CSS code for sidebar Rate Topic: -----

#1 User is offline   steelrh19 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 7
  • Joined: 31-May 09

Posted 02 July 2009 - 04:01 PM

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?
0

#2 User is offline   kk 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 37
  • Joined: 01-July 09

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
0

#3 User is offline   steelrh19 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 7
  • Joined: 31-May 09

Posted 25 July 2009 - 11:05 AM

View Postkk, 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


Thx for the tip
1

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users