I'm trying to extend stkArticle and have looked at stkLargeArticle and stkNews
as examples. (CE 4.5.4)
I've got (1) stkArticle2Column template definition (with datanodes bodyClass,
dialog, extends, renderType, templatesScript,title), (2) template script
templates> templating-kit/pages/content/mainAreaWithContent2, (3) styles.css to
handle new div id=content2, (4)
Configuration>modules/templating/templates/stkArticle2Column (with datanodes
bodyClass, extends, title), and (5) within demo-project a child page of About
'section' that uses template "Article 2 Column" template.
When I open the page in the browser I get the following Error:
<pre>
ERROR info.magnolia.cms.util.ExtendingContentWrapper 09.10.2012 14:02:04
-- Can't find referenced node for value:
config:/modules/templating/templates/stkArticle2Column[mgnl:contentNode]
ERROR info.magnolia.cms.util.ExtendingContentWrapper 09.10.2012 14:02:04
-- Can't find referenced node for value:
config:/modules/standard-templating-kit/templates/pages/stkArticle2Column[mgnl:contentNode]
</pre>
Further the .ftl template mainAreaWithContent2 is essentially the same as the
content/mainArea.ftl template
<pre>
<div id="main" role="main">
[@cms.area name="contentNavigation" content=content/]
[@cms.area name="breadcrumb" content=content/]
<div class="text" role="article">
[@cms.area name="intro" content=content/]
[@cms.area name="content"/]
</div><!-- end text -->
[@cms.area name="comments"/]
</div><!-- end main -->
<div id="content2" role="article">
[@cms.area name="content2"/]
</div>
</pre>
And in the browser it renders as:
<pre>
<div id="main" role="main">
<div class="text" role="article">
</div><!-- end text -->
</div><!-- end main -->
<div id="content2" role="article">
</div>
</pre>
Not seeing anything in the forum on ExtendingContentWrapper or "Can't find
referenced node"
Any thoughts on which direction I should focus my efforts to work through this?
thx,
shane
--
Context is everything:
http://forum.magnolia-cms.com/forum/thread.html?threadId=218aee88-e058-4b3a-8a8c-2d1289705dbb
----------------------------------------------------------------
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]>
----------------------------------------------------------------