Create CMS Website

Menu in Content

The Beginner's Tutorial
How To Create Own Website with CMS Made Simple

Using CMS Menu in Content

Navigation or menu is already pasted into your template. There is a top-navigation that displays pages in the first level of the page hierarchy. Some pages are not shown if you deselect “Show in Menu” check box in Option tab of the page.

Sidebar navigation displays all children of the page selected in the top-navigation. Again only pages where “Show in Menu” is selected shown here.

Navigation in the footer mainly repeats the top-navigation. But there is another layout for it and it displays all pages from the first level even if they are set to not show in the menu.

You can display the complete website structure (or some parts) in the content field as well. Thus you can display a site map helping your visitors to find required information on your website. You do not need to know how Menu Manager exactly works to create a site map. In a new content page add

{menu}

in the content field of the page:

Sitemap

Press “Submit”. See your site map on the website. It displays complete structure of the pages that are marked as “shown in menu”. And you can even refine the output of the menu tag with further parameters:

  • show_all="1" - this option will cause the menu to show all pages even if they are set to not show in the menu. It will still not display inactive pages however.
  • number_of_levels="1" - this setting will only allow the menu to only display a certain number of levels deep.

You can combine as many parameters as you like. For example, to display all active pages and to limit the hierarchy by 2 levels you would add:

{menu show_all=”1” number_of_levels=”2”}

Another example for use of additional navigation in the content is the output of articles on the start page independent of their actual position in hierarchy. Remember that standard navigation in the sidebar only displays pages that are children of the actually displayed page. If the articles have different parent page as start page, the visitors has to navigate to the articles page first.

To make navigation simpler put the complete list of articles on the start page. You can define start page for the list. Use one of the parameters below:

  • start_element="1.2" - starts the list displaying at the given start_element and shows that element and its children only. It takes a hierarchy position.
  • start_page="home" - starts the list displaying at the given start_page and shows that element and its children only. Takes a page alias.

It’s up to you what of the both parameters you prefer to use. Sure you can simply add the list of links to your articles manually on the page. In this case the list is not dynamic. If new articles are added you have to add them manually to the list as well. If you use {menu} instead to call the list, it displays automatically all new pages as well.

  • show_root_siblings="1" - this option only becomes useful if start_element or start_page are used. It basically will display the pages in the same level of the selected start page or element.

See an example for page structure and how it can be outputted on every page with different parameters:

Example Page Structure

{menu start_element="3"}

Example Menu

{menu start_element="3.1" show_root_siblings="1" }

{menu start_element="3.1" show_root_siblings="1" number_of_levels="1"}

You see how flexible you are with your menus on CMS Made Simple. On every page you can precisely define you navigation structure and even create a kind of article catalogue by adding article category first and then adding articles to the categories and displaying them with Menu Manager on the website.


del.icio.us digg stumbleupon buzzup BlinkList mixx myspace linkedin facebook reddit.com ma.gnolia.com newsvine.com furl.net google yahoo technorati.com

CMS Made Simple Beginner's Guide
Loading...