unwanted style change when using guestbook and contact form

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
Col. Kurtz
Regular
Posts: 450
Joined: Thu May 26, 2005 10:43 am
Location: Bonn, Germany
Contact:

unwanted style change when using guestbook and contact form

Post by Col. Kurtz » Sat Oct 13, 2007 9:57 am

Ok I've done the following: created a 2 column layout (leaving out the left sidebar) and a 3 column layout. made the 2 column layout the standard one and used the front page category plugin together with the Properties/Templates of categories plugin to have the 3 column layout on the front page only.
Now If I select the guestbook or contact form plugins, they show the 3 column layout. Why? And how can I change that?
Marc

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

Re: unwanted style change when using guestbook and contact f

Post by garvinhicking » Sun Oct 14, 2007 1:11 pm

Hi!

Because the "frontpage" actually means "when no category is selected". Sine when you call an external plugin, it is also not connected with a category, that layout shows up.

You might need to solve that by editing your index.tpl template and choose the right column variant by checking the $view variable (it is set to 'Frontpage' for the frontpage only).

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/

Post Reply