The "RenderBody" method has not been called for layout page "~/Views/Shared/Templated.cshtml".

May 11, 2011 at 9:00 AM


After setting this to true...

<

 

 

template useTemplates="true" path

="/content/templates/">

Coordinator
May 11, 2011 at 11:21 AM

Hi Daniel,

This is caused because you set useTemplate to true before to have an active template (you have to upload a template and then set as it as "current"). 

Is not your fault, the system does not prevent you from doing so... it should display a message alerting that...

Templating is a feature that wasn't been updated since the first release... and a mayor feature enhancement is coming up http://nearforums.codeplex.com/workitem/19804

 

For now, I would advice you not to use templating and simply edit the Site.cshtml layout view located in the folder /Views/Shared to modify the appearance.

 

Kind Regards,

Jorge

May 11, 2011 at 11:35 AM

I actually worked around it by just overiding the templated.cshtml file with the content from the template.cshtml file (current template), then it didn't give me an error and I could update the template.

Great tool btw, good work!

Coordinator
May 11, 2011 at 11:38 AM

Just to remind you that we are open for new members in the project team ;) 

http://nearforums.codeplex.com/team/view

 

(Join Us!)