Yep you can access it by finding out the datatype's id - by hovering over the datatype in the tree and checking the url displayed in the status bar at the footer of the browser.
It should read something like
javascript:openDataType(1023)
Then take that id and you can use it as follows in an xslt macro
List values from custom data type in macro
Hi
I have created some categories in a custom data type, see image below
Is it possible to list theese values (programmatically) through a macro or in a template somehow?
Thanks
Yep you can access it by finding out the datatype's id - by hovering over the datatype in the tree and checking the url displayed in the status bar at the footer of the browser.
It should read something like
Then take that id and you can use it as follows in an xslt macro
The xml you transform will be something like this
<preValues>
<preValue id="10">PHP</preValue>
<preValue id="11">Joomla</preValue>
<preValue id="12">SQL Syntax</preValue>
</preValues>
Brilliant, thank you very much!
is working on a reply...