I have a master template which has a footerText property.
I wanted this property to be editable by users, but I don`t expect it to change much.
My problem is that now in every page that uses this template, I need to set this value individualy. I was wondering if there is any way to set a default value to this field in the template level, and if I need in a certien page to change this text, I`ll set it for that page only.
How do you insert the footerText? By using umbraco:item? If so then you need to check the "recursive" property when you insert the field in the template.
You can also edit it manually by adding recursive="true" so it ends up looking like this
Master template default value inheritance
Hi,
I have a master template which has a footerText property.
I wanted this property to be editable by users, but I don`t expect it to change much.
My problem is that now in every page that uses this template, I need to set this value individualy. I was wondering if there is any way to set a default value to this field in the template level, and if I need in a certien page to change this text, I`ll set it for that page only.
Thank you!
-Elad
Hi Elad
How do you insert the footerText? By using umbraco:item? If so then you need to check the "recursive" property when you insert the field in the template.
You can also edit it manually by adding recursive="true" so it ends up looking like this
<umbraco:Item field="footerText" recursive="true" runat="server"></umbraco:Item>
This should do the trick for you if your templates have been setup properly.
/Jan
Yep. Just what I was looking for.
Thank you!
it saved my time as well
is working on a reply...