Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Default/Local/Compiled

Quote Reply
Default/Local/Compiled
Ok I'm confused. What exactly is the difference between these three directories. I just uploaded a modified template to the default directory (include_logo.html) and the previous version of this file still shows up in my forums because it resides in the local directory.

At what point does a template "migrate over". Crazy

Safe swoops
Sangiro

Last edited by:

sangiro: Sep 13, 2002, 11:05 AM
Quote Reply
Re: [sangiro] Default/Local/Compiled In reply to
Hi,

The structure can be a bit confusing, but looks like:

templates/default
templates/default/local
templates/default/compiled

When Gossamer Forum parses a template, it will look for the template first in local, and if it can't find it, then look in default. The goal here is so that you can keep the original templates in default, and put your modified one in local. As when you upgrade, templates in default will be overwritten (but your changes in local will be preserved). Does this make sense?

The compiled directory takes a template and converts it into a perl program for fast execution. It should never need to be touched.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] Default/Local/Compiled In reply to
Quote:
Does this make sense?

That makes perfect sense! Thanks Alex. It does mean that I've been mucking up my templates in the wrong directory but that should be an easy fix now. Smile

Safe swoops
Sangiro