Hi,

Is there a way to render an ftl file only in a few modules but not in all,
I want this ftl template to render in a few pages only but when I include
ftl template in header.ftl it renders in all pages including the login
page. I don't want to render ftl template on the login page.

After copying GlobalDecorator to my theme CommonScreens.xml, adding
<common-screens> to Theme.xml and included ftl template in Header.ftl
<#include "component://xerus-theme/template/SideBar.ftl"/>
it does work but the side bar is rendering in login page also.
My requirement is to
1. Put the sidebar in a few modules, but not in the login page (please
refer to this
<https://drive.google.com/drive/folders/1tMgCv2FOs8-g9PShqBH5A9j16mscCKpr>)
and home page, and we can see the sidebar only if I reduce the grey
container width size (container defined in div tag-contentarea).
I tried reducing the width of grey colored div container but this also
affects the login page.
2. Is there any way we can define containers in all pages differently?

I also tried to put a new <div>  here
*applications/content/template/HelpTemplate.ftl*

 *<div class="contentarea">*
  <div id="column-container">
    <div id="content-main-section">
    <@section inSection=doc.section first="yes" level=1/>
    </div>
  </div>
</div>

could you please suggest to me a solution for this?

Thanks,
Maheshwari.

Reply via email to