Forum Discussion
jc758
14 years agoAdvisor
Hi
it must be possible ... You need to know the default component's id (you can find it in the Page XML structure : for instance the announcement <component id="common.widget.annoucement"/>)
and add a @ at the beguinning ... So the syntax should be:
<@component id="common.widget.announcement" />
hope this helps
JC
it must be possible ... You need to know the default component's id (you can find it in the Page XML structure : for instance the announcement <component id="common.widget.annoucement"/>)
and add a @ at the beguinning ... So the syntax should be:
<@component id="common.widget.announcement" />
hope this helps
JC
- AdamN14 years agoKhoros Alumni (Retired)
You may also want to explore using FreeMarker to control the display logic instead of JavaScript. The CoreNode custom context object should be able to tell you the id of the node: