Social Share: Linkedin

  • Tatiani
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 1 week ago #60126 by Tatiani
Social Share: Linkedin was created by Tatiani
Hi. I need add linkedin button, but I don't know how to do
I can include code some place?

Please Log in or Create an account to join the conversation.

More
11 years 1 week ago #60135 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Social Share: Linkedin
You will need to edit the code yourself to insert the button to the position you want. Try to look at the file components/com_eventbooking/views/event/tmpl/default.php and you will be able to put the code

Tuan

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #65878 by MARCOS GODOY PEREZ
Replied by MARCOS GODOY PEREZ on topic Social Share: Linkedin
Nothing about this issue...??
How can i insert Linkedin

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #65931 by MARCOS GODOY PEREZ
Replied by MARCOS GODOY PEREZ on topic [SOLVED] Social Share: Linkedin Share Option
Solution provided by Sang Lê Xuân
Who wants the code to Linkedin share option :

/components/com_eventbooking/helper/helper.php insert this piece of code - line 4557:
Code:
public static function getLinkedInButton($title, $link) { $img_url = "components/com_eventbooking/assets/images/socials/linkedin.png"; return '<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=' . $link . '&amp;title=' . $title . '" title="' . JText::sprintf("Submit", "LinkedIn") . '" target="_blank" ><img src="' . $img_url . '" alt="' . JText::sprintf("Submit", "LinkedIn") . '" /></a>'; }

and in /components/com_eventbooking/views/event/tmpl insert this piece of code - line 1230:
Code:
$html .= EventbookingHelper::getLinkedInButton( $title, $socialUrl );

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #65932 by MARCOS GODOY PEREZ
Replied by MARCOS GODOY PEREZ on topic [SOLVED] Social Share: Linkedin Share Option
Sang Lê Xuân provided this solution Linkedin share option :

/components/com_eventbooking/helper/helper.php insert this piece of code - +/- line 4557:
Code:
public static function getLinkedInButton($title, $link) { $img_url = "components/com_eventbooking/assets/images/socials/linkedin.png"; return '<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=' . $link . '&amp;title=' . $title . '" title="' . JText::sprintf("Submit", "LinkedIn") . '" target="_blank" ><img src="' . $img_url . '" alt="' . JText::sprintf("Submit", "LinkedIn") . '" /></a>'; }

and in /components/com_eventbooking/views/event/tmpl insert this piece of code - +/- line 1230:
Code:
$html .= EventbookingHelper::getLinkedInButton( $title, $socialUrl );

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #66036 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic [SOLVED] Social Share: Linkedin Share Option
Just want to update that this feature will be available in version 2.0.0 of the extension which we will release next week

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc