Forums / Setup & design / accessing custom attributes in xml tags

"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".

accessing custom attributes in xml tags

Author Message

Sander van den Akker

Friday 25 September 2009 7:46:17 am

I have added a custom attribute 'rel' in link tags. When I dump the data using {$link_parameters|attribute(show) I see the attribute as custom:rel in the object.

I'm having trouble reading the value: {$link_parameters.custom:rel} does not work... this might sound stupid but how do I fetch it?

Thanks in advance!

eZ Publish certified developer
http://auth.ez.no/certification/verify/392313

Jon Staines

Wednesday 02 December 2009 4:50:31 am

Try {$link_parameters['custom:rel']} that worked for me for a similar problem.