Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#457 2008-10-26 18:56:03
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: zem_contact_reborn 4.0.3.20
Thanks. No idea where to find those… I’ll have to contact the host I guess.
Offline
#458 2008-10-29 10:10:28
Re: zem_contact_reborn 4.0.3.20
I using zem_contact_send_article.
After clicking the send article link the contact form appears in every article of the page.
How can I prevent it?
Visit my Textpattern sites:
Northerndelight | Hasenbude
Curiculum Vitare | Rezepteblock
Offline
#459 2008-10-29 10:14:14
- SebastianS
- Member
- From: Australia
- Registered: 2007-10-05
- Posts: 46
Re: zem_contact_reborn 4.0.3.20
I asked a similar question to this a while ago but I will ask it a different way and maybe one of you php wizes’ may be able to help me.
I want to link two buttons, a send email form:-
<txp:zem_contact to="XXXX@XXXXXX"> <txp:zem_contact_text label="Name... " break="" /> <br /> <txp:zem_contact_email break="....." /> <txp:zem_contact_textarea label="Question 1" break="" /> <txp:zem_contact_textarea label="Question 2" break="" /> <txp:zem_contact_textarea label="Question 3" break="" /> <txp:zem_contact_textarea label="Birth Date" /> <txp:zem_contact_submit label="Send" /> which question is most important to you? <txp:zem_contact_select list="1,2,3" label=""/> </txp:zem_contact> Which gives a send button
and Paypal Buy Now button
<form name=”_xclick” action=“https://www.paypal.com/cgi-bin/webscr” method=“post”>
<input type=“hidden” name=“cmd” value=”_xclick”>
<input type=“hidden” name=“business” value=“me@mybusiness.com”>
<input type=“hidden” name=“currency_code” value=“USD”>
<input type=“hidden” name=“item_name” value=“Email Reading”>
<input type=“hidden” name=“amount” value=”$30.00”>
<input type=“image” src=“http://www.paypal.com/en_US/i/btn/btn_buynow_LG.gif” border=“0” name=“submit” alt=“Make payments with PayPal – it’s fast, free and secure!”>
</form>
Which gives a
I want to be able to click a “buy now button” which simutaneously activates both the “send email button”, and “buy now button”.
Any help would be very much appreciated.
Offline
#460 2008-10-29 10:30:20
Re: zem_contact_reborn 4.0.3.20
Will there be an option to upload and send a file for this plug-in in the future.
Offline
#461 2008-10-29 10:40:27
- SebastianS
- Member
- From: Australia
- Registered: 2007-10-05
- Posts: 46
Re: zem_contact_reborn 4.0.3.20
Olli wrote “Will there be an option to upload and send a file for this plug-in in the future”.
Hi Oliver,
Um are you replying to my post? Yes except I would’d have a clue how to make a plugin, maybe one makes the php script and wraps it in the “plugin ‘compiler” I’m thinking aloud!
Offline
#462 2008-10-29 12:59:35
Re: zem_contact_reborn 4.0.3.20
One question concerning support of multiple languages for “thanks” and errors. I went through the forum and found only one approach in the French section, but it shoots “Unknown tag attribute” at me when I try it.
Now, there is no problem to use a different thanks message for different forms, as there is a tag attribute for this. What I need is a similar solution for all status/error messages.
Does anyone know a workaround for this?
Offline
#463 2008-10-29 14:42:55
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: zem_contact_reborn 4.0.3.20
datorhaexa wrote:
I went through the forum and found only one approach in the French section, but it shoots “Unknown tag attribute” at me when I try it.
Maybe you should contact François about that, I’ve been using his solution for a while in the past and it worked at the time.
If your contact forms are in different sections, you might try my workaround posted here. If not, it might even work using a custom field to set the language, and replace if_section with if_custom_field (the form would need to be in an individual article context in that case).
Last edited by els (2008-10-29 14:45:45)
Offline
#464 2008-10-29 15:19:10
Offline
#465 2008-11-04 09:02:56
Re: zem_contact_reborn 4.0.3.20
I want the name of the article (<txp:title />) to appear in a <txp:zem_contact_text /> field as the default=“value”. Is that possible?
Thanks for any help.
Offline
#466 2008-11-04 09:46:25
Re: zem_contact_reborn 4.0.3.20
keukenkikker wrote:
I want the name of the article (<txp:title />) to appear in a <txp:zem_contact_text /> field as the default=“value”. Is that possible?
Thanks for any help.
If using svn version just enter txp tag inside value, surround it by single quotes: <txp:zem_contact_text value='<txp:title />'/>
If you are using last release (4.0.6) try plugin asy_wondertag: <txp:asy_wondertag><txp:zem_contact_text value="<txp:title />"/></txp:asy_wondertag>
Last edited by the_ghost (2008-11-04 09:46:55)
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
#467 2008-11-04 10:12:09
Re: zem_contact_reborn 4.0.3.20
Thank you! I used the asy_wondertag with <txp:asy_wondertag><txp:zem_contact_text value=”<txp:title />”/></txp:asy_wondertag> (using value gave an error message).
There’s only one thing left, the title “Awa Sow” is translated as “Awa Sow”. Is there a way to have the space entered instead of this code?
Offline
#468 2008-11-04 10:41:10
Re: zem_contact_reborn 4.0.3.20
Sharon, try disabling the “Prevent widowed words in article titles?” advanced preference.
Offline