The Serendipity Handbook

You can now read the (german) handbook here: PDF - https://github.com/s9y/Book (LaTeX source).

Forum-Information

Before posting about errors, make sure that the answer cannot already be found in our FAQ or by searching this forum!
Posting is restricted to registered users (registering is free and simple!) due to recent spam attacks. When having trouble with this board, contact garvin(-at)s9y(-dot)org.

Board index Themes Adding left sidebar to "Artistic" template

Skinning and designing Serendipity (CSS, HTML, Smarty)
superu
Regular
 
Posts: 22
Joined: Sun Jan 21, 2007 5:32 pm

Postby superu » Sat Jul 05, 2008 2:25 pm

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.

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

Postby garvinhicking » Sun Jul 06, 2008 1:02 pm

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: 22
Joined: Sun Jan 21, 2007 5:32 pm

Postby superu » Mon Jul 07, 2008 11:56 am

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:

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

Postby garvinhicking » Mon Jul 07, 2008 12:15 pm

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: 22
Joined: Sun Jan 21, 2007 5:32 pm

Postby superu » Mon Jul 07, 2008 12:27 pm

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: 22
Joined: Sun Jan 21, 2007 5:32 pm

Postby superu » Mon Jul 07, 2008 12:38 pm

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

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

Postby garvinhicking » Mon Jul 07, 2008 12:38 pm

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: 22
Joined: Sun Jan 21, 2007 5:32 pm

Postby superu » Mon Jul 07, 2008 10:11 pm

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



Return to Themes

Who is online

Users browsing this forum: No registered users and 0 guests

cron