I'm trying to pull a list of 5 articles together grouped by an umbraco document tag 'mytaghere' and present them on the homepage. I'm using Umbraco 4.5.2 with the new schema on .Net 3.5.
Here is my xslt:
<xsl:for-each select="$currentPage/descendant::TextPage [@isDoc and contains(data[@alias='tags'],'mytaghere')] ">
List articles by tag on homepage
I'm trying to pull a list of 5 articles together grouped by an umbraco document tag 'mytaghere' and present them on the homepage. I'm using Umbraco 4.5.2 with the new schema on .Net 3.5.
Here is my xslt:
At the mo the list is simply empty. Any ideas where I'm going wrong? Do I need to register the tags library in the xslt config ?
Hey Eddy,
It looks like you are using a mix of schemes, i'd probably try changing
to just
(assuming your property alias is tags all in lowercase)
Give that a try and see how you get on.
Matt
...and I was so close! Now I can enjoy my weekend.
Thanks Matt.
is working on a reply...