more themes?

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
Mayk

more themes?

Post by Mayk »

Are there any more themes except those that come with S9y ?
I've noticed that some WP themes work too under s9y.. And there are A LOT of free themes for WP.. :S
Where is that magical pot of free S9y themeS?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: more themes?

Post by garvinhicking »

The magical pot of s9y templates is partially bundled with default Serendipity, and partially here: http://cvs.sourceforge.net/viewcvs.py/p ... al_themes/

And, as you've already found out, we have a 'wp-compat' template where you can use the CSS code of a WordPress layout (based on standard WP HTML of course).

Regards,
Garvin :)
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Guest

Post by Guest »

So this means we can use WP templates as is? Whitout doing anything special? That's very cool!

You are the best!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Note the restrictions: The wp-compat theme only works with older CSS-only Wordpress themes.

But thanks to our great smarty templating you can basically migrate any WP template, but need to adjust the smarty templates. Tom Sommer has done this with the well-known Kubrick style.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hathor
Regular
Posts: 118
Joined: Tue Mar 22, 2005 11:48 pm

Post by Hathor »

I must be missing something, because I have no idea how to install the themes from CVS. I've hunted the site and the forum for anything on how to install a theme, and I'm just not finding it.

I tried copying them into my directory, and that seemed fine, but they don't just automatically show up in my styles chooser in the administration. How do I get new themes to show up there so I can choose them?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Which themes did you download? If you extracted them in your "templates" directory to its own template subdirectory, that is the right way to go.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Hathor
Regular
Posts: 118
Joined: Tue Mar 22, 2005 11:48 pm

Post by Hathor »

That's what I did. I coudln't see a zip file or anything that looked remotely familiar to me in the CVS, so I actually just created the pages and copied the info.

I created a subdirectory in "templates" for "blue-haze". Inside that I created a "style.css" file and copied that over. Then I copied over the preview png.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

If you read the Style documentation on www.s9y.org, you also need a 'info.txt' in your directory. :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Tsurotu
Regular
Posts: 14
Joined: Wed Apr 20, 2005 5:58 pm
Location: Behind you.

Post by Tsurotu »

Yeah, but there should be one there already, if not, whack one in with the following lines:

Name: NAME of TEMPLATE
Author: AUTHOR
Date: 1066
Require Serendipity: 0.8

And go ahead and replace those things withwhatever you need.

It should then show up on the template tab on your admin suite.

Clever, is it not?

So if you thinka bout it the style-choosing script looks for the folder, if there is a folder without info.txt it thinks that the folder does nto contain a theme, if it has noe it extracts the neccessary info and allows you to choose it.

I assume, because the some themed folders have less files in, that the theme inherits files it doesnt 'own' from the default folder?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Tsurotu - yes, you're absolutely right with all your assumptions. Serendipity uses files frmo the 'default' folder if they don'T exist in your custom template directory.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Tsurotu
Regular
Posts: 14
Joined: Wed Apr 20, 2005 5:58 pm
Location: Behind you.

Post by Tsurotu »

Wonderful, Please excuse my typing errors, sometimes I type without care.

Still, I don't beleive in using any 'stock' themes.

Make your own, be unique...
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Yes, custom themes are always nice. However I really suggest people to only modify the Smarty template *.tpl files if they really need to.

The reason for this is that it will be harder for those people to upgrade to newer Serendipity versions - they will always have to make bugfixes to their *.tpl files if we had a bug in the default *.tpl file.

In fact about 99% of all design improvements can be made with independent CSS, so in most cases one would just have to modify his style.css file to achieve custom themes :)

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Tsurotu
Regular
Posts: 14
Joined: Wed Apr 20, 2005 5:58 pm
Location: Behind you.

Post by Tsurotu »

There are only _so_ many theme changes you can get without changing the tpl files...

I like to know I wasnt lazy and actually _work_ on my blog...you know, rip it apart and let it work...

I feel guilty if you guys did allt he work :D
Post Reply