Page 1 of 1

[SOLVED] menu issues

Posted: Sat Dec 18, 2010 5:38 pm
by maryjane
I am just learning how to build a website with CMSMS. I have finally designed my home page the way I want it to look using some code from Listamatic. Now my pages don't connect to the words on the page. Can you help me understand how to style the menu but still have it navigational?
Thank you for helping us neophites who are teaching ourselves.
website is maryjaneparkerart.com/cmsms/

Re: menu issues

Posted: Sat Dec 18, 2010 5:47 pm
by Nullig
Please post your template, so we can see how the pages are created.

Nullig

Re: menu issues

Posted: Sat Dec 18, 2010 5:51 pm
by maryjane


{* Change lang="en" to the language of your site *}

{sitename}
{global_content name='Title'}
{stylesheet}






home
gallery
about
statement
contact



{content}




Re: menu issues

Posted: Sat Dec 18, 2010 6:11 pm
by Dr.CSS
Where you have your menu ul li add {menu} and it will go thru your pages in content > pages and take all your pages and spit out an ul li for you which will auto add an active class to your menu active item, most likely if you go to menu manager you will see simple_navigation.tpl set as default, you may want to set the minimum_menu.tpl as default...

Re: menu issues

Posted: Sat Dec 18, 2010 6:33 pm
by Nullig
Should be something like this:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>{sitename}</title>
    {global_content name='Title'}
    {stylesheet}
  </head>
  </__body>
    <div id="navcontainer">
      {menu}
    </div>
    {content}
  <__body>
</__html>
or better:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <title>{sitename}</title>
    {global_content name='Title'}
    {stylesheet}
  </head>
  </__body>
    <div id="navcontainer">
      {menu}
    </div>
    <div id="content">
      {content}
    </div>
  <__body>
</__html>
Nullig

Re: menu issues

Posted: Sat Dec 18, 2010 6:38 pm
by Nullig
Since you have submenu items, you may want to set the cssmenu.tpl as the default in Menu Manager.

Nullig