I have to make a few changes to an old Umbraco site
(Umbraco v6.1.5 (Assembly version: 1.0.4993.19246))
and I'm having a hard time :(
The footer section of the site is not editable, so my task is to utilize the CMS to make the footer editable. But how do I go about doing this? I can't have a doctype for the master template because the content will always be related to the current page... Compositions are not an option because it's not supported in v6... So I don't know what to do.
On my Umbraco v8 website I did this in the master template.
var rootModel = Model.Root();
<p>@rootModel.Value("value")</p>
and it works 100%.
But I can't seem to do this on the v6 site, I think it's because the site is based on web forms and not MVC.
Any solution/ suggestion would be appreciated, this has been a pain for me...
Doc type for master template
Hi all,
I have to make a few changes to an old Umbraco site (Umbraco v6.1.5 (Assembly version: 1.0.4993.19246)) and I'm having a hard time :(
The footer section of the site is not editable, so my task is to utilize the CMS to make the footer editable. But how do I go about doing this? I can't have a doctype for the master template because the content will always be related to the current page... Compositions are not an option because it's not supported in v6... So I don't know what to do.
On my Umbraco v8 website I did this in the master template.
and it works 100%. But I can't seem to do this on the v6 site, I think it's because the site is based on web forms and not MVC.
Any solution/ suggestion would be appreciated, this has been a pain for me...
Thanks - Kyle
Hi kyle,
You can try with the below code.
Just tried it... The website breaks and gives a parse error when adding the '@'
is working on a reply...