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][1]
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.
also here:
No route in the route table matches the supplied values.
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.
Hi abbe
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)
regards
Marc
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][1]
Hello,
Is Your page "webpage.cshtml" inherited from "Umbraco.Web.Mvc.UmbracoViewPage"
@inherits Umbraco.Web.Mvc.UmbracoViewPage
Thanks for the reply. It @inherits Umbraco.Web.Mvc.UmbracoViewPage. Still the same issue.
Hello,
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. also here:
This is what I get after doing all I did:
is working on a reply...