News&eventsList in CWS isn't working

Dec 7, 2011 at 9:43 AM


I stumble upon the following error message when trying to complete the CWS-series on Umbraco video tutorials:

Cannot find ContentPlaceHolder 'SideBarContent' in the master page '/umbraco/masterpages/default.master', verify content control's ContentPlaceHolderID attribute in the content page.

This ContentPlaceHolder which is referenced int the error-message is situated in the Masterpage named master in my created templates for the CWS-site. I do not understand why Umbraco are searching in the Umbraco masterpage default.master? I have had a look at the mentioned file (default.master) but it is almost empty and I can't remember it was ever mentioned in the videos. What should I do?

Best, Daniel

Dec 7, 2011 at 10:22 AM

HI Daniel,
Sorry to hear you are having problems.

What pages in your site are you having this problem, this way we can figure out what template is causing the issue. But the problem is to do with that the master page it inherits from, you need to ensure it inherits from our master in the dropdown, which updates the first line of code in the masterpage template, which references the masterpage file to inherit from, which is currently incorrect.

Just on a side note I would recommend you use the Umbraco community website & forums to post this question -

As I have a specific forum for the CWS project on the Umbraco site, I had this discussion thread in this codeplex project page before Umbraco had a forum for me to use. 

Anyway let me know what page/template you thinking is causing the problem and I will help you get this resolved.

Warren :) 

Dec 7, 2011 at 10:33 AM

I found the problem. The names of the masterpage was different in the associated videofiles and the one created during the videos. When setting all templates to the masterpage Master which already was created everything poped up:)

Best, Daniel 

Dec 7, 2011 at 10:35 AM

Ty for a quick reply!

I will use the for any further posts.

Best, Daniel