Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2004-11-25 17:40:55

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: [outdated] zem_contact, flexible mailto form

Zem, can the extension be made to send the url of the page the form was used on? I’m looking at maybe using it on individual product pages on a non blog site, having the url would let me know what product page it was used on.

Thanks, Lee.

Offline

#14 2004-11-25 21:40:41

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: [outdated] zem_contact, flexible mailto form

> zem, one thing about the plugin yet. when i install it it shows quite messy. do you know what’s wrong with it?

There’s a bug in the Textpattern plugin editor; it doesn’t escape HTML properly. I raised this a while back, not sure if it’s fixed in svn.


Alex

Offline

#15 2004-11-25 23:05:29

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: [outdated] zem_contact, flexible mailto form

I’ve released a new version. It adds a <txp:zem_contact_serverinfo /> tag that can be used to include extra information in the email such as the user’s IP address, browser UA string, and the page URI. e.g:

<txp:zem_contact_serverinfo name="REQUEST_URI" label="Page" />

..will include the URI of the page containing the form.

BTW, on the astonishing $200 figure: most estimates peg professional programmers at 25 lines of bug-free code per day, or thereabouts. zem_contact contains around 250 lines of code and 100 lines of documentation. Do the math.


Alex

Offline

#16 2004-11-26 00:12:29

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: [outdated] zem_contact, flexible mailto form

Thank you Zem. You and your ilk make Txp go.

Offline

#17 2004-11-26 01:04:20

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: [outdated] zem_contact, flexible mailto form

Zem, soz but here is another idea. Could the “Email enquiry sent” message be a tag, so you can specify where on a page it’s displayed.

For example: If the form is several scrolls down a page and it’s submitted the page redisplays un scrolled, so the “Email enquiry sent” is not seen by the user (unless they scroll down).

From a usability point of view the user is missing the feedback that the message has been sent. Thanks again, Lee.

Offline

#18 2004-11-30 12:07:11

krik
New Member
Registered: 2004-08-08
Posts: 5

Re: [outdated] zem_contact, flexible mailto form

Indeed a useful plugin!

However, I can’t get it to output scandinavian caracters correctly. Is this not supported, or is it possible i need to confugure something on the server to get it working.

when i send a test message like this:
æ (aelig)
ø (oslash)
å (aring)

the recieved messagebody look like this:

&Atilde;ƒ&Acirc;&brvbar; (aelig)
&Atilde;ƒ&Acirc;&cedil; (oslash)
&Atilde;ƒ&Acirc;&yen; (aring)

edit: textile seemed to interfere a bit with this post converting the part with the received messagebody. dispalys corret now.

Last edited by krik (2004-11-30 12:33:55)

Offline

#19 2004-12-02 00:25:50

krik
New Member
Registered: 2004-08-08
Posts: 5

Re: [outdated] zem_contact, flexible mailto form

sorry for bumping, but it would be helpful to know if anyone got this plugin working with input in other languages than english, or if it is supposed to do that at all.

Offline

#20 2004-12-02 02:43:51

ramanan
Plugin Author
From: Toronto
Registered: 2004-03-12
Posts: 323
Website

Re: [outdated] zem_contact, flexible mailto form

Wait, so is this plugin the most expensive textpattern related thing to date?

Offline

#21 2004-12-02 10:05:45

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: [outdated] zem_contact, flexible mailto form

> Wait, so is this plugin the most expensive textpattern related thing to date?

A mere drop in the ocean.

VC200.


Alex

Offline

#22 2004-12-02 10:07:47

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: [outdated] zem_contact, flexible mailto form

Krik,

The plugin doesn’t know anything about i18n. Nor do I, come to think of it.

What happens if you set Textpattern to send email comments to the author, and enter similar characters in a comment?


Alex

Offline

#23 2004-12-02 11:16:56

krik
New Member
Registered: 2004-08-08
Posts: 5

Re: [outdated] zem_contact, flexible mailto form

The same characters in the emailed comments displays corectly.

Offline

#24 2004-12-02 12:29:10

ramanan
Plugin Author
From: Toronto
Registered: 2004-03-12
Posts: 323
Website

Re: [outdated] zem_contact, flexible mailto form

Does Textpattern set the encoding-type of the email perhaps, while your contact form doesn’t? Just a guess. Could be any number of things. I remember when there were only 255 characters in the whole wide world.

Offline

Board footer

Powered by FluxBB