Implementing social sharing of chronoforms

phicts 27 Apr, 2013
Does anyone has a how-to on social sharing chronoforms in social networking sites like Facebook, Twitter, Google+ and the like with its matching buttons? Any recommended extension for this?

Sharethis.com has a simple process for websites but i just can't get it to work after almost a day of trial and error in putting the scripts. :-(

What I'd like to be done is to share the form itself even before submitting it.
Or sharing it on the thank-you page.

Thanks in advance to those who can help.
GreyHead 28 Apr, 2013
Hi phicts,

Sorry, nothing I recall here. What do you actually want to share? A link to the page with the form in it?

It might be possible to use a Social Media Plug-in inside a form - but I don't know if there are any.

Bob
phicts 29 Apr, 2013
I'm still searching on JED. I tried Easy Share (or something like it) that says you just include their code {easysharesomething} and i put it in the form via a custom html but it didn't show up. maybe i should have placed it in the ShowHtml action? I'm still testing.

Meanwhile, the ShareThis how-to says you put their javascript just before the </head> tag and another code right before the </body> tag. But i don't want it placed in all of my headings and contents, just in the form itself. The noob non-coder that I am, I just can't figure out where to put it using CF's vast array of choices. :-(

Fortunately, AddThis has a simple script that you just put with in the body element, unlike ShareThis that requires you two separate codes, one in the header and another in the body. The AddThis script still doesn't show up in my form though, using again custom html/php from CF's choices.

I just want the social sharing button to appear in my form, preferably below it, so that the form can be dynamically shared on the chosen social networks.
GreyHead 29 Apr, 2013
Hi phicts,

To use other plug-ins in a ChronoForm you need to add the Joomla! Plug-ins action (from the Joomla! Functions actions group) to the On Load event of your form. Then just add the plug-in tag {some_plugin} to your form HTML using a Custom Element element.

Bob
phicts 29 Apr, 2013
For the Easy Like and Share plugin, your tip didn't work even though I already added the Joomla Plugin action on the On Load event. Unchecking the pure code option only displays the label i set. Ticking it causes even the label to be hidden.

The AddThis code works for website works out of the box using Custom Element but it's only "like" for FB, it doesn't share the link.

Need more trial-and-error on my part. 😢
This topic is locked and no more replies can be posted.