pmJSCookMenuPlugin - 1.0.0

pmJSCookMenuPlugin is a wrapper for JSCookMenu: http://jscook.yuanheng.org/JSCookMenu/index.html

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Information Readme Releases Changelog Contribute
Show source | Show as Markdown

pmJSCookMenuPlugin

pmJSCookMenuPlugin is a wrapper for JSCookMenu: http://jscook.yuanheng.org/JSCookMenu/index.html

Installation

  • Installation from pear

      symfony plugin:install pmJSCookMenuPlugin
    
  • Installation from svn repository

      svn export http://svn.symfony-project.com/plugins/pmJSCookMenuPlugin
    
  • Generate the menu (in yml or array):

      menu1:
        title: Start here
        icon: menu.png #this is found in web/images
        submenu: # a submenu for menu1
          menu1.1:
            title: go to google
            url: http://www.google.com
          menu1.2:
            title: go to yahoo
            description: another search engine
            url: http://www.yahoo.com
            target: blank
      menu2:
        title: some actions
        submenu:
          menu2.1:
            title: Create an object
            credentials: [credentials](some,)
            url: module/actions
          _cmSplit:
          menu2.2:
            title: another menu
            url: module/actions
    
  • Display the menu (in a template):