View Issue Details

IDProjectCategoryView StatusLast Update
0021822mantisbtcustomizationpublic2016-10-23 17:15
Reportercproensa Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Product Version2.0.0-beta.3 
Summary0021822: expand menu links format for plugin events
Description

This is the new format for plugins to provide links for adding menu links in several places.

array(
'title' => 'My Link',
'access_level' => DEVELOPER,
'url' => 'my_link.php',
'icon' => 'fa-random'
)

I ask to add a "class" property that will be added to the generated A tag classes
This serves to customization and proper location of the element by jqery workflows.
I'd suggest also to allow adding "data-xxx" entriess to be added to the link, to allow for more advanced scripting customimzation.

TagsNo tags attached.

Relationships

related to 0021559 new EVENT_MENU_ISSUE menu items use inconsistent format 

Activities

vboctor

vboctor

2016-10-23 12:35

manager   ~0054327

We can support any key with prefix "attr-" to be translated into an attribute on the generated control. For example: "attr-class" => "xyz" becomes class="xyz" on the control generated. Same for data or other attributes.

cproensa

cproensa

2016-10-23 12:46

developer   ~0054328

We can support any key with prefix "attr-" to be translated into an attribute

That is a nice approach +1

Issue History

Date Modified Username Field Change
2016-10-23 06:34 cproensa New Issue
2016-10-23 12:35 vboctor Note Added: 0054327
2016-10-23 12:46 cproensa Note Added: 0054328
2016-10-23 17:15 cproensa Relationship added related to 0021559