Tuning up Serendipity v3.0

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
moonchild
Regular
Posts: 201
Joined: Mon Nov 21, 2005 11:23 pm
Location: Esslingen
Contact:

Tuning up Serendipity v3.0

Post by moonchild »

Hello All,
i like the "Serendipity v3.0" theme but sometime i miss the navigation bar like this is realized in Andreas8. I'tried to use Andreas8 but my layout gets hm... muddled. So, how tricky is it to tuneup the default theme?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Tuning up Serendipity v3.0

Post by garvinhicking »

Hi!

It should not be that hard. Only a matter of editing the index.tpl file and migrating the code from andreas08 that shows the menu.

Maybe carl can help you out on this more detailed, but's having a very busy week. :)

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/
moonchild
Regular
Posts: 201
Joined: Mon Nov 21, 2005 11:23 pm
Location: Esslingen
Contact:

Re: Tuning up Serendipity v3.0

Post by moonchild »

garvinhicking wrote:Hi!
Hi
garvinhicking wrote: (...)
Maybe carl can help you out on this more detailed, but's having a very busy week. :)
I'm glad about any help, because i'm no coder... 8)

I've tried to insert the

Code: Select all

<!-- Design by Andreas Viklund [http://andreasviklund.com] -->
<!-- Converted to Serendipity by Carl Galloway [http://www.carlgalloway.com] -->

{if $template_option.colorset == 'blue'}
<link rel="stylesheet" type="text/css" href="{serendipity_getFile file="blue.css"}" />
{elseif $template_option.colorset == 'pink'}
<link rel="stylesheet" type="text/css" href="{serendipity_getFile file="pink.css"}" />
{elseif $template_option.colorset == 'maroon'}
<link rel="stylesheet" type="text/css" href="{serendipity_getFile file="maroon.css"}" />
{elseif $template_option.colorset == 'green'}
<link rel="stylesheet" type="text/css" href="{serendipity_getFile file="green.css"}" />
{elseif $template_option.colorset == 'nuclear'}
<link rel="stylesheet" type="text/css" href="{serendipity_getFile file="nuclear.css"}" />
{else}
between the homelink...

Code: Select all

</div>
==>here<==

Code: Select all

<table id="mainpane">
and copied the css and config*.tpl files into the Templatedirectory but that's not the thing... 8)

So, thanks for the answer, I'll ask Carl.
garvinhicking wrote: Best regards,
Garvin
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

I've put a navbar into my version of the serendipity v3.0 template, and it can be downloaded here.

Please be aware that this may not be an exact copy of the version that ships with serendipity so be careful not to overwrite your own version. The two files I've changed are index.tpl and style.css - my changes were done very quickly and haven't been documented or tidied up, also if you copy the style info over to your own template, make sure you copy #navbar, #identity, and #serendipity_banner and their subs.

At present I don't have much time avail to support this, so if other users could help anyone who queries the css/logic that would be awesome.

Good luck, Carl
moonchild
Regular
Posts: 201
Joined: Mon Nov 21, 2005 11:23 pm
Location: Esslingen
Contact:

Post by moonchild »

carl_galloway wrote:I've put a navbar into my version of the serendipity v3.0 template, and it can be downloaded here.
(...)
Good luck, Carl
Thank you very much, that's all what I need :D
Post Reply