Answers.Body: <p>@BruceW</p>
  
  <p>I have created an issue and included a patch.</p>
  
  <p>look at here. Hopefully this resolve it.</p>
  
  <p><a href="https://issues.civicrm.org/jira/browse/CRM-17725" rel="nofollow">https://issues.civicrm.org/jira/browse/CRM-17725</a></p>
  
  <p>Regards
  Kajan</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-18T17:22:53.197Z
Answers.Text: Thanx! Will check it out today!
Answers.UserDisplayName: BruceW
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-08-31T03:59:35.347Z
Answers.Text: Thanks for fixing this partly in https://issues.civicrm.org/jira/browse/CRM-17725  But the link is still being truncated in the Twitter button pretty badly.  
  
  https://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.
Answers.UserDisplayName: BruceW
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-12-17T15:20:19.797Z
Answers.LastActivityDate: 2015-12-17T15:20:19.797Z
Answers.UserDisplayName: Kajan
Body: <p>I have done a search here, bug reporting and general web search to no avail.</p>
  
  <p>Platform: CiviCRM 4.6.8 on J!3.4.4</p>
  
  <ol>
  <li><p>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 <code>/administrator/components/com_civicrm/civicrm/templates/CRM/common/SocialNetwork.tpl</code>. Here are the results for both:</p>
  
  <p>Twitter: </p>
  
  <blockquote>
    <p>Donate to Domain Name
    <a href="https://domain.org/index.php?option=com_civicrm" rel="nofollow">https://domain.org/index.php?option=com_civicrm</a></p>
  </blockquote>
  
  <p>Facebook: </p>
  
  <blockquote>
    <p><a href="https://domain.org/component/civicrm/?amp%3Btask=civicrm%2Fcontribute%2Ftransact&amp;amp%3Breset=1&amp;amp%3Bid=1&amp;fb_action_ids=10206214067365432&amp;fb_action_types=og.likes" rel="nofollow">https://domain.org/component/civicrm/?amp%3Btask=civicrm%2Fcontribute%2Ftransact&amp;amp%3Breset=1&amp;amp%3Bid=1&amp;fb_action_ids=10206214067365432&amp;fb_action_types=og.likes</a></p>
  </blockquote></li>
  <li><p>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?</p>
  
  <p></p>
  
  <p>From the Twitter dev page the above doesn't look correct. Please confirm: <a href="https://dev.twitter.com/web/tweet-button/parameters" rel="nofollow">https://dev.twitter.com/web/tweet-button/parameters</a></p></li>
  <li><p>Also, on the webpage receipt confirmation, Twitter, G+, Facebook and LinkedIn are listed but in the email receipt only Twitter and Facebook buttons appear.</p></li>
  </ol>
  
  <p>Please advise. Thank you in advance.</p>
  
Tags: <civicontribute><tokens><receipts><4.6.8><social-media>
Title: Social Media: In receipts, {$url} incorrect from SocialNetwork.tpl, SEF URL, missing buttons
ThreadText: # Social Media: In receipts, {$url} incorrect from SocialNetwork.tpl, SEF URL, missing buttons
  
  (Asked by: username_0 on 2015-10-01)
  
  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:
  
     Twitter:
  
     > Donate to Domain Name
     > <https://domain.org/index.php?option=com_civicrm>
  
     Facebook:
  
     > <https://domain.org/component/civicrm/?amp%3Btask=civicrm%2Fcontribute%2Ftransact&%3Breset=1&%3Bid=1&fb_action_ids=10206214067365432&fb_action_types=og.likes>
  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.
  
  **Tags:** civicontribute, tokens, receipts, 4.6.8, social-media
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2015-12-17. Score: 1
  
  @username_0
  
  I have created an issue and included a patch.
  
  look at here. Hopefully this resolve it.
  
  <https://issues.civicrm.org/jira/browse/CRM-17725>
  
  Regards
  username_1
  
  > **Comments:**
  > **username_0**: Thanx! Will check it out today!  
  > **username_0**: Thanks for fixing this partly in https://issues.civicrm.org/jira/browse/CRM-17725  But the link is still being truncated in the Twitter button pretty badly.    https://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.  
  
  ---
  
  