Hello there!
Few months ago I instllaed the connections theme and made several adjustments with result: www.seksieleksie.com. Since a lot of nice plugins are being developed I now want to adjust the theme further. I'de like to use a left sidebar aswell in the connections theme.
However if I choose a sidebar plugin to appear on the left, it is not visible. What do I have to do to adjust the theme so that left sidebars are visible aswell? (maybe I removed some necessary code myself, don't remember that however).
Thanks a lot for your help and creating cool software!
Regards,
Alexander
Left sidebar in connections team
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Left sidebar in connections team
Hi!
You will need to edit the index.tpl template, and there you will see the code:
This will make both sidebars appear below each other. So you need to edit the file in a way that you have an own cell of the "left" and "right" side output, and you might need to edit the CSS so that the TD cells are visually formatted.
HTH,
Garvin
You will need to edit the index.tpl template, and there you will see the code:
Code: Select all
<td id="sidebar" valign="top">
{serendipity_printSidebar side="right"}
{serendipity_printSidebar side="left"}
</td>
HTH,
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/
# 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/
-
carl_galloway
- Regular
- Posts: 1331
- Joined: Sun Dec 04, 2005 5:43 pm
- Location: Andalucia, Spain
- Contact:
The connections template was only ever designed to use two columns, so you haven't done anything wrong.
I haven't updated Connections to handle multiple columns or other v1.1 features but I do plan to do so, however if you can't wait, you could add the left column yourself, but you will need to get your hands dirty with html/css and a little bit of smarty.
The Connections template uses a table to configure the two columns, so adding an extra column isn't too difficult, and I must apologise here, but I don't have the original code anymore because the version on my test server is already being updated, but take a look at the code from serendipity 2.3 (default folder) to see how your columns should work.
I haven't updated Connections to handle multiple columns or other v1.1 features but I do plan to do so, however if you can't wait, you could add the left column yourself, but you will need to get your hands dirty with html/css and a little bit of smarty.
The Connections template uses a table to configure the two columns, so adding an extra column isn't too difficult, and I must apologise here, but I don't have the original code anymore because the version on my test server is already being updated, but take a look at the code from serendipity 2.3 (default folder) to see how your columns should work.