Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2006-12-02 04:58:40

theturninggate
Member
Registered: 2004-11-07
Posts: 185
Website

Re: Plugin: zem_contact_reborn 4.0.3.18 (old version)

Tried the change. The article sends, but the character display problem remains. Also, it causes TXP to generate the following error several times at the top of the returned page after hitting the send button.

tag_error <txp:zem_contact send_article=“yes” form=“SENDARTICLE” label=“Send Article” thanks=“Article sent successfully. Thank you for sharing!” /> -> Warning: cannot yet handle MBCS in html_entity_decode()! on line 160

Offline

#14 2006-12-04 15:47:36

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Plugin: zem_contact_reborn 4.0.3.18 (old version)

Ruud, does your latest release of ZCR mean that pap_contact_cleaner is no longer required? Just ZCR and contact_lang?

Offline

#15 2006-12-04 17:58:02

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Plugin: zem_contact_reborn 4.0.3.18 (old version)

jstubbs, pap_contact_cleaner was never a required plugin. It can still be used with ZCR 4.0.3.18, although I suspect its effect is less noticable now that the nonce handling is fixed.

theturninggate, do you use HTML entities when writing articles or do these only appear when textile replaces characters like quotes with better looking alternatives?
Textile only replaces a few characters, so that’s relatively easy to undo. Send me an email and I’ll mail you a test version that does this (the forum does not play nice when I try posting html entities here).
A full-blown html-entity2utf8 conversion would require too much extra code.

Last edited by ruud (2006-12-04 17:59:41)

Offline

#16 2006-12-05 03:14:36

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Plugin: zem_contact_reborn 4.0.3.18 (old version)

Ruud, let me re-phrase – would you suggest using pap_contact_cleaner with your latest release of ZCR? One less plugin is a good thing ;-)

I don’t really know if its needed or not, hence the question….thanks.

Offline

#17 2006-12-05 03:26:12

fabo114
New Member
From: Athens, Greece
Registered: 2006-12-04
Posts: 4
Website

Re: Plugin: zem_contact_reborn 4.0.3.18 (old version)

Hello guys,

I’m using zem_contact_reborn to make a form and I have some validation issues.

1. I used the tag like this: <txp:zem_contact_select list=”,Sales,Support” />
to make the first item blank but I get a warning for an empty tag when validating. Is there a way so I can have both (a blank item and a valid page)?

2. I use this tag: <txp:zem_contact_text label=“Phone” /> but I get a warning: <input> anchor “phone” already defined

because of this code at the end of the form: <div style=“visibility: hidden”><input type=“text” name=“phone” value=”“ id=“phone” /><br /><input type=“text” name=“mail” value=”“ id=“mail” /></div>

I think this has to do with the standard fields the plugin creates but haven’t managed to make it go away.

Sorry if there’s a solution already somewhere in the forum but the search results gave nothing.

Offline

#18 2006-12-05 07:34:02

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Plugin: zem_contact_reborn 4.0.3.18 (old version)

fabo114
1. try adding a space before the first comma (I’ll fix this in the next version of ZCR)
2. that’s due to pap_contact_cleaner using the same name (‘phone’). Can be solved by explicitly setting the name attribute to something like ‘telephone’.

jstubbs
It prevents some spam. On the other hand, if someone visits your website using a browser like Lynx (which doesn’t support CSS), they’ll see the extra input fields, which could be a reason not to use it. So I guess it depends on what type of visitors you expect. On a non-tech website, I’d use it.

Last edited by ruud (2006-12-05 08:04:09)

Offline

#19 2006-12-05 15:16:50

fabo114
New Member
From: Athens, Greece
Registered: 2006-12-04
Posts: 4
Website

Re: Plugin: zem_contact_reborn 4.0.3.18 (old version)

ruud
Thanks for the quick reply.
1. I already tried that but the space doesn’t show up in the code (not sure why). Fortunately this isn’t a big deal.
I have another problem with this tag. I can’t make the label and the field to appear in seperate lines. All the other tags break but this isn’t.
2. Thanks, I got it fixed (I could change the names in pap_contact_cleaner but this is easier).

Offline

#20 2006-12-05 16:10:51

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Plugin: zem_contact_reborn 4.0.3.18 (old version)

fabo114, put this in your form:

break=”<br />”

And the label and field will appear on separate lines.

Offline

#21 2006-12-05 17:27:10

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Plugin: zem_contact_reborn 4.0.3.18 (old version)

Yikes… that’s so unlike TXP. Would anyone mind if we change that to break="br" ?

Offline

#22 2006-12-05 22:01:02

fabo114
New Member
From: Athens, Greece
Registered: 2006-12-04
Posts: 4
Website

Re: Plugin: zem_contact_reborn 4.0.3.18 (old version)

jstubbs
Thanks!…I used a “<br />” but not this way.

ruud
I tried like this but it shows “Titlebr” (“Title” is my label) and it doesn’t break.

Last edited by fabo114 (2006-12-05 22:07:06)

Offline

#23 2006-12-06 02:15:45

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Plugin: zem_contact_reborn 4.0.3.18 (old version)

ruud wrote:

Yikes… that’s so unlike TXP. Would anyone mind if we change that to break="br" ?

Hey Ruud, I agree with you, but when I did that it did not work, so I entered the full tag and it breaks nicely. ;-)

Offline

#24 2006-12-08 20:07:54

mwr
Member
From: Canada
Registered: 2006-01-31
Posts: 164
Website

Re: Plugin: zem_contact_reborn 4.0.3.18 (old version)

I’m getting an error message after submitting the form that doesn’t make sense (to me, at least):

“shaw.ca” is not a valid email host.

Other people have reported the same problem for other domains such as kpcorp.com and yahoo.com.

A solution would be much appreciated.


Mark

Offline

Board footer

Powered by FluxBB