Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Send link to a friend - zem_contact
Is there any way with zem_contact_send_article to send the link to an article without first having to hit the send article link/button?
(which result in the url ?zem_contact_send_article=yes and then shows the form)
To make it a bit clearer. I want every article to show the send article form instead of showing the link to the form.
Can you do this?
Thanks
Peejee
Offline
#2 2009-07-07 12:17:35
- uli
- Moderator
- From: Cologne
- Registered: 2006-08-15
- Posts: 4,306
Re: Send link to a friend - zem_contact
Could you copy that form from the HTML source to where you need it and use TXP tags to make it link to the specific article?
In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links
Offline
Re: Send link to a friend - zem_contact
The quick and dirty way would probably be to add this just above the form:
<txp:php>
$_GET['zem_contact_send_article']='yes';
</txp:php>
Offline
Re: Send link to a friend - zem_contact
Thanks Ruud,
Off course that did the trick!
Offline
#5 2009-07-09 15:32:55
- Clayton
- Member
- Registered: 2009-06-12
- Posts: 14
Re: Send link to a friend - zem_contact
Thanks to peejee for thinking of this idea and thanks to Ruud for the solution. Am now using this method on my site. It’s better than clicking a link and then filling out the form (which might be at the bottom of a long article) and also doesn’t raise the duplicate content issue. THANK YOU!
Offline
#6 2009-08-31 19:15:56
- LArn
- New Member
- Registered: 2009-08-13
- Posts: 1
Re: Send link to a friend - zem_contact
I have a related question about zem_contact_send_article-
I’d like to have a ‘send this article’ link to a lightbox page with the form in it and am having trouble targeting the page (&zem_contact_send_article=yes) correctly to do it..
any suggestions?
Offline
Pages: 1