Use inline xslt and the umbraco.library (or exslt) extension. Double-check performance with the ?umbDebugshowTrace=true querystring, but I've not seen a performance issue with simple inline xslt. For more complex xslt I make a macro, and they don't have performance issues.
OK maybe i misheard then and more powerful inline XSLT is a performance hog. Looks like I may do it as inline XSLT to begin with unless anyone else has any suggestions?
Outputting custom date/time with umbraco:item field?
Hello all,
Is it possible to ouput a custom formatDateTime with the umbraco:item field.
Currently I have a field that stores a date for an event called startDate and I would like to display it out as
10.08.09 15:30
But using the attribute formatAsDateWithTime and formatAsDateWithTimeSeperator outputs it as 10th August 2009 15:30
So is there a solution to this?
Inline XSLT - Heard this can be resource intensive at times :S
CodeBehind on masterpage?
XSLT?
Or other ...?
What do you recommend?
Thanks,
Warren
Use inline xslt and the umbraco.library (or exslt) extension. Double-check performance with the ?umbDebugshowTrace=true querystring, but I've not seen a performance issue with simple inline xslt. For more complex xslt I make a macro, and they don't have performance issues.
cheers,
doug.
OK maybe i misheard then and more powerful inline XSLT is a performance hog. Looks like I may do it as inline XSLT to begin with unless anyone else has any suggestions?
Thanks,
Warren :)
Try this:
Cheers,
Peter
Oh and change createDate to startDate ;)
Thanks Peter, I was just about to put my solution up, which is the same apart from the field which sould be startDate :)
is working on a reply...