Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Wondering why the following doesn't work?
<umbraco:Item runat="server" field="PageTitle" xslt="$currentPage/parent::node/data [@alias='{0}']" />
Where PageTitle is a text string property in the page node. Ok in macro. Maybe inline xslt doesn't like $currentPage?
Mark
To be honest I don't use inline xslt... but try
<umbraco:Item runat="server" field="PageTitle" xslt="$currentPage/ancestor-or-self::node/data [@alias='{0}']" />
or
<umbraco:Item runat="server" field="PageTitle" xslt="//ancestor-or-self::node/data [@alias='{0}']" />
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
umbraco:item inline xslt to get parent property
Wondering why the following doesn't work?
<umbraco:Item runat="server" field="PageTitle" xslt="$currentPage/parent::node/data [@alias='{0}']" />
Where PageTitle is a text string property in the page node. Ok in macro. Maybe inline xslt doesn't like $currentPage?
Mark
To be honest I don't use inline xslt... but try
or
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.