Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#136 2007-04-15 09:56:47
Re: zem_contact_reborn 4.0.3.19 (old version)
Ruud, any idea how to change the fieldset legend for each form? Seems the default is contact, and I’d like to change that for each fieldset…can’t see the best place to change that..
Offline
#137 2007-04-15 10:47:08
Re: zem_contact_reborn 4.0.3.19 (old version)
jstubbs, you can change the translation of the ‘contact’ string in the zem_contact_lang plugin. If you or anyone else thinks the default translation can be improved, feel free to make suggestions.
tinyfly, thanks for reporting what caused the problem.
Offline
#138 2007-04-15 11:11:04
Re: zem_contact_reborn 4.0.3.19 (old version)
Thanks Ruud. I am not sure what the translation should be per se, but on one contact form “contact” is fine, but in another form “registration” would be more appropriate, since its a registration form. I guess only one translation is possible?
Offline
#139 2007-04-15 14:12:46
- els
- Moderator

- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: zem_contact_reborn 4.0.3.19 (old version)
jstubbs, you can use the label attribute to set the fieldset legend!
Offline
#140 2007-04-15 14:27:57
Re: zem_contact_reborn 4.0.3.19 (old version)
What an idiot! I looked for it and did not see that label attribute….I was looking for the fieldset attribute. Doh! Thanks Els.
Offline
#141 2007-04-17 16:52:52
- millo
- Member
- From: Spain
- Registered: 2007-01-25
- Posts: 21
Re: zem_contact_reborn 4.0.3.19 (old version)
Hi,
I’ve just installed Zem Contact Reborn without the Language plug-in for Zem Contact Reborn because I already have installed MLP (Multi-Lingual Publishing Pack) which comes with it’s own Zem Contact Lang, it says (MLP strings plug-in for Zem Contact Reborn) however when I go into the help/detail page for Zem Contact Reborn I get the following error in red:
This plugin requires a separate language plugin called zem_contact_lang to be installed and activated to work properly.
Does anybody else have the same plugins installed and have the same error occur? I don’t know what I should do about this.
Thanks in advance.
Offline
#142 2007-04-17 17:44:45
Re: zem_contact_reborn 4.0.3.19 (old version)
When you have zem_contact_mlp installed, you don’t need zem_contact_lang (to be more precise: you can have only one of them active at the same time). Both serve a similar purpose, which is to provide translations.
Red lines of text in the plugin help are not error messages, they’re just warnings or very important bits of information. Red draws more attention than black text. You can ignore it because you’ve installed an zem_contact_mlp, which is an alternative for zem_contact_lang.
Last edited by ruud (2007-04-17 17:49:58)
Offline
#143 2007-04-17 19:38:13
- millo
- Member
- From: Spain
- Registered: 2007-01-25
- Posts: 21
Re: zem_contact_reborn 4.0.3.19 (old version)
Great Thanks Ruud, that get’s rid of my worry.
I’m just looking around and trying to find information on how to actually add a translation. Don’t suppose you can point me in the right direction?
Thanks! :-)
Offline
#144 2007-04-17 19:41:23
- saszownik
- Member
- Registered: 2007-01-23
- Posts: 13
Re: zem_contact_reborn 4.0.3.19 (old version)
Hi,
I’ve problem with contact form. My page is in iso-8859-2 encoding (for polish language) and when I try send form with polish signs I have info: “Message” contains invalid UTF-8 characters.
I must change something?
Offline
#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="zemtextpattern.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