So the problem is that if i pass Visibile like in the example (Visibile="aaa") everything is fine but when
i pass a value:
"<umbraco:Item field="immagine" runat="server"/>"
all the macro disappear.
Whats wrong? the parameter that i want to pass is also a property of the document type of the master page. Can i read it in the xslt directly or i must pass it as a parameter?
Macro dinamic parameter
Hi all,
i reallt need help :)
i've a macro GoalInfo with this xslt
and a masterpage:
<umbraco:Macro Visibile= "aaa" Alias="GoalInfo" runat="server"></umbraco:Macro>
all the macro disappear.
Whats wrong? the parameter that i want to pass is also a property of the document type of the master page. Can i read it in the xslt directly or i must pass it as a parameter?
please please help
nico
<umbraco:Macro Visibile= "[#immagine]" Alias="GoalInfo" runat="server"></umbraco:Macro>
as per this reference. (Above snippet will get the value of the page you're browsing, for recursive params, see the refs
Cheers,
/Dirk
thank you!
now all works fine but 1 problem remain :(
if i pass text / bool / number all is ok but when i try passing an html string, something like
<p>VERDVERDVERDVERDVERDVERDE</p>
in the html page i see the html code not the html parsed. how can i resolve this?
really thank you for all
nico
in xslt, you can use
so it renders correctly
Cheers,
/Dirk
is working on a reply...