I have done a search here, bug reporting and general web search to no avail.

Platform: CiviCRM 4.6.8 on J!3.4.4

  1. Problem: In CiviContribute, seems in both the receipts, webpage and email confirmation, the token {$url} is not being appended correctly for both the Twitter and Facebook buttons contained in /administrator/components/com_civicrm/civicrm/templates/CRM/common/SocialNetwork.tpl. Here are the results for both:


    Donate to Domain Name https://domain.org/index.php?option=com_civicrm



  2. Also, is there a token for grabbing whichever (SEF) URL is being used for the landing contribution form page? Or, if desired to just hand code the absolute URL, what is the format in that line?

    From the Twitter dev page the above doesn't look correct. Please confirm: https://dev.twitter.com/web/tweet-button/parameters

  3. Also, on the webpage receipt confirmation, Twitter, G+, Facebook and LinkedIn are listed but in the email receipt only Twitter and Facebook buttons appear.

Please advise. Thank you in advance.

1 Answer 1



I have created an issue and included a patch.

look at here. Hopefully this resolve it.


Regards Kajan

  • Thanx! Will check it out today!
    – BruceW
    Commented Dec 18, 2015 at 17:22
  • Thanks for fixing this partly in issues.civicrm.org/jira/browse/CRM-17725 But the link is still being truncated in the Twitter button pretty badly. alcoholjustice.org/index.php?option=com_civicrm Also, know that in Test Mode for Contribution Pages it doesn't insert the $pageURL which is probably correct but could throw off a lot of users trying to test the complete experience.
    – BruceW
    Commented Aug 31, 2016 at 3:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.