• Jump to Content
| language
Email this page

CMS Feature - PhplayerMenu


Print Send a link

Share

PhpLayerMenu is a powerful open source hierarchical menu system developed by Marco Pratesi. It prepares "on the fly" DHTML menus relying on the PHP scripting engine for the processing of data items.

It provides horizontal and vertical layers-based menus whose behavior is analogous to menus of commonly used GUI-based applications. It also provides JavaScript-based tree menus, whose look is analogous to the most widely used file managers and bookmark handling tools.

Here is the diagram to explain how to create a Horizontal/Vertical/Tree phpLayermenu at the Menu, and include the phplayermenu into Left or Right Module, or template file tpl. You can have multiple menus at one web page.



 
Creating PhpLayerMenu at Left/Right Module

1. Create Menu

Go to Admin > Menu. Create a menu and then add menu option as shown below.



2. Create User Module

Go to Admin > Module. In our CMS, it has many built-in modules available to be used, for example Search Module, Login Module etc. For this newly added menu, you need to create a new User Module. Create a new user module as shown below. You can choose the menu in the phplayersmenus combobox, and then click Use phplayermenu hyperlink to help you compose the smarty code for the phplayermenu, i.e. {phplayers id=44 type=vert}  where 44 is the menuid created in step 1.


3. Assign User Module to Left or Right Module

Once the User Module is created, you can assign the User Module to the left or right module as shown. You can control which user Groups can view this module.


Here is the  Vertical type phplayermenu at the left module.





Creating PhpLayerMenu at Template File Tpl


1. Add phplayer smarty to template file tpl

To add Vertical,Tree or Horizontal menu into any of your template file, use your favourite text editor to edit the template file tpl. Add the smarty code as follows to create phplayermenu.

For Vertical phplayermenu, use {phplayers id=44 type=vert}

For Tree phplayermenu, use {phplayers id=44 type=tree}

For Horizontal phplayermenu, use {phplayers id=44 type=horiz} 

Here is one of the Horizontal phplayermenu screenshot:



Sidebar

Company Menu

|--> Our Team
|--> Our Customers
|--> Our Customers say
|--> Our Products
|--> Our Training
`--> Artlantis Student Gallery

Search

in:

Login

Login as…


Error CapsLock is on.
 

Sidebar

Up Coming Courses

|--> AutoCAD 2010 Level I
|--> AutoCAD 2010 Level II
|--> 3ds Max Studio
|--> Artlantis Studio
|--> ArchiCAD Level I
|--> AutoCAD 2007 Rendering
|--> Ms Excel 2007 Level II
|--> Ms Excel 2007 Level I
|--> Web Page Design
|--> AutoCAD Level I
|--> Adobe Illustrator CS4
|--> Adobe Illustrator CS2
`--> View All

Our Product News

|--> LMS - User Manual
|--> CMS - Product Gallery
|--> CMS - Content Template
|--> CMS - Tracker
|--> CMS - Smarty
|--> CMS - Search
|--> CMS - Mail Notification
|--> CMS - Faxletter
|--> CMS - Admin Faxletter
|--> CMS - Fax Notification
|--> CMS - Admin SMSletter
|--> CMS - Captcha 2
|--> CMS - Admin Newsletter
|--> CMS - Google Map
|--> CMS - Captcha
|--> CMS - SMS Notification
|--> CMS - Selectively Send Newsletter
|--> View All
`--> Navigate News

Copyright © 2009 Cempaka Technology S/B. All rights reserved.