Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/simplel/public_html/wiki/pmwiki/cookbook/sourceblock.php on line 129
SimpleLog wiki | Themes / CreateANewTheme
Recent Changes - Search:

SimpleLog wiki

Installing SimpleLog

        MT(gs) users
        DreamHost users

Upgrading

Working with themes

How to

Troubleshooting

Development & resources

CreateANewTheme

Note: When SimpleLog is in development mode, themes aren't cached and your site will load slower. Once you finish your theme and change your application to production mode, the theme will be cached and everything will be much faster. It's important to make sure you develop your theme in development mode and that your live site is running in production mode. Need help?

It's simple. Make a copy of the themes/simplelog directory and rename it to your liking. For this example, we'll call it "simpy." Go into the simpy directory and you'll see the default file structure. In addition, you'll find a file called FILE_DESCRIPTIONS in each view directory and subdirectory. These files tell you what each view file does, so read them when creating your theme.

Once you've got a theme directory, the rest is easy as pie:

  1. Change about.markdown and author.markdown appropriately. Note that the author.markdown file should only contain your name (first line) and your website (optional, second line)
  2. Go to town editing the views, javascript and CSS files (see available helper methods and preferences for use in your theme)
  3. Open SimpleLog and go to preferences. Choose your theme from the list in the Display section
  4. Save your preferences

That's it, you're running your theme!

Edit - History - Print - Recent Changes - Search
Page last modified on January 08, 2008, at 12:34 PM EST