Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#133 2005-09-15 17:08:17

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: [outdated] zem_contact, flexible mailto form

It is possible to use an image instead of normal send button?

You can, but it will not function for ie.

A rough guide example:

<code>html>body #submitcontainer input.contact_button{width:120px;height:50px;
background:url(/images/190.png) no-repeat;border:0px;
text-indent:-1000em;
margin-top:20px;
margin-left:235px;
cursor: url(/images/196.gif), pointer;}

html>body #submitcontainer input.contact_button:hover{width:120px;height:50px;
background:url(/images/191.png) no-repeat;border:0px;
text-indent:-1000em;
margin-top:20px;
margin-left:235px;
cursor: url(/images/196.gif), pointer;}</code>

Jamie

Offline

#134 2005-09-15 17:30:33

soulship
Member
From: Always Sunny Charleston
Registered: 2004-04-30
Posts: 669
Website

Re: [outdated] zem_contact, flexible mailto form

For ie you can style it somewhat with background and text color:

<code>input.contact_button {background-color: #EEEFEF;color:red;}</code>

@ma_smith

Not without hacking the plugin code. But with some hacks it will validate x1.1. except for the drop downs.

Last edited by soulship (2005-09-15 17:42:06)

Offline

#135 2005-09-25 17:02:13

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: [outdated] zem_contact, flexible mailto form

Zem, will you be updateing or adding to this plugin? Thanks, Lee.

Offline

#136 2005-09-30 02:16:12

squaredeye
Member
From: Greenville, SC
Registered: 2005-07-31
Posts: 1,495
Website

Re: [outdated] zem_contact, flexible mailto form

Zem or anyone,

I am using the following: in an article:
<code>
<txp:zem_contact mailto=“matthew@artiswork.org”>
<txp:zem_contact_select label=“Deliver To” selected=“Dave Braud – Admin/Worship” list=”,Geoff Bradford – Pastor, Steve Huber – Assistant Pastor, Steve Lutz – University Pastor, Dave Braud – Admin/Worship, Nick – Intern, Christine Edwin – Finances” /><br/>
<txp:zem_contact_text label=“Your Name” />
<txp:zem_contact_email label=“Your Email” /><br />
<txp:zem_contact_textarea label=“Message” /><br />
<txp:zem_contact_submit label=“Send” />
</txp:zem_contact>
</code>

The emails send well, but the “selected” does not display who was selected in the email that is sent. Any Ideas:

For instance: If “Geoff Bradford – Pastor” is selected in the drop down menu I get the following message in the email (notice that NOTHING shows up in the Deliver To: section.

Deliver To:
Your Name: Jimmy
Your Email: jimmy@jimbo.com
Message: hello


Offline

#137 2005-09-30 06:09:34

Destry
Member
From: Haut-Rhin
Registered: 2004-08-04
Posts: 4,909
Website

Re: [outdated] zem_contact, flexible mailto form

I’m guessing that since zem hasn’t made a post in here now (his plugin thread) for near four months, yet has been fairly active in the boards lately since the release of 4, you all might surmise one of three things:

  1. zem_contact is slated to be integrated in the next release (4.0.2, or perhaps the one thereafter), and he’s sitting on this news.
  2. Your asking questions that are perhaps already answered somewhere else. (I’m just supposing.)
  3. zem is not giving anymore support for this plugin. (or perhaps not without cash)

Of course we all except any situation it might be, because zem usually has good reasons for what he does, it would just be nice to know what it is. There’s been a lot of unanswered questions since zem last dropped in here, 38 posts ago.

Offline

#138 2005-09-30 08:06:16

creativesplash
Member
From: Coimbatore, India
Registered: 2005-01-19
Posts: 283
Website

Re: [outdated] zem_contact, flexible mailto form

I had the same thoughts as Destry. The forum statistics say that Zem doesn’t <strike>visit</strike> post in the plugin section that frequently. Infact I was going to make a Plugin Update Request and then decided against it. I’m sure Zem has cooked up something but hasnt found the time yet to post back. :) Go Go Zem :)


“Take a point, stretch it into a line, curl it into a circle, twist it into a sphere, and punch through the sphere.”

— Albert Einstein

Offline

#139 2005-10-05 14:51:16

Anton
Plugin Author
From: Alingsås, Sweden
Registered: 2004-11-16
Posts: 138
Website

Re: [outdated] zem_contact, flexible mailto form

To all of you who are experienceing problems with international characters (e.g. the form populates with weird characters after submitting a zem_contact form when required data is missing), you’ll probably have to use <code>utf8_decode($v)</code> here and there. that’s what i had to do anyway.

hope it helps someone..

Offline

#140 2005-10-05 15:17:33

andreas
Member
Registered: 2004-02-28
Posts: 453
Website

Re: [outdated] zem_contact, flexible mailto form

you’ll probably have to use utf8_decode($v) here and there.

Could you be more specific? I don’t know enough PHP to find the heres and theres myself.

Offline

#141 2005-10-09 10:41:04

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

Re: [outdated] zem_contact, flexible mailto form

ma_smith, the answer to the question was on page 2 of this thread:

Find: (line 189 or there abouts)

<code>$v = (ps($name) ? ps(name) : $selected);</code>

Replace it with:
<code>$v = (ps($name) ? ps($name) : $selected);</code>

Just a $ missing.

I had the same problem this morning and just went through the forum to find the answer. Hope it helps. I fixed my problems with the select.

Offline

#142 2005-10-15 11:33:39

Anton
Plugin Author
From: Alingsås, Sweden
Registered: 2004-11-16
Posts: 138
Website

Re: [outdated] zem_contact, flexible mailto form

andreas: sorry for the late reply.. i wasn’t too sure the changes i made did the trick and still don’t know actually (since Outlook seems to be an issue of its own here..) i’ll reply as soon as i know more, with the changes i made.

Offline

#143 2005-10-27 13:07:22

tranquillo
Archived Plugin Author
Registered: 2005-03-07
Posts: 127
Website

Re: [outdated] zem_contact, flexible mailto form

bartekk wrote “if I use this <code><txp:zem_contact form=“email” mailto=“my@email.com” thanksform=“thanks” /></code> in the article excerpt i get only email as output.”

I had the same problem. If you change $Form on line 17 in the plugin code to $form, it works.

Offline

#144 2005-10-27 18:06:52

aesop1
Archived Plugin Author
Registered: 2004-09-19
Posts: 142

Re: [outdated] zem_contact, flexible mailto form

hmm. I don’t know if this is an issue, bartekk, but I don’t see an open zem contact tag. You have a single, closed version that is calling your form and then a <code><txp:zem_contact /></code> at the very end of your form contents. Maybe make sure you have your beginning and end tags for zem_contact within your form and then call the plugin with <code><txp:output_form /></code>?

Offline

Board footer

Powered by FluxBB