← Back to team overview

phpdevshell team mailing list archive

[Bug 894315] [NEW] Adding custom parameters field to menu's

 

Public bug reported:

A great feature would be to allow users/developers to add custom
data/parameters to each menu item. Custom parameters could greatly
extend the flexibility of menu's since a template designer can use these
extra parameters to make decisions on how to render menu's. These custom
parameters should simply be a string so that the developer/user can
decide how it should function and how to use it.

I therefore recommend the following:
1) We add a field to the pds_core_menu_items table  called "parameters". This field should be of type varchar(1024) or of type text since one might want to add quite a number of parameters with long text. 
2) The input should be a textarea type input so that one can add various parameters with linebreaks in between.
3) One should be able to add custom parameters through the plugin's plugin.config.xml file.
4) The parameter field should be loaded in the navigation array.
5) The parameter field should be cached together with the rest of the menu navigation data.

** Affects: phpdevshell
     Importance: Medium
     Assignee: TitanKing (titan-phpdevshell)
         Status: Confirmed


** Tags: custom menu parameters

-- 
You received this bug notification because you are a member of
PHPDevShell, which is subscribed to PHPDevShell.
https://bugs.launchpad.net/bugs/894315

Title:
  Adding custom parameters field to menu's

Status in Open Source PHP RAD Framework with UI.:
  Confirmed

Bug description:
  A great feature would be to allow users/developers to add custom
  data/parameters to each menu item. Custom parameters could greatly
  extend the flexibility of menu's since a template designer can use
  these extra parameters to make decisions on how to render menu's.
  These custom parameters should simply be a string so that the
  developer/user can decide how it should function and how to use it.

  I therefore recommend the following:
  1) We add a field to the pds_core_menu_items table  called "parameters". This field should be of type varchar(1024) or of type text since one might want to add quite a number of parameters with long text. 
  2) The input should be a textarea type input so that one can add various parameters with linebreaks in between.
  3) One should be able to add custom parameters through the plugin's plugin.config.xml file.
  4) The parameter field should be loaded in the navigation array.
  5) The parameter field should be cached together with the rest of the menu navigation data.

To manage notifications about this bug go to:
https://bugs.launchpad.net/phpdevshell/+bug/894315/+subscriptions


Follow ups

References