Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#11 2007-02-19 11:06:39

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)

Parsing of tag attributes is done by TXP, so if it doesn’t accept linebreaks, that’s outside the scope of ZCR.

Adding extra info in the email can be done using the zem_contact_secret tag.
The next version of ZCR will have a more flexible way to create email layout.

Last edited by ruud (2007-02-19 11:07:11)

Offline

#12 2007-02-19 13:16:13

DigitalRealm
Member
From: Greenville, SC
Registered: 2006-07-22
Posts: 139
Website

Re: zem_contact_reborn 4.0.3.19 (old version)

Is there another place to download this new version? I am currently unable to download it from the link above. Seems to be a timeout problem with the server or something.

Offline

#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
From: Lenzing, Austria
Registered: 2005-06-06
Posts: 3,267
Website

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
Moderator
From: Walla Walla
Registered: 2004-11-19
Posts: 2,203
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
Moderator
From: Walla Walla
Registered: 2004-11-19
Posts: 2,203
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: 255

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

Board footer

Powered by FluxBB