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
Happy Sunday Umbraco family. I am following Paul Seal tutorial: How to build a site with Umbraco - Part 2 - Setting up the master template.
I keep getting this error. Could someone help me please.
Does your SiteLayoutController inherit from SurfaceController?
and has your solution been rebuilt since you created it?
(also this series of videos are for V7, so you might find issues later on if you are using V8 - he's just started doing a new series for V8 at the moment)
yes it inherit from surface controller. I'd also rebuild the solution. Also instead of cshtml when I partial view the header, I get vbhtml. ![enter image description here]
Is Your page "webpage.cshtml" inherited from "Umbraco.Web.Mvc.UmbracoViewPage"
Thanks for the reply. It @inherits Umbraco.Web.Mvc.UmbracoViewPage. Still the same issue.
You need to put the header in "SharedLayout" folder, it seems to be put in "Sitelayout" folder where it will not be accessible everywhere
Thank for the response and excuse my question if it sounds retarded, I'm am new to umbraco. Do I add a sharedlayout folder or I just add header to the shared folder like I did?
Also am I referencing it correctly? Please to let me know if you see anything needing correction and share such code with me. Thanks! Much appreciated.
This is what I get after doing all I did:
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted