Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#241 2008-02-26 21:20:05
- Phlip
- Member
- Registered: 2005-03-10
- Posts: 36
Re: zem_contact_reborn 4.0.3.20
I did that, getting this error:
Parse error: syntax error, unexpected ‘@’ in D… \txplib_misc.php(574) : eval()’d code on line 1
Offline
#242 2008-02-26 21:54:49
Re: zem_contact_reborn 4.0.3.20
If you’re using ‘this’ type of quotes, it won’t work. Copy paste this:
ini_set('sendmail_from', 'user@domain.com');
Offline
#243 2008-02-26 22:06:35
- Phlip
- Member
- Registered: 2005-03-10
- Posts: 36
Re: zem_contact_reborn 4.0.3.20
Duh, I should have known that. Thanks for your help. Got it working.
Offline
#244 2008-02-27 21:39:07
Re: zem_contact_reborn 4.0.3.20
HellO!
There is a way to do this:
Rather than:
<txp:zem_contact_text label="Nombre" break="" /><br />
<input type="text" maxlength="100" name="Name" class="zemText zemRequired" id="Name" /><br />
do this:
<input name="Name" id="Name" class="normal" onblur="toggleColor(this)" onfocus="toggleColor(this)">
Any idea?
Thanks in advance.
Last edited by robhert (2008-02-27 21:39:32)
Offline
#245 2008-02-27 22:00:42
Re: zem_contact_reborn 4.0.3.20
Not without hacking plugin code…. well, actually, you could do it with some Javascript. Modify the tag attributes in the browser after the page has loaded. Since these attributes you want to add are only relevant on the client side, it’s okay to add them client side.
Offline
#246 2008-02-27 23:32:04
Re: zem_contact_reborn 4.0.3.20
Thanks ruud, now I see the source code of the plugin and I know what I must change :D
Thanks a lot.
Regards,
Rob
Offline
#247 2008-03-05 16:09:01
Re: zem_contact_reborn 4.0.3.20
Hi every ones,
I think there are a little bug on ZCR i can’t send mail to mails that have this form : xxx@xxx-xxx.com zcr tell me it s not a valid host! why?
PS: sorry I re submitted the form and the mail has been sent!
Last edited by Dragondz (2008-03-05 16:16:40)
Offline
#248 2008-03-06 06:07:24
- Joey
- Member
- From: Netherlands
- Registered: 2005-01-19
- Posts: 257
Re: zem_contact_reborn 4.0.3.20
Is it not possible to set the required
attribute to <txp:zem_contact_radio />
?
By the way, what happened with the txp site? Only the homepage is working but the rest doesn’t work.
Regards,
Joey
Offline
#249 2008-03-06 07:09:41
Re: zem_contact_reborn 4.0.3.20
No, because ZCR makes radio buttons required by default. You can select which radio button should be checked by default. Homepage problems should hopefully be fixed later today. We’re having clean url problems ;)
Offline
#250 2008-03-06 10:54:59
- Joey
- Member
- From: Netherlands
- Registered: 2005-01-19
- Posts: 257
Re: zem_contact_reborn 4.0.3.20
Hmm, okay. But when radio buttons are required, why don’t I get a message that the radio button is empty when I don’t fill in one?
Regards,
Joey
Offline
#251 2008-03-06 15:03:19
Re: zem_contact_reborn 4.0.3.20
If you did not specify a default option in the form template (and you really should specify one), ZCR assumes it’s the first one if the user didn’t select anything.
Offline
#252 2008-03-07 12:43:57
- crowleyr
- Member
- From: Tallinn
- Registered: 2006-04-04
- Posts: 27
Re: zem_contact_reborn 4.0.3.20
ok getting this error:
Tag error: <txp:zem_contact to=“mail@mydomainhere.com” /> -> Warning: mail(): Bad parameters to mail() function, mail not sent. on line 230
I have checked mail.php this works fine.
what next ?
cheers
Offline