- Posts: 5
- Thank you received: 0
Change Social Media buttons to the AddThis button
- interjos
- Topic Author
- Offline
- New Member
-
Less
More
13 years 5 months ago #12439
by interjos
Change Social Media buttons to the AddThis button was created by interjos
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 5 months ago #12444
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Change Social Media buttons to the AddThis button
Hi
Please have a look at components/com_eventbooking/views/event/tmpl/default.php, looks at the code below, remove it and replace it with the code you want :
Tuan
Please have a look at components/com_eventbooking/views/event/tmpl/default.php, looks at the code below, remove it and replace it with the code you want :
Code:
<?php
if ($this->config->show_social_bookmark) {
?>
<div id="itp-social-buttons-box">
<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 style="clear: both;"> </div>
</div>
<div style="clear: both;"> </div>
<!-- End social sharing -->
<?php
}
?>
Tuan
Please Log in or Create an account to join the conversation.
- interjos
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 5
- Thank you received: 0
13 years 5 months ago #12472
by interjos
Replied by interjos on topic Re: Change Social Media buttons to the AddThis button
That works, thanks!
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 5 months ago #12483
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Change Social Media buttons to the AddThis button
OK, Great !
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 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.