Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#361 2008-06-20 20:07:12
Re: zem_contact_reborn 4.0.3.20
Julián, I’d rather break backward compatibility than add an attribute for that ;)
If it really bothers you, it’s very simple to remove the divs from the plugin code or move them to a different place.
Offline
#362 2008-06-20 20:28:00
Re: zem_contact_reborn 4.0.3.20
No problem, ruud! Thanks anyway!
I will take a look into the plugin code, squash that div and then feel like Kempes and Bertoni in 1978 World Cup
Last edited by maniqui (2008-06-20 20:28:09)
Offline
#363 2008-06-27 10:19:56
Re: zem_contact_reborn 4.0.3.20
Thanks for the great Plugin… I have a rather stupid problem: I can’t get rid of the border around the form. I tried to adress it via the “zemContactForm”-Class but the border-tag doesn’t work – can anybody give me a hint with which tag I can adress this issue?
Thanks in advance!
/// blog ///
Offline
#364 2008-06-27 11:41:54
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: zem_contact_reborn 4.0.3.20
You need
fieldset {border: 0;}
in the CSS.
Offline
#365 2008-06-27 13:48:37
Re: zem_contact_reborn 4.0.3.20
thank you for the immediate answer! that was exactly what I was looking for!
/// blog ///
Offline
#366 2008-06-27 16:26:07
Re: zem_contact_reborn 4.0.3.20
It’s easier to just set the label attribute to an empty string.
Offline
#367 2008-06-30 18:12:36
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: zem_contact_reborn 4.0.3.20
I have seen several posts on this, but cannot seem to get it to function.
All I want to do is “send to” more than one recipient. Is there a trick? I have entered three addresses sepeparetd by comma’s, but it seems only to send to one …
progre55
Offline
#368 2008-07-04 19:09:56
Re: zem_contact_reborn 4.0.3.20
Just a simple question:
any variable to include the sender’s name in the subject?
I just modified zem_contact_lang to this:
'email_subject' => "[$var1 Website] ",
but a client wants the name of the sender included in the subject.
and I’m not sure how to include the name, supposing the name is a required field.
Any idea?
Thx
Last edited by duchamp (2008-07-04 19:10:36)
Offline
#369 2008-07-05 06:50:06
Re: zem_contact_reborn 4.0.3.20
See the plugin help
Only instead of the zem_contact_select tag, you could use a zem_contact_text tag there.
Offline
#370 2008-07-05 14:13:48
Re: zem_contact_reborn 4.0.3.20
ruud wrote:
See the plugin help
Only instead of the zem_contact_select tag, you could use a zem_contact_text tag there.
Thanks a lot ruud! I’m Going to try it!
Offline
#371 2008-07-06 10:08:24
- mauricenaef
- Member
- Registered: 2008-01-31
- Posts: 23
Re: zem_contact_reborn 4.0.3.20
hi there
is it possible to have multiple fieldsets with this plugin? It somehow doesn’t work for me and I’ve found nothing in the search or comments.
Thanks for the quick reply and regards Marcel
Offline
#372 2008-07-06 10:40:25
Re: zem_contact_reborn 4.0.3.20
Set the “label” attribute to an empty string in the zem_contact tag. You can then create your own fieldsets in HTML code.
Offline
#373 2008-07-22 22:24:37
Re: zem_contact_reborn 4.0.3.20
I have implemented this plugin just fine on several hosts. I have a new site on fasthosts.co.uk, and in the diagnostics I see:
The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: pass_thru, pcntl_exec, proc_close, proc_get_status, proc_nice, proc_terminate, pclose, pfsockopen, posix_kill, posix_mkfifo
The form seems to work fine (www.saatchishul.org/contact), but it never sends an email!
I realize there’s not much to go on, but any ideas what might be the issue? I don’t see any of those functions in the plugin code…maybe some other server issue getting in the way?
Thanks
UPDATE: I found this sample script on the fasthosts site:
Provided that you set the sendmail variable, before attempting to send the email. Specify the from address as a fifth parameter in the sendmail function, and the email is either to, or from, a Fasthosts hosted email address you should have no problems.
<?php
ini_set(‘sendmail_from’, $email_from);
$email_to = “bob@bobsdomain.co.uk”;
$name =$_POST[‘name’];
$email_from =$_POST[‘email’];
$email_subject = “Feedback from website”;
$comments = $_POST[‘message’];
$headers =
“From: $email_from .\n”;
“Reply-To: $email_from .\n”;Now lets build the message of the email with the users name and comments.
$message= “Name: “. $name . “\nComments: “ . $comments;
Finally, let’s send the email. If the email is sent we will go to a thank you page, if there is an error we will display a brief message.
$sent = mail($email_to, $email_subject, $message, $headers, ‘-f’ .$email_from);
if ($sent)
{
header( “Location: http://www.bobsdomain.co.uk/thankyou.html” );
} else {
echo ‘There has been an error sending your comments. Please try later.’;
}
?>example sendmailscript form
This script does not have any validation or error checking, so it is not recommended that you copy it directly to your website, however, it does show the basics of sending email from our webservers, and can be used as a framework for your own scripts.
Using third party scripts to send email
Third party scripts using sendmail will also work on Fasthosts servers, although some will need slight changes made in order to work correctly.If you are using a third party script to send email remember to set the sendmail_from variable (using ini_set(‘sendmail_from’,email_from)), add the fifth -f parameter, and send the email either to, or from, a Fasthosts hosted email address.
This all seems helpful, but I’m wary of editing the plugin code — any guidance much appreciated!
LAST UPDATE I promise:
I edited this line:
if (mail($to, $subject, $msg, $headers))
to read:
if (mail($to, $subject, $msg, $headers, '-fme@mydomain.org'))
except with a real email address. I don’t really get why this worked, but it seems to have, so mabe it will help someone else.
Cheers!
Last edited by nabrown78 (2008-07-22 22:58:19)
Offline
#374 2008-08-07 15:02:22
Re: zem_contact_reborn 4.0.3.20
I am coding a site at the moment where the customer would like to place some text into the email field which means I need to set “value”, however it seems I can’t do this as there is no “value” attribute even though value=”“ shows up in the source. Anyway that this can be done?
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#375 2008-08-07 16:51:21
Re: zem_contact_reborn 4.0.3.20
There is a ‘default’ attribute, although perhaps that behaves a bit different from what you’re asking.
Offline