social bookmark icons

More
10 years 6 months ago #51081 by luis
social bookmark icons was created by luis
hello, can anyone please tell me how can i change the default links in the social bookmark icons to link them to my social social sites? also where can i replace some of theme that im not using?
thanks
www.houseofmixology.com

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
10 years 6 months ago #51090 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic social bookmark icons
Hi

You will need to edit the code to change the url of the social bookmark and remove the one you don't want. Please try to look at the file components/com_eventbooking/views/event/tmpl/default.php and change the code to meet your need

Tuan

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

More
10 years 6 months ago #51471 by luis
Replied by luis on topic social bookmark icons
hi, thanks for your reply, can you be more specific about the code? im new to this, thanks a lot

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

More
9 years 9 months ago #65877 by MARCOS GODOY PEREZ
Replied by MARCOS GODOY PEREZ on topic social bookmark icons
Nothing about this issue...??

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

  • Tuan Pham Ngoc
  • Away
  • Administrator
  • Administrator
More
9 years 9 months ago #65899 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic social bookmark icons
Sorry but it is not really an issue. If you want to add more social links, the only way is modify code to include these links. I could not include it in the core download package

Regards,

Tuan

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

More
9 years 9 months ago #65905 by MARCOS GODOY PEREZ
Replied by MARCOS GODOY PEREZ on topic social bookmark icons
Ok Tuan

But i saw that i need to change somthing here... but what i need to change for example to Linkedin
Code:
<div id="itp-social-buttons-box" class="row-fluid"> <div id="eb-share-text"><?php echo JText::_('EB_SHARE_THIS_EVENT'); ?></div> <div id="eb-share-button"> <?php $title = $item->title ; $html = EventbookingHelper::getDeliciousButton( $title, $socialUrl ); $html .= EventbookingHelper::getDiggButton( $title, $socialUrl ); $html .= EventbookingHelper::getFacebookButton( $title, $socialUrl ); $html .= EventbookingHelper::getGoogleButton( $title, $socialUrl ); $html .= EventbookingHelper::getStumbleuponButton( $title, $socialUrl ); $html .= EventbookingHelper::getTechnoratiButton( $title, $socialUrl ); $html .= EventbookingHelper::getTwitterButton( $title, $socialUrl ); echo $html ; ?> </div> </div>

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

More
9 years 9 months ago #65930 by MARCOS GODOY PEREZ
Replied by MARCOS GODOY PEREZ on topic social bookmark icons
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 );

Solution provided by Sang Lê Xuân

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

Moderators: Tuan Pham Ngoc