xoops forums

digitalalias

Just popping in
Posted on: 2005/7/8 12:16
digitalalias
digitalalias (Show more)
Just popping in
Posts: 12
Since: 2004/11/10
#1

How to customize the Contact Form?

Hi,

I would like to add another section to the contact form, basically displaying some text and a picture. How do I do it?

In the file /modules/contact/index.php.. I created another php file and thought I could simply "include" it somewhere on between line 40-42. So I typed in "include 'map.php'".

But when it displays, the text is totally off. I guess I'm suppose to use "$contact_form->". Any suggestions?

pod

Quite a regular
Posted on: 2005/7/8 12:26
pod
pod (Show more)
Quite a regular
Posts: 301
Since: 2003/4/19
#2

Re: How to customize the Contact Form?

The easiest way to go about that would be to edit the contact form template, rather than the php files. You need to clone the template set first, set the new cloned templates as the default set in preferences, then edit the contact form template to suit your needs.

I can suggest a better alternative though, use Liase for your contact forms. With Liase you can add/edit custom fields, have multiple forms, insert html anywhere within the form & just basically have a lot more control over every aspect of your forms. You can find Liase here.

Hope this helps :)
www.myxoops.com - MyXoops Is Your XOOPS!

digitalalias

Just popping in
Posted on: 2005/7/8 16:52
digitalalias
digitalalias (Show more)
Just popping in
Posts: 12
Since: 2004/11/10
#3

Re: How to customize the Contact Form?

Thank you for that suggestion. This module is great! It's exactly what I needed.

landry

Just popping in
Posted on: 2005/7/30 5:18
landry
landry (Show more)
Just popping in
Posts: 22
Since: 2005/6/7 2
#4

Re: How to customize the Contact Form?

Hello

I want to change the email that the contact form is sent to. Can I do that w/o installing Liase?

thanks

sunsnapper

Friend of XOOPS
Posted on: 2005/7/30 9:23
sunsnapper
sunsnapper (Show more)
Friend of XOOPS
Posts: 403
Since: 2002/4/10
#5

Re: How to customize the Contact Form?

Landry,
Seriously, Liase is the way to go. Very easy to install and use. Highly recommended.

In fact, in the time it takes to read this message, you could be up and running with Liase... or close to it.

This has the added benefit of making it very easy for you to add additional forms down the road for anything else you might need.

If there is a way to do what you are asking with Contact Us (and I'm sure there's a way, if you are willing to do editing and configuring)... whatever that way is likely more time consuming than simply using Liase.

Liase is one of the most polished and professional modules available for Xoops.

Pick the version of Liase that matches your version of Xoops... either for XOOPS 2.0.13 or XOOPS 2.2 (I'm still using the old XOOPS so I am unable to recommend 2.2 yet... but, anticipate doing so soon).
Download Liase
......

sunsnapper

Friend of XOOPS
Posted on: 2005/7/30 9:26
sunsnapper
sunsnapper (Show more)
Friend of XOOPS
Posts: 403
Since: 2002/4/10
#6

Re: How to customize the Contact Form?

There might be an easy way to do what you are asking, though.

If the Contact Us module is sending an email to whatever email address you have set as your Administrator account... you could edit your User Profile for Administrator to a different email address.

I guess that's one way to do it.

But, I would still get Liase because it is just that cool.
......

Marco

Home away from home
Posted on: 2005/7/30 10:05
Marco
Marco (Show more)
Home away from home
Posts: 1256
Since: 2004/3/15
#7

Re: How to customize the Contact Form?

philou's Formulaire Module is another way to achieve your dream !
marco
Do synergy or die.

digitalalias

Just popping in
Posted on: 2005/7/30 12:20
digitalalias
digitalalias (Show more)
Just popping in
Posts: 12
Since: 2004/11/10
#8

Re: How to customize the Contact Form?

I would suggest that you use liaise and create a group for emailing.