Loading...
 
Skip to main content

History: Split_Level_Menu

Source of version: 46

Copy to clipboard
            Will have
# one top level horizontal menu
# second & third level menus will be on the left, and contextual to what menu item is chosen at the top

!!Creating the menu
{CODE(caption=>YAML)}
objects:
 -
  type: menu
  ref: split_level_menu
  data:
   name: My Menu
   description: A menu containing the base navigation of the site
   collapse: none
   position: left
   order: 1
   groups: [ Anonymous ]
   items:
    -
     name: Home
     url: ((HomePage))
     groups: [ Anonymous ]
    -
     name: Private Area
     url: ((PrivateArea))
     groups: [ Registered ]
     items:
      -
       name: Forum
       url: tiki-forums.php
    -
     name: Account Moderation
     url: tiki-adminusers.php
     permissions: [ admin_users ]
    -
     name: Administration
     url: tiki-admin.php
     permissions: [ admin ]
     items:
      -
       name: Forum admin
       url: tiki-admin_forums.php
{CODE}


!!Add horizontal menu to top bar
{CODE(caption=>YAML)}
preferences:
 feature_phplayers: y
 feature_cssmenus: y
 feature_top_bar: y
 feature_sitemenu: y
 feature_topbar_id_menu: $profileobject:split_level_menu$
{CODE}


See:
http://doc.tikiwiki.org/Menus

        

History

Information Version
Tue 14 of Sep, 2010 02:20 UTC Marc Laporte cleaner 53
Sat 18 of Apr, 2009 08:55 UTC Marc Laporte 52
Sat 18 of Apr, 2009 08:07 UTC Marc Laporte 51
Tue 14 of Apr, 2009 16:45 UTC Marc Laporte 50
Mon 02 of Mar, 2009 22:11 UTC System Administrator trying something 49
Mon 02 of Mar, 2009 22:04 UTC System Administrator 48
Mon 02 of Mar, 2009 22:00 UTC System Administrator 47
Mon 02 of Mar, 2009 21:12 UTC System Administrator 46
Mon 02 of Mar, 2009 21:09 UTC System Administrator 45
Mon 02 of Mar, 2009 20:35 UTC System Administrator 44
Mon 02 of Mar, 2009 20:34 UTC System Administrator 43
Mon 02 of Mar, 2009 20:17 UTC System Administrator 42
Mon 02 of Mar, 2009 20:15 UTC System Administrator 41
Mon 02 of Mar, 2009 20:14 UTC System Administrator 40
Mon 02 of Mar, 2009 20:10 UTC System Administrator 39
Mon 02 of Mar, 2009 20:02 UTC System Administrator 38
Mon 02 of Mar, 2009 19:56 UTC System Administrator 37
Mon 02 of Mar, 2009 19:54 UTC slordjette Plugin modified by editor. 36
Mon 02 of Mar, 2009 19:47 UTC System Administrator 35
Mon 02 of Mar, 2009 19:32 UTC System Administrator 34
Mon 02 of Mar, 2009 19:04 UTC Marc Laporte 33
Mon 02 of Mar, 2009 19:01 UTC Marc Laporte back to original example, trying to get levels 32
Mon 02 of Mar, 2009 18:54 UTC Marc Laporte 31
Mon 02 of Mar, 2009 18:27 UTC Marc Laporte 30
Mon 02 of Mar, 2009 17:46 UTC Marc Laporte 29
Collapse/expand modules below