Gossamer Forum
Quote Reply
default template
i will have about 10-12 tables in my database. to simplify my template creation, i want to have a default set of templates to apply to all the tables. however, i want to create custom templates for certain pages so that each database will have its own home page for instance. so i don't have to change 10 templates every time i want to change my header or footer, i would like to put those and other common templates in a default template folder and then put only the customized pages in the folder for each table. for some tables, the home.html template might be the only one in the folder. so i want dbman sql to look in the custom folder first, but if it doesn't find the template it needs, look in the default folder. i created a template folder for gallery and put home.html in it. when i click List All, i get the following error:

GT::Template::Parser (23898): Unable to locate template file 'search_results.html' in '.../www.mysite/admin/templates/gallery' or any inheritance directories at GT::Template::_compile_template line 626.
i see there is a default_tpl tag/variable in setup. how/where do i tell dbman to look in my default template directory? thanks.
Subject Author Views Date
Thread default template delicia 7807 Aug 1, 2010, 5:51 AM
Post Re: [delicia] default template
delicia 7640 Aug 1, 2010, 6:35 AM
Thread Re: [delicia] default template
Denise_ 7456 Nov 19, 2010, 8:08 AM
Post Re: [Denise_] default template
delicia 7452 Nov 19, 2010, 10:37 AM