I have a Component template called "BC video" but if I call that in Component layout the Page publishing fails.
If I check in Template Builder the error is No Component Template was found with the name BC video. What may be the reason?
This is how I have called the template.
<!-- TemplateBeginIf cond="dfdVideoComponent" -->
@@RenderComponentPresentation(dfdVideoComponent.ID,'${GetCTByName("BC Video")}' )@@
<!-- TemplateEndIf -->
dfdVideoComponent
? Also what does the custom functionGetCTByName
exactly do? Looks like it has a problem finding the template. I would also not suggest to hardcode these things in a template, it would be better to link the template through a parameter value, using a TCM URI or WebDAV path, since a name is easily changed.BC video
and the function (that you need to include the source for) tried to getBC Video
- is case sensitivity at play here perhaps?