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
How would you guys do this:
<a href='<%=umbraco.library.NiceUrl(<umbraco:Item field="introboxButtonLink" runat="server"></umbraco:Item>)%>'>
<umbraco:Item runat="server" field="mediaItem" xslt="concat('<img src="',umbraco.library:GetMedia({0}, true())/umbracoFile, '" />')" xsltDisableEscaping="true" />
This is for a media item - how do I go about it to just show a field from the page? :)
Hi Daniel
Maybe you should have a look at this WIKI entry? http://our.umbraco.org/wiki/how-tos/xslt-useful-tips-and-snippets/using-inline-xslt-and-umbraco-library-to-manipulate-strings-from-umbraco-items
/Jan
This might work Daniel:
<umbraco:Item runat="server" field="introboxButtonLink" xslt="concat('<a href="',umbraco.library:NiceUrl({0}), '" >LINKTEXT</a>')" xsltDisableEscaping="true" />
/Kim A
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
Using inline code and fields
How would you guys do this:
This is for a media item - how do I go about it to just show a field from the page? :)
Hi Daniel
Maybe you should have a look at this WIKI entry? http://our.umbraco.org/wiki/how-tos/xslt-useful-tips-and-snippets/using-inline-xslt-and-umbraco-library-to-manipulate-strings-from-umbraco-items
/Jan
This might work Daniel:
/Kim A
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.