Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2007-01-02 14:51:44
- toul
- Member
- Registered: 2006-12-12
- Posts: 18
Zem Contact Send Article
first: i wish you a happy new year!
sorry…for open up a new topic about zem_contact.
but for me as an newbie i got a problem running the send_article-attribut.
how can i get this feature running? after i pressed “send this article to a friend” nothing happend.
i post a piece of my form:
<txp:if_individual_article>
<h3><txp:permlink><txp:title /></txp:permlink> · <txp:posted /></h3>
<txp:body />
<p>— <txp:author /></p>
<txp:zem_contact_send_article=“yes” linktext=“send this article to a friend” />
<txp:else />
thank you for reading this :)
Last edited by toul (2007-01-02 16:26:02)
Offline
Re: Zem Contact Send Article
There is help info available for zem_contact_reborn which explains this functionality. See the tab plugins in your Textpattern installation.
Apart from the zem_contact_send_article tag, you also have to create a zem_contact form with the send_article attribute set to yes. And this form should contain at the very least a zem_contact_email tag with the name attribute set to receiver.
Last edited by ruud (2007-01-02 18:01:40)
Offline
#3 2007-01-02 19:35:10
- toul
- Member
- Registered: 2006-12-12
- Posts: 18
Re: Zem Contact Send Article
hey ruud…thank you. i try…are they any code examples?
i read the help but it seems to confuse for me…
i have no clue what kind of zem-tag is to put in my standard form and what i have to put in my zem_contact form!
Offline
#4 2007-01-02 19:45:53
- toul
- Member
- Registered: 2006-12-12
- Posts: 18
Re: Zem Contact Send Article
oohhh… i read carefully the help-tab-thing again:
in the article form i have placed:
<txp:zem_contact send_article=“yes” />
<txp:zem_contact_send_article linktext=“send this article to a friend” form=“zem_contact” />
and in my “zem_contact”-form:
<txp:zem_contact_email name=“receiver” />
i try harder…cause: Required field, “Receiver”, is missing.
:)
Last edited by toul (2007-01-02 19:50:07)
Offline
#5 2007-01-02 20:14:30
- toul
- Member
- Registered: 2006-12-12
- Posts: 18
Re: Zem Contact Send Article
shame on me…but now i get following error:
“To” email address is missing.
i know you gonna kill me ;)
Offline
Re: Zem Contact Send Article
My mistake…. this should work:
<txp:zem_contact send_article=“yes” form=“zem_contact” />
<txp:zem_contact_send_article linktext=“send this article to a friend” />
Last edited by ruud (2007-01-02 20:44:03)
Offline
#7 2007-01-02 20:49:27
- toul
- Member
- Registered: 2006-12-12
- Posts: 18
Re: Zem Contact Send Article
hey… :))))
thanks! now i know what i have done wrong. thanks ruud!
Offline
Pages: 1