Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Template Sets

Quote Reply
Template Sets
Sorry if this question was asked before but I tried reading the documentations and did a search but can’t figure out the answer.

I have two different template sets and want to be able to use the header and footer from the luna template set in my other template set. Is this possible to do? If so how do I do it?

Thanks
Quote Reply
Re: [tariqali] Template Sets In reply to
You can inherit from the luna template set so that if a template isn't found in your template set, it attempts to load it from any inherited template sets. You can do this by adding a .tplinfo file in your template set with the contents:
Code:
{
inheritance => '../luna'
}

Adrian