I have created a simple decorator module. However, on pages with this decorator applied there is no header, footer, menus. It seems that my custom decorator overrides other bundled decorators. What to do to apply a custom decorator module and keep other decorators working ??
Basically I need to run some macro on every page and I am trying to do this through a decorator.
Community moderators have prevented the ability to post new answers.
I tried to use a plain decorator module with a pattern that matches all pages.
Actually, I have found out that what I need to do is to create a custom theme and in that theme override page.vmd with a layout module. That way I can put anything anywhere I want. Hovewer, I still don't know why applying a simple decorator from http://confluence.atlassian.com/display/CONFDEV/Decorator+Module removes all headers and footers and menus.
Because it's not using global decoratio, you can add this into a head of decorator
<meta name="decorator" content="atl.general"/>
and header and footer will on the page when you load it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.