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

#61 2006-01-15 20:37:50

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Plug-in: zem_contact_reborn

thebombsite wrote:

Version .04 added.

The problem with those updates is that every time again I have to modify function zem_contact_gTxt. If ever this plugin will be properly adopted, it would be nice if this function could be sort of a standalone file (or plugin or whatever).

Offline

#62 2006-01-15 20:45:39

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

Re: Plug-in: zem_contact_reborn

Oddly Els, that has already been discussed so I shall find out what can be done about it.


Stuart

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

Offline

#63 2006-01-15 20:59:12

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Plug-in: zem_contact_reborn

Oddly Els, that has already been discussed

Sorry for that ;) and it’s not really a problem having to copy and paste a bit…

Offline

#64 2006-01-15 21:00:37

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

Re: Plug-in: zem_contact_reborn

Not discussed here I should say so you haven’t missed anything. ;)


Stuart

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

Offline

#65 2006-01-16 05:18:36

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: Plug-in: zem_contact_reborn

just me – or is this version not bolding the label of required field?

Offline

#66 2006-01-16 07:35:21

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Plug-in: zem_contact_reborn

I noticed that (but I don’t mind). It stopped working after v.02.

Offline

#67 2006-01-16 21:47:50

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

Re: Plug-in: zem_contact_reborn

You spotted that did you? It was decided that we shouldn’t be forcing bold text on people so all labels should be normal text (with the exception of “checkbox” which needs looking at). If you require bold text for any of the labels it should be your choice and done in CSS. I think that is the best solution. I’m open to argument though. ;)

New version .05 now allows sizing of the email input box from within the tag using the “size” attribute, and if an error is returned, entered values should be retained so that they don’t need entering again.

Anura is currently working on integrating his “select recipient” functions (I hope) and we are discussing methods of separating the “gtxt” function so that it doesn’t need to be copy/pasted each time there is an update. ;)

Apart from NeilA’s and mrdale’s request to be able to send a copy to the sender is there anything else needs looking at?


Stuart

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

Offline

#68 2006-01-16 22:00:20

nardo
Member
From: tuvalahiti
Registered: 2004-04-22
Posts: 743

Re: Plug-in: zem_contact_reborn

pls consider

  • id on form e.g. “zemContactForm”
  • a class e.g. “zemRequired” on required fields labels
  • class or id on the submit button
  • and perhaps something like current comment error handling, so that inputs with ‘errors’ can be highlighted using a background colour i.e. class of zemError added

otherwise, am I right in thinking you have to wrap lines in spans to be able to style? for example, using:

<code>
<txp:zem_contact to=“dest@example.com” label=” “ subject=“website response”>
<txp:zem_contact_textarea label=“Your comments” required=“yes” /><br />
<txp:zem_contact_text label=“Name” required=“yes” /><br />
<txp:zem_contact_text label=“Company” required=“no” /><br />
<txp:zem_contact_email /><br />
<txp:zem_contact_submit label=“Send response” />
</code>

  • how do I isolate the input associated with the submit button? (to style the background colour and font)
  • how do I indicate the required fields with styling?

thanks, in expectation of some magic dust!

Offline

#69 2006-01-16 22:19:39

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Plug-in: zem_contact_reborn

thebombsite wrote:

Apart from NeilA’s and mrdale’s request to be able to send a copy to the sender is there anything else needs looking at?

Ha Stuart, of course I’m going to misuse this to bump an old dream ;) I may be asking way to much so I won’t mind at all if you ignore this. I asked it a long time ago in the original plugin thread. It would be so nice, if you have more contact forms on one site in different languages, to show the users of each form/language error messages in their own language. I can set the labels and a thank you form for every contact form differently, all that is missing is the same possibility for the error messages. At the time I came to understand that this is not an easy thing to achieve, but maybe, just maybe, now that you are thinking about separating the gTxt function the probability of such a feature is coming a bit closer?

Offline

#70 2006-01-17 00:03:53

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

Re: Plug-in: zem_contact_reborn

@nardo – good ideas, check out version .06 and see if that solves it for you. I shall have to check on the error handling possibilities.

@Els – thought you might jump in while I was asking eh? :grin: I shall keep that in mind and see what can be done.

Last edited by thebombsite (2006-01-17 00:05:37)


Stuart

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

Offline

#71 2006-01-17 03:26:41

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

Re: Plug-in: zem_contact_reborn

Foreign character issues. I understand some work is being done on this. zem_contact and zem_contact_reborn both choke when a foreign character is used as a label or inside a drop down list, for example. Norwegian, French and Swedish characters have been mentioned.

Offline

#72 2006-01-17 03:50:16

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

Re: Plug-in: zem_contact_reborn

OK got that. I think a couple of your other issues may have been sorted.


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