more themes?

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

more themes?

Post by Mayk » Sun Mar 27, 2005 11:27 pm

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?

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: more themes?

Post by garvinhicking » Mon Mar 28, 2005 1:57 pm

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 » Wed Apr 20, 2005 6:15 pm

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

You are the best!

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Wed Apr 20, 2005 6:38 pm

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 » Fri Apr 22, 2005 10:21 pm

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?

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Fri Apr 22, 2005 10:48 pm

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 » Fri Apr 22, 2005 10:57 pm

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.

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Fri Apr 22, 2005 11:18 pm

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/

User avatar
Tsurotu
Regular
Posts: 14
Joined: Wed Apr 20, 2005 5:58 pm
Location: Behind you.
Contact:

Post by Tsurotu » Sat Apr 23, 2005 7:25 pm

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?

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Mon Apr 25, 2005 11:13 am

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/

User avatar
Tsurotu
Regular
Posts: 14
Joined: Wed Apr 20, 2005 5:58 pm
Location: Behind you.
Contact:

Post by Tsurotu » Tue Apr 26, 2005 2:01 pm

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...

User avatar
garvinhicking
Core Developer
Posts: 30020
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking » Tue Apr 26, 2005 3:51 pm

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/

User avatar
Tsurotu
Regular
Posts: 14
Joined: Wed Apr 20, 2005 5:58 pm
Location: Behind you.
Contact:

Post by Tsurotu » Thu Apr 28, 2005 7:56 pm

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
from the mind of Joe Wright

Post Reply