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

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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

7x | https://se7enx.com/
Brookins Consulting | https://brookinsconsulting.com/
Certified | http://web.archive.org/web/201012...th.ez.no/certification/verify/380350
Solutions | https://projects.exponential.earth/users/community/brookins-consulting
eZpedia community documentation project | http://ezpedia.se7enx.com