Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2007-02-19 13:33:22

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

Re: zem_contact_reborn 4.0.3.19 (old version)

@digitalrealm: the link is fixed now.

Offline

#14 2007-02-19 16:46:04

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: zem_contact_reborn 4.0.3.19 (old version)

Thanks, Ruud. The “jump to success/failure messages” feature is a real blessing.

Furthermore,

Last edited by wet (2007-02-19 16:46:29)

Offline

#15 2007-02-19 17:00:04

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: zem_contact_reborn 4.0.3.19 (old version)

>ruud said

The next version of ZCR will have a more flexible way to create email layout.

This is a godsend. I have a few big forms that look really crappy in email. Any thoughts on how this will be implemented?

Offline

#16 2007-02-19 17:54:45

azw
Member
Registered: 2007-01-29
Posts: 279

Re: zem_contact_reborn 4.0.3.19 (old version)

Thanks Ruud!

I look forward to the new XCR!

It’s good to know that parsing of tag attributes in general may not work with line breaks.

Offline

#17 2007-02-19 20:02:40

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

Re: zem_contact_reborn 4.0.3.19 (old version)

mrdale, it will be implemented using a regular TXP form that you can use to define the exact layout, similar to the subject/to/from forms, inserting form values with a tag like <txp:zem_contact_value /> that has attributes like ‘label’ or ‘name’ to select the desired value.

I also plan on adding a conditional tag so the layout can be adjusted depending on whether a certain form value is empty or not or contains a specified value. This will also make it possible have a different layout for the mail that is sent to the sender (copysender).

Because it’s a normal parsed TXP form it’ll accept any other TXP tag as well (as long as they output plain text). Emails are sent in text/plain format, so unlike HTML whenever you insert a linebreak (CRLF, not <br />) it will show as a linebreak in the email.

Offline

#18 2007-02-19 22:00:02

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,215
Website

Re: zem_contact_reborn 4.0.3.19 (old version)

>ruud

Nice approach. I’m looking forward to this feature. Thanks for your hard work.

Offline

#19 2007-02-21 14:21:35

Joey
Member
From: Netherlands
Registered: 2005-01-19
Posts: 257

Re: zem_contact_reborn 4.0.3.19 (old version)

Is it possible with this plugin to create a dropdown “to”-list and let the visitor select to wich departement an email has to go?


Regards,

Joey

Offline

#20 2007-02-21 14:38:57

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

Re: zem_contact_reborn 4.0.3.19 (old version)

Joey, take a look at the advanced examples in the plugin help (admin -> plugins tab). There’s an example there that does exactly what you want.

Last edited by ruud (2007-02-21 14:39:15)

Offline

#21 2007-02-21 16:26:31

Joey
Member
From: Netherlands
Registered: 2005-01-19
Posts: 257

Re: zem_contact_reborn 4.0.3.19 (old version)

Maybe I wasn’t clear in my previous post, but I want to connect an emailaddress to each option in the <txp:zem_contact_select /> tag. So the email goes to the correct emailaddress (the to attribute becomes a variable). I can’t find such an example in the help?


Regards,

Joey

Offline

#22 2007-02-21 16:39:01

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

Re: zem_contact_reborn 4.0.3.19 (old version)

You were perfectly clear…. First make sure that you’re using the 4.0.3.19 version of this plugin, which has a much improved plugin help. If you use an older version, please upgrade.

The example is in the “advanced examples” section of the help and is called “User selectable recipient, without showing email addresses”.

Offline

#23 2007-02-21 18:09:49

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

Re: zem_contact_reborn 4.0.3.19 (old version)

Just wanted to say thanks for your work on this plugin, I’m using the new version without problems.

Offline

#24 2007-02-21 19:46:28

Joey
Member
From: Netherlands
Registered: 2005-01-19
Posts: 257

Re: zem_contact_reborn 4.0.3.19 (old version)

Thanks Ruud, I was indeed using 4.0.3.18. The new one has a very nice help, and it contains exactly what I was looking for. Thanks for the great work!


Regards,

Joey

Offline

Board footer

Powered by FluxBB