HowTo Reference Umbraco Page Properties From Embedded Master Page Script
At the master page level I would like to control whether or not my bread crumb displays... (actually I really want to know how I can access any and all default page properties from master page code).
So from within my master page I want to do is something like this:
HowTo Reference Umbraco Page Properties From Embedded Master Page Script
At the master page level I would like to control whether or not my bread crumb displays... (actually I really want to know how I can access any and all default page properties from master page code).
So from within my master page I want to do is something like this:
<div id='crumbs'> <umbraco:Macro Alias="SubPageBreadCrumb" runat="server"></umbraco:Macro> </div>
Does anyone know how to reference these values. I spent some time looking at the API documentation but was not quite sure which direction to jump in.
Hi I would suggest that you do this in your SubPageBreadCrumb XSLT.
In you Macro you'll include the following if statement
I would always try to avoid inline asp.net code in my masterpage.
Hope this helps you,
Richard
Richard, thanks for your help... I modified my macro XSL something similar to what you've suggested here and it does what I need.
Great, glad I could help. Could you be so kind and mark the answer as solution?
Thanks
is working on a reply...