[geeklog-devel] Creating a New Theme in Geeklog 2.1.0 using another theme
Tom
websitemaster at cogeco.net
Sat Jun 22 14:15:11 EDT 2013
With the next release of Geeklog which includes the template cache library
it allows you to base one theme on another. The original theme is called the
default theme and this should make things easier when upgrading.
So if you want to create a new theme based on an old theme all you would
need to do is create a new directory and copy any images, php files and css
files over. The only theme files (.thtml) you would copy over are any you
plan on changing.
In the functions.php of your new theme you will need to change any function
name to represent your own theme. For example: theme_config_professional
would become: theme_config_your_theme_name.
You would also need to add to the array in the fuction
theme_config_your_theme_name
'theme_default' => ' professional '
If you base your new theme on the Modern Curve theme this will make
upgrading Geeklog versions even easier. After making your new theme
directory all you need to do is copy over
Functions.php
Style.css.php
Images directory
Jquery_ui directory
You would then make the changes described above to the functions.php. In
style.css.php you with need to update the variables $theme with your new
themes name and $theme_default would now equal "modern_curve".
For any changes to the css files, all you would then do is create a css
directory in your new theme directory and add a file called custom.css with
any css changes you want to do.
Tom
More information about the geeklog-devel
mailing list