Loading...
 
Skip to main content

History: Very_Long_Menu

Source of version: 4 (current)

Copy to clipboard
            !!Creating the menu
{CODE(caption=>YAML)}
objects:
 -
  type: menu
  ref: very_long_menu
  data:
   name: My Menu
   description: A menu containing the base navigation of the site
   collapse: none
   groups: [ Anonymous ]
   items:
    -
     name: Home
     url: ((HomePage))
     groups: [ Anonymous ]
    -
     name: Private Area
     url: ((PrivateArea))
     groups: [ Registered ]
     items:
      -
       name: Forum
       url: tiki-forums.php
      -
       name: Preferences
       url: tiki-user_preferences.php
      -
       name: Forum
       url: tiki-forums.php
    -
     name: There should be nothing here
     url: ((Nada))
    -
     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
    -
     name: Contact
     url: tiki-contact.php  
    -
     name: Admin menu
     url: tiki-admin_menu_options.php?menuId=$very_long_menu
     permissions: [ edit_menu_option ]
{CODE}