Page 1 of 1

Tuning up Serendipity v3.0

Posted: Tue Jun 27, 2006 5:36 pm
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?

Re: Tuning up Serendipity v3.0

Posted: Tue Jun 27, 2006 6:12 pm
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

Re: Tuning up Serendipity v3.0

Posted: Tue Jun 27, 2006 6:55 pm
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

Posted: Wed Jun 28, 2006 10:00 pm
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

Posted: Wed Jun 28, 2006 11:01 pm
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