Forums / Developer / How to add a custom parameter to links in OE whose value is choosed from a list

How to add a custom parameter to links in OE whose value is choosed from a list

Author Message

marc marc

Wednesday 27 October 2010 2:41:21 am

hello community,

i really have a problem trying to add a new parameter to links in the Online Editor.

Adding a new parameter works fine, i just added it in content.ini.append.php like this:

[link]
CustomAttributes[]=my_parameter

but the value of 'my_parameter' should be choosed from a list like for example the 'href' parameter which value can be 'eznode','ezobject','http','mail',etc.

how can i add these values to my new parameter?

i'm looking for it for 2 days and tried many solutions, nothing worked, thanks in advance for any hints.

Heath

Wednesday 27 October 2010 6:42:48 am

Hello marc,

You could try creating a template override for this template, extension/ezoe/design/standard/templates/ezoe/customattributes/link.tpl

But that's untested I'm not sure if that will really work for you

Cheers,

Heath

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org