Adding custom parameters field to menu's

Bug #894315 reported by Don Schoeman
6
This bug affects 1 person
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)
Revision history for this message
TitanKing (titan-phpdevshell) wrote :

Feature implemented for next release.

Changed in phpdevshell:
status: Confirmed → Fix Committed
milestone: 3.0.6-stable → 3.1.1-stable
Changed in phpdevshell:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.