Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Using txp:variable to transfer data to a ZCR contact form
admi wrote #286747:
so I see – txp:article_custom shows the list of cars, and where do you put this –
<txp:variable name="salesitem" value='<txp:title />'...
You don’t have to do that, from the plugin adi_gps help
Examples
<txp:adi_gps />
- extract all GET/POST variables and duplicate them as TXP variables. No values are displayed.
<txp:adi_gps type=“post” />
- extract only POST variables and duplicate them as TXP variables. No values are displayed.
Just set up the URL Variable and call it as a txp:variable of the same name in your ZCR form.
Last edited by joebaich (2014-12-19 16:47:44)
Offline
Re: Using txp:variable to transfer data to a ZCR contact form
joebaich wrote #286751:
You don’t have to do that, from the plugin adi_gps help
Just set up the URL Variable and call it as a txp:variable of the same name in your ZCR form.
I have found an interesting solution. My ZCR is located at the Page Form “iframe” and section “call”. I use this
<a class="popup-with-form" href="<txp:site_url />call/<txp:article_url_title />">Ask a question or order a product</a>
Then in a message I get from the site I see the url
Page: /call/article-url
due to this
<txp:zem_contact_serverinfo name="REQUEST_URI" label="Page" />
An example here http://moeokno.by/led – red button (not in English though)
Offline
Re: Using txp:variable to transfer data to a ZCR contact form
admi wrote #287740:
An example here http://moeokno.by/led – red button (not in English though)
Lovely ! Good job.
Offline