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
I want to display a node property item inline using the umbraco library formatdatetime - what is the syntax for this?
I tried thsi and it didnt work..feel that I must be close
<umbraco:Item runat="server" field="mediaItem" xslt="umbraco.library:FormatDateTime({0}, 'ddd d, MMMM yyyy')/@nodeName" />
Replace 'mediaItem' with the name of the date property (or attribute), e.g. createDate.
Remove the '/@nodeName' part.
<umbraco:Item runat="server" field="createDate" xslt="umbraco.library:FormatDateTime({0},'ddd d, MMMM yyyy')"></umbraco:Item>
Best regardsUlrik
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
Inline XSLT to display item
I want to display a node property item inline using the umbraco library formatdatetime - what is the syntax for this?
I tried thsi and it didnt work..feel that I must be close
<umbraco:Item runat="server" field="mediaItem" xslt="umbraco.library:FormatDateTime({0}, 'ddd d, MMMM yyyy')/@nodeName" />
Replace 'mediaItem' with the name of the date property (or attribute), e.g. createDate.
Remove the '/@nodeName' part.
Best regards
Ulrik
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.