Diem plugins syndication

dmWidgetNavigationSubMenuPlugin

Gives a list of all sub pages of the current page, to the specified depth.

Gives a list of all sub pages of the current page, to the specified depth.

Most useful in areas that use page:true which you have assigned subpages to as you can add this plugin to one of the pages and it will appear and adjust itself for all the pages seperatly.

Installation

  • In a console, from your project root dir, run:
git clone git://github.com/etherkye/dmWidgetNavigationSubMenuPlugin.git plugins/dmWidgetNavigationSubMenuPlugin  
  • In config/ProjectConfiguration.class.php, add dmWidgetNavigationSubMenuPlugin to the list of enabled plugins:
class ProjectConfiguration extends dmProjectConfiguration
{  
  public function setup()  
  {  
    parent::setup();  
 
    $this->enablePlugins(array(  
      // your enabled plugins  
      'dmWidgetNavigationSubMenuPlugin'  
    ));  
  • In a console, from your project root dir, run:
php symfony dm:setup  

Install, find under navigation in the menu, set depth to a number for that many levels deep.

Minor bug if the page is made with page:true, you need to set the depth to be one level higher then you want.

    Add a comment

    Create an issue
    Impossible to fetch issues for this plugin.
    Impossible to get this plugin changelog.
    See more commits

    dmWidgetNavigationSubMenuPlugin, created on December 20, 2010 by etherkye, used by 76 projects

    Fork Diem on GitHub