Hi crusy,

[quote]ERROR fo.magnolia.pages.app.action.CreateComponentAction: Exception 
caught: No template definition registered for id: 
templating:templates/components/largeTeaser[/quote]

The error suggests that the system cannot find your component definition at the 
given location or the component definition is not correct.

Things to check:
* The path in your component ID is longer than the tutorial examples. Is 
templating:templates/components/largeTeaser a valid path or should it be 
templating:components/largeTeaser?
* Is the component definition correct? Check that your largeTeaser component 
definition has at least a renderType property, and probably also a script 
property.

[quote]http://documentation.magnolia-cms.com/templates/stk/template-prototype.html#Availablecomponents
 says components "are typically configured in Template Definitions > 
/components" - isn't this inconsistent? If not: How do I wire components from 
there?[/quote]

Template Definitions > /components is a shortcut to 
/modules/standard-templating-kit/templates/components. That's where Standard 
Templating Kit component definitions are. Your own components don't have to 
reside at that path. In the templating tutorial we put the component 
definitions under the Templating module instead. In fact, the best practice is 
to create your own module and define components there. But take one step at a 
time. :)

You can reference components from any module and path with the id property. 
Examples:

STK Video component
id = standard-templating-kit:components/content/stkVideo

STK Stage XL
id = standard-templating-kit:components/stages/stkStageXL

Category cloud
id = categorization:components/catCloud

Your large teaser?
id = templating:components/largeTeaser

--Antti

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=ddd1f3fc-7878-4bfc-9692-75c25fd2dbd7


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to