Mailing List Archive

fallback HTML pages
Can the catalogs themselves work like the admin pages? I really like
how I can bring just certain pages forward from the shared admin
directories on a per catalog basis. I would like to do this with the
catalog templates as well. For instance, if I have several catalogs
based on 'barry' I would like to fix bugs in them all by just
correcting the errors in the "source" barry directory rather than
having to fix all the individual catalogs created from barry.
--
(__) Doug Alcorn (mailto:doug@lathi.net http://www.lathi.net)
oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543
|_/ If you're a capitalist and you have the best goods and they're
free, you don't have to proselytize, you just have to wait.
fallback HTML pages [ In reply to ]
Quoting Doug Alcorn (doug@lathi.net):
> Can the catalogs themselves work like the admin pages? I really like
> how I can bring just certain pages forward from the shared admin
> directories on a per catalog basis. I would like to do this with the
> catalog templates as well. For instance, if I have several catalogs
> based on 'barry' I would like to fix bugs in them all by just
> correcting the errors in the "source" barry directory rather than
> having to fix all the individual catalogs created from barry.

Sure. Just define a new TemplateDir. You can have TemplateDir
in your catalog.cfg, too. That way, you can share certain pages and
have certain ones be on a per-catalog basis.

The only downside is you do an extra directory lookup when the
page is not found in the pages/ directory, but that is not too
big of a deal unless you have a super-busy catalog.

Symbolic links are another option.

--
Akopia, Inc., 131 Willow Lane, Floor 2, Oxford, OH 45056
phone +1.513.523.7621 fax 7501 <heins@akopia.com>

The U.S. Senate -- white male millionaires working for YOU! -- Dave Barry