History: Module menupage
Source of version: 14 (current)
Copy to clipboard
! Module "menupage" This ((Module|module)) will display the content of any wiki page as a ((menu)) in the left or right column or in any other place that a module can be located. * This type of menu is used as the upper left menu in [http://dev.tiki.org|dev.tiki.org] for example. You can also use this module in the center (main) column. *See [https://themes.tiki.org/Happy+Scroll|Happy Scroll theme] for details. !! Parameters {pluginmanager module="menupage"} !! Usage On the page ''Admin > Modules'' (tiki-admin_modules.php) *Assign a new module *Choose the module "menupage" from the drop-down list. The module will have the same title as the wiki page. You can assign this "__menupage__" to any module zone (See ((Module Admin)) page if needed, or you can include it within a wiki page, using the ((PluginModule)). !! Example Imagine you have a page called ))SideMenu((, with this content: {CODE()} (:arrow:) [tiki-index.php|Home Page] (:arrow:) [tiki-lastchanges.php|Last changes] (:arrow:) [tiki-view_forum.php?forumId=1|Forum Wiki-translation] ''[tiki-editpage.php?page=SideMenu|edit]'' {CODE} The wiki page itself looks like this: {CENTER()}{img src="img/wiki_up/module_menupage_01.jpg" }{CENTER} Then, the module __menupage__, like all modules, can be assigned to a group of users. The assigned module looks like this: {CENTER()}^{img src="img/wiki_up/module_menupage_02.jpg" }^{CENTER} You can see this example live in http://www.wiki-translation.com For more advanced menus, see "((Menu))" feature. {include page="Module and Plugin Includes" start="startinclude1" stop="stopinclude1"} * ((Menu))