Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Profiterole 232 posts 264 karma points
    Feb 24, 2010 @ 19:05
    Profiterole
    0

    Xslt macro and RunwayfeedViewer

    Hi, I have a problem with an Xslt macro. First, I'm a completely newbie with Umbraco/Xslt! My site works well, but I wanted a column left to the main text that show the feedViewer everytime. So, I created a new placeholder (feed) in Runway Homepage and Runway Textpage. It display text correctly but not my xslt macro.

    So, short story I would like to call an xslt macro that call a document with node id=1070. In this document, I put the RunwayfeedViewer macro. My problem is that it doesn't display anything.

    My xslt macro looks like :

    <xsl:variable name="feed" select="$currentPage/ancestor-or-self::node[@level=1]/descendant-or-self::node[@id='1070']"/>

    <xsl:value-of select="$feed/data[@alias='bodyText']" disable-output-escaping="yes"/>

    Thanks for your help.

  • Profiterole 232 posts 264 karma points
    Feb 24, 2010 @ 19:08
    Profiterole
    0

    Sorry, I figured it out by myself! I just have to call the feedViewer macro directly in the Runway Homepage...

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies