Adding custom parameters field to menu's
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
PHPDevShell |
Fix Released
|
Medium
|
TitanKing |
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.
Changed in phpdevshell: | |
status: | Opinion → Confirmed |
assignee: | nobody → TitanKing (titan-phpdevshell) |
Changed in phpdevshell: | |
status: | Fix Committed → Fix Released |
Feature implemented for next release.