Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2014-12-19 16:44:03

joebaich
Member
From: DC Metro Area and elsewhere
Registered: 2006-09-24
Posts: 507
Website

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

#14 2015-01-26 16:20:21

admi
Member
From: BY
Registered: 2007-12-10
Posts: 145
Website

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

#15 2015-01-26 16:27:39

joebaich
Member
From: DC Metro Area and elsewhere
Registered: 2006-09-24
Posts: 507
Website

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

Board footer

Powered by FluxBB