Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [QooQ] Advanced Template Editor?? - Template Update Chore

Quote Reply
Re: [QooQ] Advanced Template Editor?? - Template Update Chore In reply to
Hi,

The template system supports the concept of "inheritance". Inside each template directory, there is a .tplinfo file that says where to look for if you don't find the requested template.

So for instance, the default template set, says to look in common. That way, the 20 or so templates required for the HTML editor, which rarely need to be altered, can just be stored in common. Now any new template set you make, as long as it inherits from common, you won't need to replicate the html editor.

default_top is an example of making a new template set that only affects a few files. It changes the look of how a post is displayed, so the only template in there is include_post_display.html, the rest are inherited from default.

Let me know if that doesn't make sense.

Cheers,

Alex
--
Gossamer Threads Inc.
Subject Author Views Date
Thread Advanced Template Editor?? - Template Update Chore oog 2357 Apr 8, 2002, 3:42 PM
Thread Re: [oog] Advanced Template Editor?? - Template Update Chore
Paul 2337 Apr 8, 2002, 3:50 PM
Thread Re: [Paul] Advanced Template Editor?? - Template Update Chore
QooQ 2315 Apr 8, 2002, 4:03 PM
Thread Re: [QooQ] Advanced Template Editor?? - Template Update Chore
oog 2277 Apr 10, 2002, 9:59 PM
Thread Re: [oog] Advanced Template Editor?? - Template Update Chore
QooQ 2311 Apr 11, 2002, 12:56 AM
Thread Re: [QooQ] Advanced Template Editor?? - Template Update Chore
brewt 2315 Apr 11, 2002, 1:08 AM
Thread Re: [brewt] Advanced Template Editor?? - Template Update Chore
QooQ 2284 Apr 11, 2002, 6:17 AM
Post Re: [QooQ] Advanced Template Editor?? - Template Update Chore
Alex 2278 Apr 11, 2002, 9:11 AM