Author Topic

Alex Jones

Monday 12 April 2004 6:20:20 am

Comment40335

I'm not quite sure I understand what you are tryign to do... Is your goal to get the data stored in an object's attributes, add those to a URL which is sent to a non-Exponential script? If so, you should be able to do that using the <i>concat</i> functionality and the individual attributes of the object. To see all of the available attributes for an object try using <i>{$node|attribute(show)}</i> or <i>{$:item|attribute(show)}</i>. This should list out every bit of adata assigned to that object, including (I believe) language.

An example would be:

concat("http://www.SITE.com/SCRIPT.php?bookname=",$node.data_map.bookname,"&entered=",$node.data_map.entered)

Please note, this code would need tweaking as I did this off the top of my head.

Does this help, or am I walking down the wrong path?

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>