Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#409 2006-03-30 14:39:48
- alannie
- Member
- From: Minnesota, USA
- Registered: 2005-09-15
- Posts: 150
Re: Plug-in: zem_contact_reborn
.co is the domain for Colombia, so technically, me@mypost.co is a valid address. Not sure about me@mypost.c though.
Offline
#410 2006-03-30 18:42:11
Re: Plug-in: zem_contact_reborn
Stuart,
or coder type people,
How hard would it be to add a parameter for the id’s of the input to be specified:
ie: input id=“contact-message”
I have a contact form on every page, and then when i have the TXP default comments form, they don’t validate because of the id’s
Any thoughts or ideas?
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
#411 2006-03-30 18:49:37
Re: Plug-in: zem_contact_reborn
Rather than mess with the plug-in code why don’t you surround the form with a div and use conditionals like:-
<code>
<txp:if_section name=”“>
<div id=“home”>
<txp:else />
<div id=”<txp:section />”>
<txp:if_section></code>
<br />
or similar or if you use that for you “body” tag or something use “div class=” instead?
Last edited by thebombsite (2006-03-30 18:52:16)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#412 2006-03-30 19:16:20
Re: Plug-in: zem_contact_reborn
Stuart,
Its not a div I need to rename, but the inputs.
I can’t change that with html or css, its a code thang.
:)
Matthew
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
#413 2006-03-30 19:26:32
Re: Plug-in: zem_contact_reborn
Yes I understood that, but if you surround the form with a div that has a different class or id depending on which page you are looking at you can use something like “#home form#zemContact input#email” and only the first bit – “#home” – needs to change for ALL your inputs. Did I explain that properly?
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#414 2006-03-30 21:20:33
Re: Plug-in: zem_contact_reborn
Stuart,
That works for styling. It doesn’t change validation though right?
Maybe this is some html trickery I didn’t know about?
The area in question is here: artiswork.org/word/daily-bread
Sorry if I am belaboring a point Stuart, and there’s something I don’t get?
:)
Matthew
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
#415 2006-03-30 21:28:16
Re: Plug-in: zem_contact_reborn
Oh I see. Now why didn’t you put that link in in the first place? ;)
I need to think. Hang on.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#416 2006-03-30 21:33:09
Re: Plug-in: zem_contact_reborn
:) Sorry about that Stuart. One begins to think of you as some sort of Lord of Zem Reborn and we end up intuiting things more than writing them down clearly.
Thx.
M
- I am Squared Eye and I
am launchinghave launched Pattern Tap
Offline
#417 2006-03-30 21:35:53
Re: Plug-in: zem_contact_reborn
I’ll have you know that according to one comment on my blog today I’m merely a god. ;)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#418 2006-03-30 21:42:30
Re: Plug-in: zem_contact_reborn
Use the name=“whatever” attribute. The id will use the $name value.
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline
#419 2006-03-31 16:57:58
Re: Plug-in: zem_contact_reborn
Feature request: Can you make it so that the zem_contact_submit
can take the attribute src=""
and if it has a src the type should be changed to type="image"
instead of type="submit"
? This would allow for image submit buttons like the submit button on this page.
Refresh Dallas and other Refreshing Cities.
Offline
#420 2006-03-31 19:56:08
Re: Plug-in: zem_contact_reborn
Thanks for that tinyfly. I’m still learning with this “button element”. I’ll work it into .18 but wouldn’t we also require a “type” attribute to change from “submit” to “image”? And whilst I’m thinking about it, will an empty <code>src=”“</code> validate assuming someone is using the default type=“submit”? And by validate I do mean Strict.
Last edited by thebombsite (2006-03-31 19:59:31)
Stuart
In a Time of Universal Deceit
Telling the Truth is Revolutionary.
Offline