Gossamer Forum
Home : Gossamer Threads Inc. : Discussion :

Template sharing between Gossamer applications

Quote Reply
Template sharing between Gossamer applications
I have Links SQL and GForum, I need to maintain Globals and templates for Both products in a central location. Is there a way to use ONE set of globals and templates for both products? I would like to use the same directory for both but don't know if it is possible. and if so how?
Quote Reply
Re: [jaltuve] Template sharing between Gossamer applications In reply to
I have done it by making the templates in EX LinksSQL and then use it in another LinksSQL installation by:

<%include /full/path/to/template/name.html%>

Klaus

http://www.ameinfo.com
Quote Reply
Re: [klauslovgreen] Template sharing between Gossamer applications In reply to
I wonder if /full/path/to/template/ can be replaced with a variable... hmm
Quote Reply
Re: [jaltuve] Template sharing between Gossamer applications In reply to
anyone from Gossamer have an answer for this? I have a GForum and Links SQL instalation and I can not share templates between two products. Just let me know what variable to modify to make either one of the products get the templates elsewhere.