Geeklog France

Creating a Geeklog Theme

Originally written by Eric Warren at www.gllabs.org

When you are ready to create your new theme, it is always a good idea to start with the latest version of the Professional theme as your base.

First, copy the professional theme to the name you want your new theme to have (no spaces are allowed in the themename!) Here is an example for Un*x based systems.

   cp -R /path/to/geeklog/public_html/layout/professional /path/to/geeklog/public_html/layout/My_Theme_Name_No_Spaces

Change into your new theme directory:

 cd /path/to/geeklog/public_html/layout/My_Theme_Name_No_Spaces

Now edit the templates to suit your needs. Keep in mind that templates, generally are partial HTML files. The directory you just created holds ALL templates Geeklog needs but you will only need to modify a small few to make a huge impact on the look.

In particular these are the templates you will undoubtedly want to change:

  • header.thtml
  • footer.thtml
  • blockheader.thtml
  • blockfooter.thtml
  • storybody.thtml
  • storybodytext.thtml
  • featuredstorybody.thtml
  • featuredstorybodytext.thtml
  • archivestorybody.thtml
  • archivestorybodytext.thtml
  • style.css
Connecté en tant que : Guest (Guest)
geeklog/development/themes/creating_a_theme.txt · Dernière modification: 2009/08/27 09:30 par ::Ben
 

Download geeklog

Last version 1.8.1

Espace Membre





Devenir membre
Enregistrez-vous

Mot de passe oublié ?

Change language

Categories

  • Geeklog (38)
  • Plugins (53)
  • Thèmes (17)
  • My cart

    Votre panier (0 article)

    Votre panier est vide!

    0.00 EUR

    Visual Theme Switcher

    Test out available themes by selecting from one of the 6 available themes or give the Visual Switcher a try:

    Follow us on twitter

    En ligne

    Visiteurs: 10