"Contact Form" + "Start Page" plugins

Creating and modifying plugins.
Post Reply
tpost
Regular
Posts: 77
Joined: Fri Sep 21, 2007 1:45 am

"Contact Form" + "Start Page" plugins

Post by tpost »

Hi Garvin et. al,

I have the "Properties/Templates of categories" and the "Start Page" plugins installed.

Just now, I installed the "Contact Form" plugin.

Right now, the "Contact Form" uses the "Start Page" category template.
Is it possible to specify which template the "Contact Form" uses?

Thanks for reading!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: "Contact Form" + "Start Page" plugin

Post by garvinhicking »

Hi!

Currently not easily, because the contact form simply places itself on whatever is defined as "start page". This is buried deep inside code, so they only way to have specific output is to query the various Smarty viarables inside a custom staticpage template and vary the output depending on if the contactform variables are set.

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