Fourth sidebar in bulletproof?

Skinning and designing Serendipity (CSS, HTML, Smarty)
Post Reply
reinhardl
Regular
Posts: 258
Joined: Wed Jun 20, 2007 8:54 am
Location: Germany

Fourth sidebar in bulletproof?

Post by reinhardl »

Hi,
how do I create a fouth sidebar in config.inc.php?

array(
'var' => 'sidebars',
'name' => MYTEMPLATE_TITLE,
'description' => MYTEMPLATE_SIDEBAR_DESC,
'type' => 'string',
'default' => 'left,hide,right,footer1,footer2,'
),

does not work ..

greetings
reinhard
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

From memory the sidebar name is restricted to 6 characters, try changing footer1 and footer2 to ftr1 and ftr2. See if that works.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Did you save the templates configuration? If you want fixed sidebars, do not make that variable configurable but use

Code: Select all

$sidebars = 'left,hide,right,foot1,foot2';
Instead. Also, what carl said, applies too.

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/
reinhardl
Regular
Posts: 258
Joined: Wed Jun 20, 2007 8:54 am
Location: Germany

Post by reinhardl »

Thanks for the quick answers.
After modifying the names of the new sidebars (max 6 characters), it works.

greetings
Reinhard
carl_galloway
Regular
Posts: 1331
Joined: Sun Dec 04, 2005 5:43 pm
Location: Andalucia, Spain
Contact:

Post by carl_galloway »

Excellent. Is it a new template you're working on for release? Can we see it?
reinhardl
Regular
Posts: 258
Joined: Wed Jun 20, 2007 8:54 am
Location: Germany

Post by reinhardl »

carl_galloway wrote:Excellent. Is it a new template you're working on for release? Can we see it?
Hi Carl,
it`s a port of the glossyblue theme. You can see it on katalog-it.de as the default theme. But it did not finished the right sidebar.
The footer-sidebars are working now ...
Post Reply