Forums / Setup & design / How to include 3rd party forms in my site

How to include 3rd party forms in my site

Author Message

Ciaran McGrath

Friday 21 July 2006 6:43:01 am

Hi,

Our marketing department uses a service called Salesforce to track customer enquiries. Salesforce helps them generate HTML code for forms that we include on our site. When the user fills out the form the data is sent to salesforce and tracked there.

My question is, how can I do this with Ez publish. (I'm a complete novice with ez)

Thanks in advance.

Robin Muilwijk

Sunday 15 November 2009 1:45:01 am

Hi,

I'd like to follow up on this and ask if anyone has ever managed to incorporate Salesforce with eZ Publish forms? I'd love to suggest eZ Flow to a customer, have them move to this CMS, but Salesforce is a major requirement.

Thanks for any replies, Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Bertrand Dunogier

Sunday 15 November 2009 2:35:12 am

Well, "eZ Publish forms" doesn't mean much... the most basic approach would be to use a custom module that interfaces with the salesforce API, but it really depends on how you can interact with salesforce from a 3rd party app.

Do you have more details on this ?

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Robin Muilwijk

Sunday 15 November 2009 9:18:02 am

Hi Bertrand,

Thanks for your response. What the customer has working right now is a web form and when this is sent, it also uses curl to send some of the information to salesforce. The source of the form can be created through the salesforce interface. Do you need more info?

I just read on Twitter that someone used an information collector in a form and an operator in a collectedinfo template and used POST to pass it on to salesforce.

I was hoping there was some kind of showcase on this. I'll ask the person on Twitter if he is willing to share. Your info is of course also very welcome.

Thanks Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Bertrand Dunogier

Sunday 15 November 2009 11:42:57 am

When you say "the source of the form can be created using salesforce", what does salesforce provide you with exactly ? HTML code ? If yes, what is the action for this form ? Does it send this data to a custom script ?

You can perfectly use the HTML code _ if this is what salesforce provides you with _ in a custom template, used by a custom view. Then create another view that is used as the action for the form, and perform the CURL stuff from this action.

If there is a way to make such a script generic (generate form from salesforce, put in a template, set the action to a custom, generic view, and you're done, this would be a great extension ;)

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Robin Muilwijk

Monday 16 November 2009 10:43:34 am

Hi Bertrand,

Salesforce indeed provides you with the HTML for the form, so form fields and some script.

A curl example: http://www.paulwest.co.uk/article.php/salesforce-form-integration-with-php
A php example: http://wiki.developerforce.com/index.php/Simple_Web2Lead_Implementation

I'm a newbie with understanding custom templates and views, so maybe I'll try at a later date if I could get this to work. I'll check with the customer first how they think about eZ Flow before I continue with this. But you are right, it would make a very good/interesting extension.

Regards Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Bertrand Dunogier

Monday 16 November 2009 2:51:23 pm

It indeed looks quite simple. Writing such a module would be quite easy. Making it generic and secure is gonna require a little more work :-)

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Robin Muilwijk

Wednesday 18 November 2009 5:59:40 am

Hi Bertrand,

I had some feedback from mugo.ca (Peter Keung), is there any documantation regarding the custom template and view where I could start reading, see if I could get this to work and take it form there?

Thanks, Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

eZ Western Europe Support

Wednesday 18 November 2009 6:17:04 am

You could start by reading here:

http://ezpedia.org/en/ez/module

;)