Social Share: Linkedin
- Tatiani
-
Topic Author
- Offline
- New Member
-
Less
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?
I can include code some place?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
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
Tuan
Please Log in or Create an account to join the conversation.
- MARCOS GODOY PEREZ
- Offline
- New Member
-
Less
More
- Posts: 17
- Thank you received: 0
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
How can i insert Linkedin
Please Log in or Create an account to join the conversation.
- MARCOS GODOY PEREZ
- Offline
- New Member
-
Less
More
- Posts: 17
- Thank you received: 0
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:
and in /components/com_eventbooking/views/event/tmpl insert this piece of code - line 1230:
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&url=' . $link . '&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.
- MARCOS GODOY PEREZ
- Offline
- New Member
-
Less
More
- Posts: 17
- Thank you received: 0
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:
and in /components/com_eventbooking/views/event/tmpl insert this piece of code - +/- line 1230:
/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&url=' . $link . '&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.
- Tuan Pham Ngoc
- Offline
- Administrator
-
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
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2026 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.