Hello,
I am trying to make a sort of articles section on my site using the latest version of CMSMS.
Another user here suggested that I create a new menu. In that menu I could create each category I wanted the articles to appear under.Then I could just add articles and they would be added to each parent category as needed.
Then I could just insert that menu in the content area of a new page to create my article directory.Lets call it {articlesmenu}
I have been trying to do just that but I cannot find a way to get the articles to show only {articlesmenu} and not in my main navigational menu.Also, I would like the categories not be links but just text.
I am trying to use this user submitted menu: http://wiki.cmsmadesimple.org/index.php ... with_icons
Is there an easier way to do this? I also tried the cataloguer module but I couldn't get it to work.
Thanks!
Using two different Menus
Re: Using two different Menus
assuming a site structure like this:
1.home
2.some page
3.articles menu
3.1 article 1
3.2 article 2
3.3 article 3
4. some other page
for each page which is an 'article' (3.1 to 3.3, in example above) uncheck 'show in menu' under the 'options' tab (while editing the page). do not uncheck this setting for the 'article menu' page itself (3, above).
the {menu} tag in the content area of your article 'menu' page (3, in example above) needs some optional parameters:
{cms_module module='menumanager' template='articlesmenu' show_all='1' start_page='whatever'}
or
{menu template='articlesmenu' show_all='1' start_page='whatever'}
where 'whatever' equals the page alias of your article menu page (3, in example above).
if you do not want the article menu page (3, in example above) to show up at the top of the article menu that's in its page content area, then 'whatever' above would be the (page alias of the) first article page underneath that menu item (3.1 above), and you'd add show_root_siblings='1' to the menu tag.
all these optional menu tag parameters are listed in the menu manager help page (layout -> menu manger -> help or click help on the 'menu manager' entry in extensions -> modules)
if something doesn't look right after this, then you might have a goof in your 'articlesmenu' template.. revert back to known working or default menu template and try again.
note: the necessary 'show_all' menu tag parameter is supported in cmsms 1.03 or higher only. tested the above solution in 1.04.
1.home
2.some page
3.articles menu
3.1 article 1
3.2 article 2
3.3 article 3
4. some other page
for each page which is an 'article' (3.1 to 3.3, in example above) uncheck 'show in menu' under the 'options' tab (while editing the page). do not uncheck this setting for the 'article menu' page itself (3, above).
the {menu} tag in the content area of your article 'menu' page (3, in example above) needs some optional parameters:
{cms_module module='menumanager' template='articlesmenu' show_all='1' start_page='whatever'}
or
{menu template='articlesmenu' show_all='1' start_page='whatever'}
where 'whatever' equals the page alias of your article menu page (3, in example above).
if you do not want the article menu page (3, in example above) to show up at the top of the article menu that's in its page content area, then 'whatever' above would be the (page alias of the) first article page underneath that menu item (3.1 above), and you'd add show_root_siblings='1' to the menu tag.
all these optional menu tag parameters are listed in the menu manager help page (layout -> menu manger -> help or click help on the 'menu manager' entry in extensions -> modules)
if something doesn't look right after this, then you might have a goof in your 'articlesmenu' template.. revert back to known working or default menu template and try again.
note: the necessary 'show_all' menu tag parameter is supported in cmsms 1.03 or higher only. tested the above solution in 1.04.
Last edited by kermit on Wed Mar 21, 2007 4:28 am, edited 1 time in total.
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
-
dillinger
Re: Using two different Menus
Thanks kermit you helped me a lot again!
That solution worked but for some reason the articles are not nested under their categories.It´s just showing them in a flat structure.
I tried some of the templates on the menu manager wiki page but I get the same results.
I am using the exact same code on this user submitted menu:
http://wiki.cmsmadesimple.org/index.php ... with_icons
I created a new menu based on that template called "articulos" and I put it in my articles page content section with the following code:
{cms_module module='menumanager' template='articulos' show_all='1' start_page='articulos'}
Am I missing something?
That solution worked but for some reason the articles are not nested under their categories.It´s just showing them in a flat structure.
I tried some of the templates on the menu manager wiki page but I get the same results.
I am using the exact same code on this user submitted menu:
http://wiki.cmsmadesimple.org/index.php ... with_icons
I created a new menu based on that template called "articulos" and I put it in my articles page content section with the following code:
{cms_module module='menumanager' template='articulos' show_all='1' start_page='articulos'}
Am I missing something?

