On Mon, Feb 11, 2002 at 12:04:22AM -0500, David B. Bitton wrote:
> I just implemented this and one problem, all items in the tree are being
> "process"'ed with a wrapper, so ttree wrapped the png file. Hmm, back
> to the redirect filter.
You can do something like this in your template-which-needs-no-wrapper
[% META naked=1 %]
...template content...
and then in your PROCESS template:
[%-
# don't enclose page in wrapper if 'naked' META item is set
# (e.g. for css and javascript files)
IF template.naked;
PROCESS $template | trim;
RETURN;
END;
# ...any other stuff...
# process the page template and wrap it up in a nice interface
PROCESS $template WRAPPER layout/main
-%]
HTH
A