Realy N00b question about the side bar

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
rmokkenstorm
New Member
New Member
Posts: 6
Joined: Wed May 30, 2007 6:55 pm

Realy N00b question about the side bar

Post by rmokkenstorm »

Hello there,

I'm creating a website for a band called TAURUS.
However i want something prety simple but i don't know how.
This is what i want:

Image

And this is what i've got
www.tauruswebsite.com

This is my template:

Code: Select all

   {* Start Content (Navigation and Content columns) *}
   <div id="content">



      {* Start Sidebar *}
      <div id="sidebar" class="hascontent">
 

    <!-- Start Right Sidebar  -->
     <div id="rightsidebar" align='center'>
     <hr class="accessibility" />
     </div> 
     <!-- End Right Sidebar  -->


     {* Start News *}
      <div id="news">
         <h2>News</h2>
          {news number='4' detailpage='news'}
      </div>
      {* End News *}

         {*{content block='Sidebar'}*}

      </div>
      {* End Sidebar *}
and this my stylesheet

Code: Select all

ndiv#content {
   margin: 0em auto 0em 0; /* some air above and under menu and content */
}


div#rightsidebar {
   float: right;
   margin-left: 3px;
   margin-right: 3px;
   margin-bottom: 5px;
   width: 160px;
   padding: 0px;
}


div#main { 
Now my 3 questions.

1. is my code correct?
2. if 1 = "yes" then how do i fill it up with some data. which page should i use?
3. excuus me for my bad lanqueage. I'm from the netherlands

Hope you guys could help this N00b.
jan_hut
Forum Members
Forum Members
Posts: 60
Joined: Sat Jul 01, 2006 1:48 pm

Re: Realy N00b question about the side bar

Post by jan_hut »

Rob,

What do you mean by filling with data?
rmokkenstorm
New Member
New Member
Posts: 6
Joined: Wed May 30, 2007 6:55 pm

Re: Realy N00b question about the side bar

Post by rmokkenstorm »

the Field Static Gig Overview i want to put a mini calender or something. maybe some plain text..
but this field should stay there whole the time no matter what page in my site is selected.
and as you see my template and CSS looks correct. (Found it somewhere on the forum)
But i don't know where/how i fill up this ""  with something.
rmokkenstorm
New Member
New Member
Posts: 6
Joined: Wed May 30, 2007 6:55 pm

Re: Realy N00b question about the side bar

Post by rmokkenstorm »

Nobody?
Loopy
Forum Members
Forum Members
Posts: 38
Joined: Sat Jun 10, 2006 5:34 pm

Re: Realy N00b question about the side bar

Post by Loopy »

You could us a global content block with the information you want to keep on each page.

Content » Global Content Blocks

Add your new Global Content Block and name it whatever you want, ie calendar

Then add any info you want to this and save. Then add the tag {global_content name='Name of Global Content Block'} to your template(s). Doing it this way will mean you only have to edit one file to update this content on all pages that call on this global content block. An example of this is teh way the footer is handled in the default templates:

  {* Start Footer. Edit the footer in the Global Content Block called "footer" *}
 
      {global_content name='footer'}
   
  {* End Footer  *}

I hope I explained this right.

Let me know if it is of any help.
Post Reply

Return to “Layout and Design (CSS & HTML)”