Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Re: [Stoosh] Using frames...

Quote Reply
Re: [Stoosh] Using frames... In reply to
You would place your files in the template directory (data/templates/yourtemplate). If you look at admin/GMail/ConfigData.pm, you'll find a hash:
Code:
'templates' => {
'auth_error' => 'error_auth.htm',
'join' => 'join.htm',
'validate' => 'validate.htm',
'join_error' => 'join_login.htm',
'error' => 'error_user.htm',
'register_success' => 'join_success.htm',
'register' => 'join_register.htm',
'notice' => 'notice.htm',
'join_success' => 'join_register.htm',
'template_set' => 'default',
'register_error' => 'join_register.htm',
'login' => 'login.htm',
'logout' => 'logout.htm',
'default' => 'home.htm'
},
This is a list of the templates you must have, as these are the basic templates that the code will look for. Other than those templates, you can essentially name all your other templates whatever you wish.

To start you off, to convert a non-framed template to a framed template, you'd want to change home.htm to be the frame document, and move the original contents of home.htm to another filename of your choice. From there you would work your way out Smile

Adrian
Subject Author Views Date
Thread Using frames... Stoosh 1717 Apr 14, 2002, 8:07 PM
Thread Re: [Stoosh] Using frames...
brewt 1649 Apr 15, 2002, 12:44 AM
Post Re: [brewt] Using frames...
Stoosh 1647 Apr 15, 2002, 5:43 AM