I created a doc type without a template, as I didn't really need it. My issue now is when people search the doc type is picked up (which it should) although if you click on the search results it errors as it doesn't have a template to render.
So I created a template and assigned it to the doc type, gave it some html but now I'm getting an error;
line 5 - CS0117: 'umbraco.item' does not contain a definition for 'Umbraco'
Template error
Hello,
I created a doc type without a template, as I didn't really need it. My issue now is when people search the doc type is picked up (which it should) although if you click on the search results it errors as it doesn't have a template to render.
So I created a template and assigned it to the doc type, gave it some html but now I'm getting an error;
line 5 - CS0117: 'umbraco.item' does not contain a definition for 'Umbraco'
Here is my code;
Any help would be great.
to
Resolved it.
is working on a reply...