How to make a theme?

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
Tygur
Posts: 4
Joined: Sat Feb 04, 2006 8:35 am

How to make a theme?

Post by Tygur » Sat Feb 04, 2006 8:40 am

I'm sure this has been asked before, but I don't know what to search on, and the FAQ doesn't seem to be able to help me.

I recently installed Serendipity on my site, and I want to make it my own. That includes a custom theme. Unfortunately, I'm finding trouble finding any documentation on how to make a theme and install it. So if someone can point me in the right direction, I'd appreciate it.

User avatar
robert
Regular
Posts: 1059
Joined: Mon May 09, 2005 9:17 pm
Location: Vienna, Austria
Contact:

Post by robert » Sat Feb 04, 2006 1:29 pm

Maybe this Site http://www.s9y.org/44.html in the Wiki helps.
Nur ein Blog ...auf robertlender.info - natürlich mit S9y betrieben

S9y InfoCamp - der (inoffizielle) S9y-Podcast

d_cee
Regular
Posts: 603
Joined: Wed Jan 18, 2006 6:32 pm
Location: UK
Contact:

Post by d_cee » Sat Feb 04, 2006 2:24 pm

When you've made your theme you just need to upload it to your templates directory to install it. It will then appear in the list of styles when you go to your admin and click on manage styles.

Dave

Guest

Post by Guest » Sat Feb 04, 2006 6:10 pm

robert wrote:Maybe this Site http://www.s9y.org/44.html in the Wiki helps.

Yeah, I think it will. When I went to the Wiki, I was scanning for the word "Theme". I didn't think to look for "Style". Is there any difference, then, between a "theme" and a "style" in Serendipity?

carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway » Sat Feb 04, 2006 6:23 pm

The word theme and template are used interchangeably and mean the same thing in s9y. A style is different, this how you style parts of the page to make a theme/template, so yes they are different. Some people have mistakenly used style to mean template because they seem to be similar, but if we all use theme/template for the design and style for the elements within that then it should make it easier for anyone looking for information on how to create their own template.

d_cee is correct in what he says about making your template available to s9y so that you can use it, but may I add one extra comment, within your template, make sure you edit info.txt and put your own template name and author name in, otherwise s9y may not display your theme correctly in admin suite.

As for the original question about making a theme, if you haven't themed s9y before, the very best starting point is to find an existing theme that meets most of your requirements, then copy this into a new folder within the templates folder, change the info-txt file, then start making changes to this themes in the stylesheet. Get yourself a good reference on css and html. Once you're happy with making changes to an existing theme, then you should find that creating your own design from scratch becomes easier. Good luck, and let us kow where we can see your progress as you go.

Carl

Post Reply