[geeklog-devel] Creating a New Theme in Geeklog 2.1.0 using another theme

今駒哲子 komma at ivywe.co.jp
Tue Jul 16 23:53:25 EDT 2013


Tom,

Thank you for your hard work.
Geeklog 2.0.0 -> Geeklog 2.1.0 next version?

I said style.css.php is difficult for web designers, last year.
Very sorry.
style.css.php is usefull.
I hope style.css.php have if functions and variables in CSS files.

Thanks.
--
Ivy


2013/6/23 Tom <websitemaster at cogeco.net>:
> 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
>
> _______________________________________________
> geeklog-devel mailing list
> geeklog-devel at lists.geeklog.net
> http://eight.pairlist.net/mailman/listinfo/geeklog-devel



More information about the geeklog-devel mailing list