Page 1 of 1

module tags inside a template

Posted: Wed May 16, 2007 4:33 pm
by arkan76
So far I have only been able to get module tags to work inside a PAGE but not in a TEMPLATE .

For example , the {search} will only work for me when I put it in the content of a page ... but when
I put it in the TEMPLATE for the page , it is not working ...

Same thing happens for the CustomContent module ...

Obviously this is not ideal because when our back-end users are editing content , they have to navigate
around these tags and they are bound to screw something up .

Is this just the way it is , or am I doing something wrong .

Re: module tags inside a template

Posted: Wed May 16, 2007 4:44 pm
by Russ
That is odd, because if I put {search} in my template I get a search box? Also maybe putting stuff like this in a template is not such a good idea? As you could end up with a template for everypage? Actually search probably should go in the template, so perhaps a bad example....

Re: module tags inside a template

Posted: Thu May 17, 2007 9:07 am
by stopsatgreen
That is strange; I have the {search} tag inside my templates and it works with no problems. Do {global_content} blocks work?