I have the following bit of XSLT to display my blog posts on the home page..
<xsl:for-each select="$currentPage/umbBlog/umbBlogPost [@isDoc and string(umbracoNaviHide) != '1']">
However the blog post is structured like the image below and the above code will only work if the blog post is in the root of the Blog folder. Anything in the date folders is being ignored...Is there a way to display any Blog post no matter how deep?
Display node by alias no matter how deep.
I have the following bit of XSLT to display my blog posts on the home page..
However the blog post is structured like the image below and the above code will only work if the blog post is in the root of the Blog folder. Anything in the date folders is being ignored...Is there a way to display any Blog post no matter how deep?
Hi Stephen,
Yes there is - and it's only an extra character :-)
Look for the double-slash, which is a shorthand for the descendant:: axis:
/Chriztian
Hey Chriztian,
Sorry for the late reply...thanks for helping out thats me sorted!
Cheers,
S
is working on a reply...