Page 1 of 1

Including news module in this template [solved]

Posted: Sat Jun 06, 2009 11:41 pm
by christophera
Hi All,

New with CMS Made Simple... new with cms overall... tried drupal, ugh that thing was complex.

So, my first attempt with CMS Made Simple.  Got it installed ok, now I'm customizing a theme.

I started with the 'Red Earth' them from http://freeoscommerce.com/free-template ... plate-003/

When I had the default theme on, I had an example of several news module posts.  But I guess this theme doesn't have that on it, though there is a space for it on the left side (see my site at: http://koryodo.sure-start.com ).

What do I need to do to put the news in place?  I'm guessing you will need to see the current template to tell me what to do, it is below.

Thanks,  Chris

-------------









GetURL()}{/if}" />

{sitename} - {title}
{* The sitename is changed in Site Admin/Global settings. {title} is the name of each page *}

{stylesheet}
{* This is how all the stylesheets attached to this template are linked to *}

{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}
{* Relational links for interconnections between pages, good for accessibility and Search Engine Optmization *}








 
 
   
     
       
         {* Start Navigation *}
         
           {menu template='freeoscommerce_menu_top' number_of_levels='1'}
         
         {* End Navigation *}
       
       {sitename}-->
     
     
       

         {* Start Sub Navigation *}
         {* NB! The below is only added because several default templates use the same menu stylesheet, to "force" the subnavigation to act as if it's the second level in a list *}
         {menu template='freeoscommerce_menu' start_level='2' collapse='1'}
         {* End Sub Navigation *}
       
       
         

           {* Start Breadcrumbs *}
           
             {breadcrumbs starttext='You are here' root='Home' delimiter='»'}
             
           
           {* End Breadcrumbs *}

           {* Start Content Area *}
           {title}
           {content}


           {* Start relational links *}
       
         {anchor anchor='main' text='^ Top'}
       
           
             {cms_selflink dir="previous" label="Previous page: "}

             {cms_selflink dir="next"}
           
           {* The label parameter doesn't need to be there if you're using English, but is here to show how it's used if you don't want the English text "Previous page" *}
       {* End relational links *}
       {* End Content Area *}
         
       
     
   
   
       {freeoscommerce_slogan}
     
   
   
   
 


 
   
 


 {freeoscommerce_footer}




Re: Including news module in this template

Posted: Sun Jun 07, 2009 2:53 am
by jmcgin51
I'm guessing you want the news to appear below the subnav menu on the left side.

Try this - replace

Code: Select all

<div id="side_menu">

          {* Start Sub Navigation *}
          {* NB! The <ul><li> below is only added because several default templates use the same menu stylesheet, to "force" the subnavigation to act as if it's the second level in a list *}
          <ul><li>{menu template='freeoscommerce_menu' start_level='2' collapse='1'}</li></ul>
          {* End Sub Navigation *}
        </div>
with

Code: Select all

<div id="side_menu">

          {* Start Sub Navigation *}
          {* NB! The <ul><li> below is only added because several default templates use the same menu stylesheet, to "force" the subnavigation to act as if it's the second level in a list *}
          <ul><li>{menu template='freeoscommerce_menu' start_level='2' collapse='1'}</li></ul>
          {* End Sub Navigation *}
          {news}
        </div>
That should get you started.

Re: Including news module in this template

Posted: Sun Jun 07, 2009 3:55 am
by christophera
Oh, very cool, and works :)

Thank you, I'm learning...

Chris