Contribute  :  Support  :  Downloads  :  Forum  :  Links  :  Polls  :  Calendar  :  Directory  :  Advanced Search  
Geeklog The Ultimate Weblog System
Welcome to Geeklog
Thursday, May 15 2008 @ 11:06 PM EDT
   

Themes Section?

GeeklogI've been rummaging around the layouts directory and am astounded by the hundreds of pieces that go into making a theme. Which of the components must be defined in a theme for it to be complete? (Digital Monochrome, Classic, and Yahoo all contain ~165 files. XSilver, Gameserver, and Clean contain 235-255 files.)

Do template sets all have the same set of .thtml files? (Classic contains 101 .thtml files while Clean contains 105.) How are template files pulled-in? Is there a pre-determined set of template files that must be present? Where can I find a list of these files? e.g., Which .php file handles the templates?

What about the items in the braces? Where are these defined? Are these extensable or can PHP code be embedded directly in the .thtml files?

Why isn't there a "Themes" Section on GL? That would be "the place" for this message...

Story Options

Themes Section? | 1 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Themes Section?
Authored by: Tony on Friday, July 26 2002 @ 01:18 PM EDT
Good questions. As of now, all files in a theme are required. This may seem like a lot but in reality, to make a simple theme you just modify the top 5 or 6 or so.

Dirk had documented quite a few of the variables (stuff in squirly braces {}) at one point but I can\'t remember where he put it. Can you put PHP code in .thtml? Yes but you\'ll have to do an explicit call to the PHP function eval() after you have substituted your variables (see COM_siteHeader() for an example).

As for a theming site, we have been using http://www.geeksta.com which will eventually be http://themes.geeklog.net