Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#109 2007-11-30 21:32:31

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

Re: zem_contact_reborn 4.0.3.20

simsim wrote:

So I guess sending multiple recipients entered by users cannot be achieved with the current version of this plug-in?

Yes, it can, but you’ll have to fill the global variable $zem_contact_recipient with a comma separated list of recipient email addresses, based on the submitted form variables. There are several ways to do this. Either by putting the required bit of PHP code in the to_form or by hooking into the zemcontact.submit callback event and let a plugin do this. The details on how to accomplish this are left as an exercise to the reader, because…

One of the reasons why this isn’t part of ZCR is that it’s just too easy to abuse for spamming multiple recipients. Not spam as in advertising, but spam as in unwanted email. In fact, I don’t like the entire send_article functionality for that exact reason (it’s only there because it was present in earlier versions).

Offline

#110 2007-11-30 22:11:47

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

Re: zem_contact_reborn 4.0.3.20

I still think send article should be separated from ZCR. I don’t see how the two functions go together.

Offline

#111 2007-12-04 05:12:55

mattmikulla
Member
From: Nashville Tennessee
Registered: 2004-08-25
Posts: 281
Website

Re: zem_contact_reborn 4.0.3.20

I am trying to style or change the color of the “*” Asterisk in the form labels and I can’t figure it out. If possible I would like to wrap a span tag around the asterisk but the html tag shows up when viewing the page. Is there way to escape the html?

<p><txp:zem_contact_email label="Email: *" name="email" required="1" break="" /></p>

Art Rogue – Fine Art Photography

Offline

#112 2007-12-04 06:52:27

Logoleptic
Plugin Author
From: Kansas, USA
Registered: 2004-02-29
Posts: 482

Re: zem_contact_reborn 4.0.3.20

mattmikulla wrote:

I am trying to style or change the color of the “*” Asterisk in the form labels and I can’t figure it out. If possible I would like to wrap a span tag around the asterisk but the html tag shows up when viewing the page. Is there way to escape the html?

I tried the same thing and ran into similar problems. WCAG 1.0 accessibility guidelines (which are law in some countries) specify not to use color alone to convey information. I was trying to mark required fields in a way that would get picked up by screen readers, but couldn’t make it work.

Any advice, perhaps from the folks in countries with strict accessibility laws?

Offline

#113 2007-12-04 10:48: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.20

Can’t be done without hacking plugin code.

Offline

#114 2007-12-04 15:56:26

Logoleptic
Plugin Author
From: Kansas, USA
Registered: 2004-02-29
Posts: 482

Re: zem_contact_reborn 4.0.3.20

ruud wrote:

Can’t be done without hacking plugin code.

Thanks for the response. It would be great if non-visual required field markers were added as an option in a future version.

Offline

#115 2007-12-05 17:08:50

fiddle
Member
Registered: 2007-10-03
Posts: 87

Re: zem_contact_reborn 4.0.3.20

Hey Guys, how can I get rid of the Contact label over the form, or add a style class that label. Ive done it before, for some reason I cant see It now.. thanks

Offline

#116 2007-12-05 17:18:47

fiddle
Member
Registered: 2007-10-03
Posts: 87

Re: zem_contact_reborn 4.0.3.20

Nevermind, I got it.. Wow, dont know how I missed that.. thanks anyway..

Offline

#117 2007-12-06 16:18:47

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

Re: zem_contact_reborn 4.0.3.20

I guess it has been asked earlier, but is it possible to change the layout of the emailed form?

I have a subscription form with a table to make it organized. However, when emailed, all the data is just put under each other, resulting in the fact that I still have to rearrange all the forms.


Regards,

Joey

Offline

#118 2007-12-06 19:06:44

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

Re: zem_contact_reborn 4.0.3.20

Not possible, but definitely on the TODO for the next big version. However, to send email in a table format, you either have to be really good at reformatting plain text or use HTML. ZCR does not support sending HTML mail nor is that a goal.

Offline

#119 2007-12-09 10:13:11

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: zem_contact_reborn 4.0.3.20

Is it possible to create with javascript new fields within zem’s form?


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#120 2007-12-09 10:32:27

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

Re: zem_contact_reborn 4.0.3.20

No

Offline

Board footer

Powered by FluxBB