Hi. I am starting the footer section on my website. There is a text and social icons. When I use @ Umbraco.Field ("") the text will appear on the front page but not the rest of the pages. It is even though it is on my master page. I have tried to make only a doctype without template and I have tried to do a doctype with template. I have also tried to make a partial view. No matter what I do, the footer text only appears on the front page.
When using @Umbraco.Field the template will look for the values on the current page it is rendering - so the values will be blank if they are only on the homepage.
you can get the page to recurse up the content tree (so look at parent pages for the values) by passing the recursive property. (see docs here)
e.g
@Umbraco.Field("footerText", recursive: true)
that should make the values appear on all the pages.
footer text just won't show up. What can I do
Hi. I am starting the footer section on my website. There is a text and social icons. When I use @ Umbraco.Field ("") the text will appear on the front page but not the rest of the pages. It is even though it is on my master page. I have tried to make only a doctype without template and I have tried to do a doctype with template. I have also tried to make a partial view. No matter what I do, the footer text only appears on the front page.
what to do :D
Here is my masterpage
Hi,
When using @Umbraco.Field the template will look for the values on the current page it is rendering - so the values will be blank if they are only on the homepage.
you can get the page to recurse up the content tree (so look at parent pages for the values) by passing the recursive property. (see docs here)
e.g
that should make the values appear on all the pages.
thanks for the help :D it works fine now :D
is working on a reply...