Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have a page with the current websites footer navigation. I need to show both navigation footers on one page.
can I hardcode the top level of where this other umbraco domain in my current code then add both macros in master.
here is the code. thank you
@inherits umbraco.MacroEngines.
DynamicNodeContext
@helper traverse(
node)
{
maxLevelForSitemap = 3;
>();
values.Add(
, maxLevelForSitemap);
);
="footerNav">
@
items)
;
>
).Count() > 0)
children)
grandChildren)
}
@*
*@
@traverse(@Model.AncestorOrSelf())
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How can I show 2 footer navigations on one page from 2 different domains
I have a page with the current websites footer navigation. I need to show both navigation footers on one page.
can I hardcode the top level of where this other umbraco domain in my current code then add both macros in master.
here is the code. thank you
@inherits umbraco.MacroEngines.
DynamicNodeContext
@helper traverse(
node)
{
maxLevelForSitemap = 3;
>();
values.Add(
, maxLevelForSitemap);
);
="footerNav">
@
items)
{
;
>
@
).Count() > 0)
{
);
>
@
children)
{
;
>
@
).Count() > 0)
{
);
>
@
grandChildren)
{
);
>
}
>
}
>
}
>
}
@*
*@
>
}
>
}
@traverse(@Model.AncestorOrSelf())
is working on a reply...