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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...