Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#145 2007-04-17 22:59:17
Re: zem_contact_reborn 4.0.3.19 (old version)
saszownik, the character set for all Textpattern pages should always be “utf-8”. If you use anything else, non-ASCII characters will be encoded incorrectly, see FAQ
Offline
#146 2007-04-18 07:41:20
- saszownik
- Member
- Registered: 2007-01-23
- Posts: 13
Re: zem_contact_reborn 4.0.3.19 (old version)
Unfortunatelly I just have iso-8859-2 encoding (after some changes in txp and database – when somebody send comment for article alle is correct, but zem_contact still problems – I try change this plugin for my us) Now I know it was wrong decision(change encoding), because I’ll have a problems with plugins. Thanks for Your advice.
regards,
saszownik
Offline
#147 2007-04-24 14:42:26
Re: zem_contact_reborn 4.0.3.19 (old version)
If you want to have name of input text in $zem_conatct_form instead of label
You can do this :
<txp:zem_contact_text name=“Invitation_de” label=“Votre nom” min=3 />
in $zem_conatct_form: we find: ‘Votre nom’ => Value and to change to find ‘Invitation_de’ => Value
The change is on this line in function zem_contact_text($atts):
elseif (ps($name)) { $zem_contact_form[$label] = $value; }
Should become:
elseif (ps($name)) { $zem_contact_form[$name] = $value; }
Regards
Last edited by Dragondz (2007-04-24 14:50:33)
Offline
#148 2007-04-24 15:22:58
Re: zem_contact_reborn 4.0.3.19 (old version)
Dragondz, you’re referring to a version 4.0.3.17 or even older of zem_contact_reborn. This topic is about the latest version 4.0.3.19 ;)
Offline
#149 2007-04-24 16:39:58
Re: zem_contact_reborn 4.0.3.19 (old version)
Hi ruud!
Sorry, but I’ve got some problems when I want to display separatly the errors messages.
So, as explain in your [very good] help, I’ll put this in my page :
<div id="error">
<txp:zem_contact to="zem
textpattern.com” form=“my_form” show_input=“0” show_error=“1” />
</div>
<div id=“inputform”>
<txp:zem_contact to=“zem@textpattern.com” subject=“Confirmation” copysender=“1” label=”“ form=“my_form” show_input=“1” show_error=“0” />
</div> <!— /inputform —>@
Ok. When I submit a blank mailerform, I don’t have any error messages (!!!) and the mailerform is shown again ( !!! )
Perhaps could you share with me your experience?
Thanks lot ruud for your [very] good work.
Note : using zem_contact_reborn version 4.0.3.19 (and waitting for your version 4.0.3.20 ! :)
Cheers,
Last edited by Pat64 (2007-04-24 16:42:32)
Patrick.
Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.
Offline
#150 2007-04-24 17:17:10
Re: zem_contact_reborn 4.0.3.19 (old version)
Patrick, apart from the show_input and show_error attributes, all the other attributes should be identical in both of the zem_contact tags:
<div id="error">
<txp:zem_contact to="you@example.com" form="my_form" show_input="0" subject="Confirmation" copysender="1" label="" />
</div>
<div id="inputform">
<txp:zem_contact to="you@example.com" form="my_form" show_error="0" subject="Confirmation" copysender="1" label="" />
</div>
I’ll change the plugin help a bit to make this clearer.
Last edited by ruud (2007-04-24 17:20:20)
Offline
#151 2007-04-24 17:25:40
Re: zem_contact_reborn 4.0.3.19 (old version)
Thanks Mate! It woks fine!
I discover your secret tag in your code : label=”“ ;))
For TXP comunity : you can make what you want in [THE GREAT] textpattern with this [very] secret [uncomment] txp tag : label=”“
:) :) :)
Thanks lot ruud, your’re my friend.
Regards,
Last edited by Pat64 (2007-04-24 17:26:46)
Patrick.
Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.
Offline
#152 2007-04-24 17:39:54
Re: zem_contact_reborn 4.0.3.19 (old version)
Argg!!! It works fine… but I’ve got 2 blocks of errors messages (!!!???!!!)
Patrick.
Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.
Offline
#153 2007-04-24 17:49:29
Re: zem_contact_reborn 4.0.3.19 (old version)
Can you post an URL to demonstrate the problem and the code you’re using in the template for the error forms and input forms?
Offline
#154 2007-04-24 18:01:11
Re: zem_contact_reborn 4.0.3.19 (old version)
Ya but it’s a [very] long code (sorry) :
In page :
<txp:zem_contact to="mary.f@textpattern.com" form="commande" show_input="0" subject="Confirmation" copysender="1" label="" />
<h1>Title level 1</h1>
<h2>Title level 2 :</h2>
<txp:zem_contact to="mary.f@textpattern.com" form="commande" show_error="1" subject="Confirmation" copysender="1" label="" />
my [zem_contact] form :
(...) some stupid code deleted (...)
Last edited by Pat64 (2007-04-24 18:38:23)
Patrick.
Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.
Offline
#155 2007-04-24 18:19:46
Re: zem_contact_reborn 4.0.3.19 (old version)
In the second zem_contact tag, set the show_error attribute to 0 instead of 1. You don’t want the errors to show there.
PS. you can remove the longest block of code above. It wasn’t needed for the diagnosis.
Last edited by ruud (2007-04-24 18:33:26)
Offline
#156 2007-04-24 18:41:24
Re: zem_contact_reborn 4.0.3.19 (old version)
ruud wrote:
In the second zem_contact tag, set the show_error attribute to 0 instead of 1. You don’t want the errors to show there.
Sorry ruud I’m very stupid :(
Thks lot again, Mate.
Cheers,
Patrick.
Github | CodePen | Codier | Simplr theme | Wait Me: a maintenance theme | [\a mi.ni.ma]: a “Low Tech” simple Blog theme.
Offline