Funny thing... I was just playing with newly installed Umbraco and noticed the same little quirk. Then came across this post.
You (personally) are not missing anything, however there's a typo in BlogListPosts.xslt file. As Dirk mentioned, it is missing a closing ')', but because it's a function in XSLT and not just text, it also needs to be inside curly brackets. Look for <xsl:template name="showpost"> in BlogListPost.xslt and under it for <div class="entry-date">. Change the next line to be: <abbr class="published" title="{umbraco.library:ShortDate($post/@updateDate)}">.
This should make it work as designed.... although the design might be a little questionable as "abbreviated text" ends up being longer than "full" text.
Ha, thanks. I have indeed forgotten (or didn't noticed) that you also need the curly braces so xslt can understand this as a function rather than text.
Question on a title tag with the Umbraco Blog Package?
For the above code, when the mouse moves over the linked dates, the code is rendered and not the actual date....
Any ideas how to change this?
Thanks!
Probably because you're missing the closing ')'.
Cheers,
/Dirk
Funny thing... I was just playing with newly installed Umbraco and noticed the same little quirk. Then came across this post.
You (personally) are not missing anything, however there's a typo in BlogListPosts.xslt file. As Dirk mentioned, it is missing a closing ')', but because it's a function in XSLT and not just text, it also needs to be inside curly brackets. Look for <xsl:template name="showpost"> in BlogListPost.xslt and under it for <div class="entry-date">. Change the next line to be: <abbr class="published" title="{umbraco.library:ShortDate($post/@updateDate)}">.
This should make it work as designed.... although the design might be a little questionable as "abbreviated text" ends up being longer than "full" text.
Ha, thanks. I have indeed forgotten (or didn't noticed) that you also need the curly braces so xslt can understand this as a function rather than text.
Cheers,
/Dirk
Great! Thanks for the amazing reply and I had the added bonus of editing my first ever XLST file thanks to your helpful advice!
Worked great.
Best, Lister
is working on a reply...