From: Ask S. G. <cl...@sl...> - 2001-03-26 17:42:09
|
On Sat, 24 Mar 2001 19:50:29 -0500 (EST), daniel j wharton said: > > I have a question about where the templates are stored for a site? Are > they in the database, or does it use the ones in > /usr/local/slash/themes/slashcode/templates? If it does keep them in the > database, is it possible to export them so I can use my current theme on > another site? Templates are stored in the database. The template files in /usr/local/slash/themes/slashcode/templates are file-based entries of those self-same templates. Initially, when you load a slash-site, the install-slashsite tool will load the database with the templates of the theme you select. You should check out bin/template-tool. It was created with this exact purpose in mind. It can extract templates to a file for ease of editing (you therefore don't need to use the admin interface). Have CLI? Will travel. You can then use the template-tool to reload any template files into the database. Of course, this means that the short answer to your last question is: Yes. If you need more information on this issue, please let us know. - Cliff |