Sunday 20 August 2006 2:36:21 pm
Hello Toms King,
If you want to include this new template in another template, you can use the 'include' command roughly like this: {include uri='design:contact.tpl' something='Hello world'}
The template contact.tpl must be found in one of the design directories. Mor information here: http://ez.no/doc/ez_publish/technical_manual/3_8/reference/template_functions/miscellaneous/include
If you want to override another contact.tpl (e.g from the base design' with yours) the easiest way is to recreate the location where the original tpl file is located in your design directory. E. g. if the original template file is located in design\base\override\templates\collectedinfo\contact.tpl
your override template must be \design\your_design_folder\override\templates\collectedinfo\contact.tpl
If you don't want to or can't recreate the folder structure and use the same filename as the original template, you have to create an override in the override.ini. You can find lots of information about that here: http://ez.no/doc/ez_publish/technical_manual/3_8/reference/template_override_conditions Regarding your question about the database I can't help you right now - I have never tried something like this although it certainly could be useful. If you find useful information on how to so it, I would appreciate a post. By the way: It would have been better to post two different questions in two different posts, as some people will not look into post if the heading is not interesting. This way you might miss out on the database experts here. Greetings from Luxembourg Claudia
|