Jahia Template Forum > How do I add portlet...

0 (0 Good)
0 (0 Bad)

How do I add portlet option in simple template?

by  lhagrot »  2011/06/09 10:43

Hi!

I need to be able to add portlets in the "simple" template. I added the following (bold text)  in definitions.cnd

[web_templates:simple] > jnt:page,web_templates:navigation

containerList mainColumn_box (jnt:box [addMixin="jmix:skinnable", 

availableTypes="web_templates:filesBox,jnt:textsBox,jnt:linksBox,jnt:rssBox,jnt:fileContentBox,jnt:portletsBox"])
containerList columnB_box (jnt:box [addMixin="jmix:skinnable", availableTypes="web_templates:subscriptionBox,web_templates:filesBox,jnt:textsBox,jnt:linksBox,jnt:rssBox,jnt:fileContentBox"])
containerList maincontent (jnt:mainContentContainer)
 
however nothing happens. I've also tried to remove some Boxes (like the jnt:rssBox) just to see if anything happens. It does not. What am I doing wrong?
 
Best regards,
Georgios
 

 

  • How do I add portlet option in simple template?
    2011/06/09 10:43

    lhagrot <p> Hi!</p> <p> I need to be able to add portlets in the &quot;simple&quot; template. I added the following (bold text) &nbsp;in <em>definitions.cnd</em></p> <p> [web_templates:simple] &gt; jnt:page,web_templates:navigation</p> <p> containerList mainColumn_box (jnt:box [addMixin=&quot;jmix:skinnable&quot;,&nbsp;</p> <div> availableTypes=&quot;web_templates:filesBox,jnt:textsBox,jnt:linksBox,jnt:rssBox,jnt:fileContentBox,<strong>jnt:portletsBox</strong>&quot;])</div> <div> containerList columnB_box (jnt:box [addMixin=&quot;jmix:skinnable&quot;, availableTypes=&quot;web_templates:subscriptionBox,web_templates:filesBox,jnt:textsBox,jnt:linksBox,jnt:rssBox,jnt:fileContentBox&quot;])</div> <div> containerList maincontent (jnt:mainContentContainer)</div> <div> &nbsp;</div> <div> however nothing happens. I&#39;ve also tried to remove some Boxes (like the jnt:rssBox) just to see if <em>anything</em> happens. It does not. What am I doing wrong?</div> <div> &nbsp;</div> <div> Best regards,</div> <div> Georgios</div> <div> &nbsp;</div> <p> &nbsp;</p>

  • Number of messages  14
    Registration date Jun 9, 2011
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page