I have a page called hall of fame with a node id of 1185
This page allows images to be added as sub pages like this
> Hall of Fame >>> Image 1 >>> Image 2
etc etc
I need to show the umbracoFile thumbnail for all the images under this node but I need to be able to add the macro anywhere on the site. Its basically built like a gallery but without the individual gallery folders.
Can someone please help! This site is going live tomorrow
List sub page thumbnails by a node ID
Hi all,
I'm trying to list sub pages as thumbnails from a node id so that I can put the macro anywhere on the site
Its almost working except its only showing one thumbnail, heres my XSLT
<xsl:for-each select="umbraco.library:GetXmlNodeById(1185)">
<li>
<xsl:if test="count(./* [@isDoc]) > 0">
<img src="{concat(substring-before(./*/umbracoFile,'.'), '_thumb.jpg')}" style="border: none;"/>
</xsl:if>
</li>
</xsl:for-each>
any ideas please?
Ok, its definitely not working.
I have a page called hall of fame with a node id of 1185
This page allows images to be added as sub pages like this
> Hall of Fame
>>> Image 1
>>> Image 2
etc etc
I need to show the umbracoFile thumbnail for all the images under this node but I need to be able to add the macro anywhere on the site. Its basically built like a gallery but without the individual gallery folders.
Can someone please help! This site is going live tomorrow
Thanks
if you use GetXmlNodebyId it gives only that node,
sometimes you can use $currentPage/ancestor-or-self::*
please see the functions available in umbraco.library here http://our.umbraco.org/wiki/reference/umbracolibrary
is working on a reply...