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

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.