Handling menu

Ramui webblog script includes two different types of menu generator. JavaScript menu, Ajax menu and simple menu. When included they can generated vertical menu for your website. But all of the menu generators only list the posts you have published.

The features of the JavaScript menu and Ajax menu are listed below.

  1. List top five pages in which visitors spend maximum time.
  2. List last five recently edited pages.
  3. List pages category-wise. When you expand a category you can see the list of pages under that category.

On the other hand the simple menu only lists the web pages category-wise. There is no 'Recent post' or 'Top five' listing.

Adding a web page into menu system

First of all you must know that both of the menu generators only list the WebPages created by post and not pages. To include or exclude a webpage into your menu system go to the full range page editor; select or unselect the option 'Add to menu'; when you publish that post it will be included into your menu system.

Custom menu

You can change your preferred menu type from your website control panel. Login to your website control panel; click on the "settings" icon and change the default menu type from the dropdown box. There are five menu option each of which I describe below.

  1. None: No menu will be displayed on your WebPages.
  2. Simple menu
  3. Ajax menu: This menu system is only referred to a large website.
  4. JavaScript menu: This menu system is preferred for medium size website.
  5. Custom menu: If you prefer you can use your custom menu page for WebPages of your website then you have to select this option. To do so create an add-on page 'menu' and put your menu code in it. That menu will appear for your entire website.
To add a custom menu for a particular webpage, say about page name the add-on menu page as 'munu_about'. Now irrespective to your preferred menu setting that menu page will appear only for your about.html page.

Adding menu to your template

Vertical menu usually appears at the left or right sidebar of a webpage. You can add menu in your template file by using the following code within php tag.

Code | Download
//Add menu.
echo fw_db->menu($fw_page_array['pagename']);
RAMUI WEBBLOG
HomeAboutContact SitemapTerms of useXMLForum
© 2010,  http://ramui.com   All rights reserved.
Powered by: ramui webblog® Version 1.0