Generalenquiry
#41
Posted 02 July 2006 - 01:11 PM
You have two ways to go on this.
You could adapt the snippet to output a table that uses existing tables styles in the Mollio template.
Or, you can add new styles for this table to the Mollio template, plus add the required class, div and/or span tags into the snippet.
Me, I'd give the first way a go. Then if it's not quite right for you, you can replicate the existing Mollio styles with slightly different names.
Best Regards, Lloyd Borrett.
#42
Posted 21 July 2006 - 10:40 AM
#43
Posted 13 August 2006 - 09:04 PM
My guess is I should put [ [ GeneralEnquiry ] ] (without spaces) in an empty document.
But when I do so, nothing is output. I only see what's put there by the template.
What am I doing wrong?
Anybody???
Edited by vw53a, 21 August 2006 - 04:54 AM.
#44
Posted 22 August 2006 - 12:21 PM
#45
Posted 22 August 2006 - 02:58 PM
#46
Posted 22 August 2006 - 03:02 PM
#47
Posted 24 August 2006 - 09:56 PM
The way I use it is to just the following in my document content:
[!GeneralEnquiry!]
Then make sure the document's 'Cacheable' value is not set.
Best Regards, Lloyd Borrett.
#48
Posted 16 September 2006 - 09:59 PM
i tried the GeneralEnquiry Form and the only thing i changed is the e-mail adress and the company name. before i try to change and add fields i would check if sending is ok but i get the following error message:
« PHP Parse Error »
PHP error debug
Error: mail(): SAFE MODE Restriction in effect. The fifth parameter is disabled in SAFE MODE.
Error type/ Nr.: Warning - 2
File: /home/httpd/vhosts/xxx.org/httpdocs/index.php(578) : eval()'d code
Line: 361
its
Version / 0.6.1 Final
Codename / Prelude
PHP / 4.3.9
Linux / 2.4.21-27.0.2.EL
Apache/2.0.46 (Red Hat)
#49
Posted 16 September 2006 - 10:12 PM
you need to ask your host what you can do....
#50
Posted 17 September 2006 - 03:23 PM
my isp set the SafeMode off and now the form is sent.
but there is another problem: the e-mail has no sender-name, the field from (Von:) is empty.
is this again a problem from the isp or from the script?
---
Header-Information:
Return-Path: <"<xxx"@gmx.ch>>
Delivered-To: 616-xxx@krei-sch.ch
X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on
copernicus.sui-inter.net
X-Spam-Level:
X-Spam-Status: No, score=0.2 required=4.0 tests=NO_RELAYS,TW_KT,
X_PRIORITY_HIGH autolearn=disabled version=3.1.3
Received: (qmail 3804 invoked by uid 48); 17 Sep 2006 17:12:33 +0200
Date: 17 Sep 2006 17:12:33 +0200
Message-ID: <20060917151233.3803.qmail@copernicus.sui-inter.net>
To: xxx@krei-sch.ch
Subject: Kontaktformular - General Enquiry
MIME-Version: 1.0
----
E-Mail:
Von:
Gesendet: Sonntag, 17. September 2006 14:58
An: xxx@krei-sch.ch
Betreff: Schaffhausen General Enquiry - General Enquiry
Content-type: text; charset=iso-8859-1 Content-Transfer-Encoding: 8bit From: sandra <ssandra@gmx.ch>
Reply-To: sandra <xxx@gmx.ch>
X-Priority: 1 X-Mailer: Etomite CMS 0.6 (Prelude) using PHP 4.3.9 mailer
NAME: sandra
EMAIL: xxx@gmx.ch
PHONE: 12345
COMPANY:
MESSAGE:
CONTACT PERMISSION: Do not contact me
---
#51
Posted 23 October 2006 - 09:17 PM
I've been asked if it is possible to get this snippet to send a copy of the email to a third party. For example, the email goes to your client who you built the web site for, but you'd also like a copy so that you can monitor how effective the inquiry form is.
Well sure it is. Just place the following code in the section where the header is built before the email is send, changing the name and email address to your details.
$webmasteremail = "Webmaster <webmaster@winenergy.com.au>"; $headers .= "Bcc: ".$webmasteremail."\r\n";
Best Regards, Lloyd Borrett.
#52
Posted 23 October 2006 - 09:28 PM
#53
Posted 23 October 2006 - 10:00 PM
#54
Posted 07 November 2006 - 07:31 AM
Nice snipet - working perfectly thank you.
I just need to make one of the fields optional instead of mandatory - how is this done please? I looked at the code but couldnt really figure it out, I took a few bits out that looked like it was making it mandatory - but it just screwed it up
Thanks!
Ben.
#55
Posted 24 March 2007 - 02:52 AM
"Content-type:text;"
to
"Content-type:text/plain;"
in order to get well formated email notifications.
deadline
#56
Posted 24 March 2007 - 03:43 AM
I personally stopped using this snippet a long time ago.
The one I use now is InquiryForm, see http://www.etomite.com/index.php?au...amp;showfile=44, which I've just been updating.
Best Regards, Lloyd Borrett.
#57
Posted 24 March 2007 - 01:02 PM
However, this snippet fits perfectly my needs...
I'll be adapting this one in order to store the customer fields into a database (SugarCRM as an example)
Have a good day.
deadline
#58
Posted 17 September 2007 - 11:19 AM
Attached Files
#59
Posted 17 September 2007 - 11:23 AM
#60
Posted 20 August 2008 - 02:21 PM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












