Walter
unread,Jan 13, 2012, 7:42:57 PM1/13/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to reddot-c...@googlegroups.com
This seems like such a simple thing, but I can't seem to figure it out. To grab the path of the current page, I've used the following dynament successfully:
<rde-dm:attribute source="content" mode="read" attribute="rde-fields.path" />
But how do I grab the same path value if the dynament is included as an external script? For instance:
my-page.html
================
<rde-dm:include content="/xml/my-script.xml" />
... more HTML goes here ...
=================
my-script.xml
============
<rde-dm:attribute source="content" mode="read" attribute="rde-fields.path" />
============
In this case, the dynament returns "/xml/my-script.xml". It seems that rde-fields.path returns whatever the content item is, regardless if it's embedded in another content item. I want it to return the path of my-page.html.
What is the proper way of doing this?
Thanks a bunch,
Walter