Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [Alba] glinks template feedback

Quote Reply
Re: [Alba] glinks template feedback In reply to
The reason for the core and custom to be in the template directory, is that each template set might be completely different.

To prevent accidental crashes, it might be a good idea to have a "default" css in the /static directory, but to then name the template CSS to

core_<%t%>.css and custom_<%t%>.css within those template directories.

Since they are only called in the common_head file, it's not a real issue, but it can prevent accidental corruption or overwriting the wrong css file, which could be disasterous.

So, there would be 3 css files. A "default" css, to prevent any real issues. Based on the luna/default set is ok, or even a new .css that presents it all in a simple clean interface.

Then, load the core (template default) css:

<link type="text/css" rel="stylesheet" media="screen" href="<%config.db_static_url%>/<%t%>/core_<%t%>.css" />

and then the custom template css:

<link type="text/css" rel="stylesheet" media="screen" href="<%config.db_static_url%>/<%t%>/custom_<%t%>.css" />

These files should also be part of any backup, since they can take a whole site down if they are missing or corrupt. That is the real problem with css.

And, mixing css with php could lead to disaster.... putting so much into a template. But that's another issue.



Time to do this is NOW... before the release is set in stone. This is only a change to 1 file, and the file names, and can prevent a lot of grief later.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Subject Author Views Date
Thread glinks template feedback Alba 10221 Mar 10, 2005, 1:18 AM
Thread Re: [Alba] glinks template feedback
brewt 9899 Mar 10, 2005, 1:29 AM
Post Re: [brewt] glinks template feedback
Alba 9839 Mar 10, 2005, 1:39 AM
Thread Re: [brewt] glinks template feedback
Alba 9915 Mar 15, 2005, 2:09 AM
Thread Re: [Alba] glinks template feedback
HyperTherm 9891 Mar 15, 2005, 2:19 AM
Thread Re: [HyperTherm] glinks template feedback
Alba 9805 Mar 15, 2005, 3:24 AM
Thread Re: [Alba] glinks template feedback
HyperTherm 9851 Mar 15, 2005, 6:38 PM
Thread Re: [HyperTherm] glinks template feedback
brewt 9962 Mar 15, 2005, 6:44 PM
Thread Re: [brewt] glinks template feedback
Alba 9807 Mar 16, 2005, 5:52 AM
Thread Re: [Alba] glinks template feedback
pugdog 9767 Mar 16, 2005, 10:29 AM
Post Re: [pugdog] glinks template feedback
Alba 9746 Mar 16, 2005, 11:06 AM
Thread Re: [Alba] glinks template feedback
brewt 9847 Mar 16, 2005, 11:54 AM
Post Re: [brewt] glinks template feedback
pugdog 9815 Mar 16, 2005, 12:24 PM
Post Re: [brewt] glinks template feedback
Alba 9730 Mar 16, 2005, 12:46 PM
Thread Re: [brewt] glinks template feedback
HyperTherm 9761 Mar 16, 2005, 1:15 PM
Thread Re: [HyperTherm] glinks template feedback
pugdog 9741 Mar 16, 2005, 1:23 PM
Thread Re: [pugdog] glinks template feedback
HyperTherm 9786 Mar 16, 2005, 1:36 PM
Thread Re: [HyperTherm] glinks template feedback
Alba 9739 Mar 16, 2005, 1:58 PM
Thread Re: [Alba] glinks template feedback
HyperTherm 9754 Mar 16, 2005, 2:06 PM
Thread Re: [HyperTherm] glinks template feedback
brewt 9738 Mar 16, 2005, 3:40 PM
Thread Re: [brewt] glinks template feedback
HyperTherm 9757 Mar 16, 2005, 4:22 PM
Post Re: [HyperTherm] glinks template feedback
brewt 4289 Mar 16, 2005, 4:29 PM
Post Re: [HyperTherm] glinks template feedback
mgeyman 4195 Mar 17, 2005, 4:20 AM
Post Re: [HyperTherm] glinks template feedback
Alba 4183 Mar 17, 2005, 8:55 AM
Thread Re: [Alba] glinks template feedback
brewt 9764 Mar 16, 2005, 3:29 PM
Thread Re: [brewt] glinks template feedback
Alba 4220 Mar 17, 2005, 1:34 AM
Thread Re: [Alba] glinks template feedback
brewt 4157 Mar 17, 2005, 2:02 AM
Thread Re: [brewt] glinks template feedback
Jag 4178 Mar 17, 2005, 4:35 AM
Thread Re: [Jag] glinks template feedback
Alba 4255 Mar 17, 2005, 9:03 AM
Post Re: [Alba] glinks template feedback
Jag 4139 Mar 18, 2005, 3:15 PM
Thread Re: [brewt] glinks template feedback
Alba 4178 Mar 19, 2005, 1:05 AM
Post Re: [Alba] glinks template feedback
brewt 4196 Mar 19, 2005, 1:33 AM
Thread Re: [HyperTherm] glinks template feedback
brewt 9783 Mar 16, 2005, 1:47 PM
Post Re: [brewt] glinks template feedback
HyperTherm 9749 Mar 16, 2005, 3:02 PM
Post Re: [Alba] glinks template feedback
brewt 9887 Mar 15, 2005, 10:26 AM