Copied to clipboard

Flag this post as spam?

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


  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Aug 25, 2010 @ 11:41
    Ismail Mayat
    0

    Advanced macro syntax not working in 4.5

    I have an xslt macro its has parameter called sourcePage which is of type content picker.  I have put the macro on a template and am doing the following:

    <umbraco:Macro sourcePage="[#middleBox2]"  Alias="RenderGlobalContentBlock" runat="server"></umbraco:Macro>

    where middlebox2 is a property of type content picker it seems as though the property is not being passed through if i hardcode a value for sourcePage it works.

    Any ideas?

  • Ismail Mayat 4511 posts 10091 karma points MVP 2x admin c-trib
    Aug 25, 2010 @ 12:49
    Ismail Mayat
    0

    Just to update on this i updated the macro to take numbers as the content picker is on doc type now it seems to work!!

Please Sign in or register to post replies

Write your reply to:

Draft