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
Hi :-)
I've got a footerText in my frontpage-doctype that I want to be shown in my master-template(all pages of current language).
I've found the root ... I think:
var root = CurrentPage.AncestorOrSelf(1);
But how do I get the content of footerText? Something like:
@root.footerText
THX
Hi Jon.
You can do @CurrentPage.Site().footerText in your master template.
Brilliant! Nice and simple!
THX / Takker :-)
Awesome! Thank you Jon. Glad i could help! :)
Best of luck to you with the rest of your Umbraco site!
Have a great day! Take care!
is working on a reply...
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.
Continue discussion
footerText from root node (NEWBIE)
Hi :-)
I've got a footerText in my frontpage-doctype that I want to be shown in my master-template(all pages of current language).
I've found the root ... I think:
But how do I get the content of footerText? Something like:
THX
Hi Jon.
You can do @CurrentPage.Site().footerText in your master template.
Brilliant! Nice and simple!
THX / Takker :-)
Awesome! Thank you Jon. Glad i could help! :)
Best of luck to you with the rest of your Umbraco site!
Have a great day! Take care!
is working on a reply...
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.