Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » Plug-in: zem_contact_reborn

#91 2006-01-18 21:54:46

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Plug-in: zem_contact_reborn

@Jeremie – Sent.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#92 2006-01-19 22:38:14

deronsizemore
Member
From: Kentucky
Registered: 2005-11-02
Posts: 324

Re: Plug-in: zem_contact_reborn

I’ve got two questions on the “reborn” contact form.

1. After the form is processed is there any way to take you either to a page with just the “thank you” message or a way to simply display the “thank you” message above the form where your error messages are? I’m just being nit picky here, but you can see in these two previews: <a href=“http://www.deronsizemore.com/images/preview1.gif”>Preview 1</a> and <a href=“http://www.deronsizemore.com/images/preview2.gif”>Preview 2</a>. After the form is submitted it takes you to the “thank you” page (preview 2) which still has the “Note: all fields are required..” message at the bottom as well as my message in the right hand side of the page. These two things are not major issues, I was just curious if there is a work around?

2. The second thing is, am I missing it, or are there no class added to input when required=“no”, as there is when required=“yes”? I’ve got one more input field I’d like to add but it wont be required, and when it’s added the input field is smaller then the others because I’ve changed the width in the CSS for the required=“yes” ones using the zemRequired class.

Offline

#93 2006-01-19 23:06:40

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Plug-in: zem_contact_reborn

For your first problem can you show me the code for your form please.

The second problem. No, the additional classes are only added for “required=yes”. This is to enable people to maybe use bold text for the labels and maybe use a different border or background colour for the input boxes, however this is an extra class and all labels and inputs have a class or id of their own already. If what you want is to set the length of the input box why don’t you use the attribute “size=40” in each of the input tags? Wouldn’t matter if they were required or not then.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#94 2006-01-19 23:51:53

deronsizemore
Member
From: Kentucky
Registered: 2005-11-02
Posts: 324

Re: Plug-in: zem_contact_reborn

Sorry about that. I normally try to supply the code, but forgot. This is the code from my form and I’m using the reborn plugin.

<txp:zem_contact to="deronsideronsizemore.com”>@<br /> <p><txp:zem_contact_text required="yes" label="Name:" /></p><br /> <p><txp:zem_contact_email required="yes" label="E-Mail:" /></p><br /> <p><txp:zem_contact_text required="yes" label="Subject:" /></p><br /> <p><txp:zem_contact_textarea required="yes" label="Message:" /></p><br /> <p><txp:zem_contact_submit label="Send" /></p><br /> </txp:zem_contact> <br />

As for the second problem I could definitely do that. I didn’t realize you could use the “size” attribuite though. I’ve been trying to add a class to the txp input tag this whole time and banging my head on the wall cause nothing happens when I try to apply styles to that class. I’ll try the size attribute. I’m sure that will work.

Last edited by deronsizemore (2006-01-19 23:53:21)

Offline

#95 2006-01-20 00:11:07

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Plug-in: zem_contact_reborn

The “size” attribute is all I bother with on both thebombsite and my test site. Saves messing around with CSS.

I think the problem with your “Note” is that it is outside the tags. Try placing it just above that closing <code></txp:zem_contact></code> tag. That way it should dissappear along with the form when your “Thank you” message is displayed.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#96 2006-01-20 01:09:54

deronsizemore
Member
From: Kentucky
Registered: 2005-11-02
Posts: 324

Re: Plug-in: zem_contact_reborn

Ah, thanks! Again something so simple I should be slapped! That did it.

Offline

#97 2006-01-20 01:23:20

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Plug-in: zem_contact_reborn

Give me an address and I’ll send someone round. ;)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#98 2006-01-20 17:10:04

fpradignac
Plugin Author
From: France near Cognac
Registered: 2005-01-29
Posts: 359
Website

Re: Plug-in: zem_contact_reborn

… euh for french people and other ones ;-)

For the acces to thebombsite, you must “rewrite” clean url in your browser and use messy url.
For exemple here is the link to download zem_contact_reborn and so on.


françois

Offline

#99 2006-01-20 17:45:48

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Plug-in: zem_contact_reborn

OK thank you, I’ve changed the main link for the plug-in, but have you any idea why this happens and only for certain French visitors?


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#100 2006-01-20 18:14:46

fpradignac
Plugin Author
From: France near Cognac
Registered: 2005-01-29
Posts: 359
Website

Re: Plug-in: zem_contact_reborn

> thebombsite wrote:

> OK thank you, I’ve changed the main link for the plug-in, but have you any idea why this happens and only for certain French visitors?

Hello thebombsite,

well I haven’t any knowledge in the serverside marmelade ;-) but I think there’s here people that can understand what happens.


françois

Offline

#101 2006-01-23 03:54:41

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Plug-in: zem_contact_reborn

New version .08 with added “copysender” goodness and a fix for the bug which stopped “break” working for the email input.

Last edited by thebombsite (2006-01-23 03:55:00)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#102 2006-01-23 03:56:08

jdykast
Member
From: Tennessee
Registered: 2004-12-30
Posts: 119
Website

Re: Plug-in: zem_contact_reborn

Is it possible to add an error class to form elements that cause an error when the form is submitted? For example, my email address wasn’t formatted correctly and I submitted the form. The error will show up in <code>ul</code> but I’d like to be able to style the offending form element. I hesitate to ask but I don’t have the coding chops to work it out myself.

Offline

#103 2006-01-23 04:02:17

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Plug-in: zem_contact_reborn

Do you mean the actual inputs? I think this has been mentioned before when I was adding the other classes but I need to learn a bit more before I can mess with “errors” too much. Mind you, as I say, we have others working on this. I’m just doing the simple bits at the moment.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#104 2006-01-23 04:06:45

jdykast
Member
From: Tennessee
Registered: 2004-12-30
Posts: 119
Website

Re: Plug-in: zem_contact_reborn

Sure, the inputs or their labels, or both. I must say that I really appreciate the work that people put into this (and other) plugins – it makes Textpattern a pleasure to use and participate in.

Offline

#105 2006-01-23 04:13:05

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Plug-in: zem_contact_reborn

Well it’s on the “list” but please don’t hold your breath unless you are extremely good at it. ;)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

  1. Index
  2. » Archives
  3. » Plug-in: zem_contact_reborn

Board footer

Powered by FluxBB