----- Original Message ----- From: "Brian Candler" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "'sqwebmail'" <[EMAIL PROTECTED]> Sent: Saturday, September 27, 2003 6:15 PM Subject: Re: [sqwebmail] Templates not picking up changes
> On Sat, Sep 27, 2003 at 12:16:40PM +0100, [EMAIL PROTECTED] wrote: > > > I was wondering is sqwebmail was using the default templates held in > > > /usr/local/share/sqwebmail/html - so I tried altering one of these for > > > interest, same thing no change. > > > > > > I have no idea where sqwebmail is getting the templates from, and to be > > even > > > more confusing, its getting the images and css from the right virtual dir, > > I > > > just have no idea what tamplate dir its using ??? > > > > > > Any more suggestiosn welcome. > > > > > > Thanks, > > > > > > Matt. > > > > > > > > Any further comment from anyone ?? > > Not really, since this is your system and we can't see how you configured > it. Try rm -rf'ing template anything that looks like a template directory > until none are left. Try going > > strings /path/to/sqwebmail | grep / > > and see if you can see what paths have been coded into the binary. > > Brian. > Hi All, and Brian. You are very right in what you say. I thought the simplest test was one you suggested. I removed login.html from my SQWEBMAIL_TEMPLATEDIR directory and got the error "Cannot Open Form Template" I put login.html back...and bingo - it worked (bar the changes I have made obvsiouly) so the facts are 1.) Sqwebmail IS reading templates from the correct directory, removing a template and creating the "env" cgi script proves this 2.) The image dir for sqwebmail IS being read and appears to be picking up changes, eg: I change the logo.gif image - and it is picked up, I change the css and I can change the colours. 3.)changing the html templates actual html seems to make no changes. I have changed the contents of the <title> tag, and changed the <img> attributes to change the size of logo.gif. None of the changes to the HTML templates appear to be working. I am unaware of any limitations of changing the html templates, the permissions of the files look fine, I am not caching the pages on the webserver, and the sqwebmail application appears to be working fine ??? any further comment / advice. Thanks, Matt.