Navigation

Views

Search
 

Toolbox

Creating a new template

From Documentation

(Difference between revisions)
Revision as of 17:38, 19 November 2006
Trinexx (Talk | contribs)

← Previous diff
Current revision
Admin (Talk | contribs)
(Reverted edits by Trinexx (Trinexx); changed back to last version by Admin)
Line 13: Line 13:
You can find a great tutorial for creating templates at our [http://www.68classifieds.com/forums/showthread.php?t=300 user forums]. You can find a great tutorial for creating templates at our [http://www.68classifieds.com/forums/showthread.php?t=300 user forums].
[[Category:Templates]] [[Category:Templates]]
- 
- 
- 
-[http://www.casinos-go.com/online-casino-tips/index.html online casino tips] 
-[http://www.gambling-online-theory.com/online-casino/online-casino-for-cash.html online casino for cash] 
-[http://www.gambling-online-theory.com/casinos-portal/index.html casinos portal] 
-[http://www.casino-theory.com/online-casino-royale/strategy-online-casino.html strategy online casino] 
-[http://www.casino-games-wiki.com/index.php/casino_games_online casino games online] 
-[http://www.casino-games-wiki.com/index.php/online_casino_games online casino games] 
-[http://www.magical-casino.com/games_variations.html Casino Games and variations.] 
-[http://www.magical-casino.com/choosing_casino.html Online Casino - Choosing the best casinos.] 
-[http://www.casinos-go.com/online-casino-tips/online-casino-games.html online casino games] 
-[http://www.magical-casino.com/strategy.html Online casino strategies.] 

Current revision

When creating a new template you should first create a new folder inside the "templates" directory.

The majority of the layout is handled through two files and they are layout.tpl.php and style.css so you would take these two files and add them to your new folder.

Now you can upload this folder and these files then change your template in administration -> main settings and you will have a new look to your website.

If you look at your site and see another page you would like to modify but are unsure which template file it is you can add ?debug=TRUE to the querystring and a popup will appear giving you information about the template files in use as well as a list of all the variables available for the page.

Once you get the file name you can then copy that file out of the default template folder and move it into your new folder.

68 Classifieds works by using two template paths. The one you have defined and the default. So if it can find a file in your template folder it will use the default.

You can find a great tutorial for creating templates at our user forums.