Adding left sidebar to "Artistic" template

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
superu
Regular
Posts: 24
Joined: Sun Jan 21, 2007 4:32 pm

Adding left sidebar to "Artistic" template

Post by superu »

Hi there,

i tried to add a left sidebar to the "Artistic"-template, but i don´t know how. I thought it might be enough to add

Code: Select all

{serendipity_printSidebar side="left"}
to the index.tpl - but its already in there on line 72!

I searched all other files of the template and did not find anything.
Can someone help me?

Greetings, Ullrich.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Adding left sidebar to "Artistic" template

Post by garvinhicking »

Hi!

A left sidebar output is there, but it's inthesame place like the rightone.

If you want a distinct right sidebar, you need to get your hands dirty with the HTML structure in index.tpl AND add the appropriate CSS to the style.css.

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/
superu
Regular
Posts: 24
Joined: Sun Jan 21, 2007 4:32 pm

Post by superu »

Hm, i played around with the index.tpl and the style.css of the theme and got some results. But after i reinstalled the backupped original files, the layout still is messed up! Cleared the cache and even tried on another pc - still looking like someone played around with... what has happened?
Greetings, Ullrich

:cry:
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Don't know, maybe you need to show us a URL or screenshot? :-D

Maybe you edited the wrong file?

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/
superu
Regular
Posts: 24
Joined: Sun Jan 21, 2007 4:32 pm

Post by superu »

URL: http://blog.superu.de

I just edited the style.css and the index.tpl in the template-folder of "artistic". When i look on the sourcecode of the redered website, it still contains changes i already changed back by uploading the backup-files.
Looks like something is still cached somewhere??

LG,U.
superu
Regular
Posts: 24
Joined: Sun Jan 21, 2007 4:32 pm

Post by superu »

OK, after copying a different index.tpl (from another template) and then re-uploading the backup, everything seems fine again now. Just wondering where all this got cached, maybe at our ISP... Further testing on a local machine...

But i still need help with adding the second sidebar "side-by-side" to the first. Using a table to seperate the two did not realy work out.

Grüße,
Ullrich
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

You changed the files inside the templates/artistic/ directory, right? Or did you manually modify anything inside your templates_c directory?

You can try to delete the files in your templates_c directory, this is the only place where caching occurs...

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/
superu
Regular
Posts: 24
Joined: Sun Jan 21, 2007 4:32 pm

Post by superu »

Deleting Caches worked fine, thank you!
Oh and to all potential visitors, my blog is not public sorry! (only for my family ;) )
Greetings, Ullrich
Post Reply