Hi All
Required by a client... but thought this might be of use (or parts of it) to others using K2.
Administration
Give availability for 10 different buttons.
Each button has the following parameters:
...Enable this Button - yes/no
...Form Name - title/name of ChronoForms form to link to
...on Image - hover image
...off image - off state image
ChronoForms
[see attached txt file]
Frontend
Whats happens in the frontent is the K2 item title gets appended to:
1) the H1 title in the form at the top
2) a hidden value passed via the form
3) the url grabs the K2 item title
The clients requirements
To use one module and the same buttons (that link to forms) in every item page, that has to post variables/details to an in-house CRM system for the item page that it came from. For the client, a “conversion” was when someone provides their contact information to them through a form which is on their site and they had to report on this from the CRM. The form passes details of the form posted and the page it came from, hence the code in the chronoform.
May help someone or provide something that can be edited.
cheers
Phil
Required by a client... but thought this might be of use (or parts of it) to others using K2.
Administration
Give availability for 10 different buttons.
Each button has the following parameters:
...Enable this Button - yes/no
...Form Name - title/name of ChronoForms form to link to
...on Image - hover image
...off image - off state image
ChronoForms
[see attached txt file]
Frontend
Whats happens in the frontent is the K2 item title gets appended to:
1) the H1 title in the form at the top
2) a hidden value passed via the form
3) the url grabs the K2 item title
The clients requirements
To use one module and the same buttons (that link to forms) in every item page, that has to post variables/details to an in-house CRM system for the item page that it came from. For the client, a “conversion” was when someone provides their contact information to them through a form which is on their site and they had to report on this from the CRM. The form passes details of the form posted and the page it came from, hence the code in the chronoform.
May help someone or provide something that can be edited.
cheers
Phil