- Posts: 18
- Thank you received: 0
Where to define social bookmark networks
- patgaytx
- Topic Author
- Offline
- New Member
-
Less
More
13 years 6 months ago #11770
by patgaytx
Where to define social bookmark networks was created by patgaytx
There is an option in the configuration called Show social bookmark buttons.
Where do you define the Social Networks that you want to configure?
Where do you define the Social Networks that you want to configure?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 6 months ago #11773
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Where to define social bookmark networks
Hi
Right now, the extension only supports several social networks. The code for displaying social networks can be found at components/com_eventbooking/views/event/tmpl/default.php :
Right now, the extension only supports several social networks. The code for displaying social networks can be found at components/com_eventbooking/views/event/tmpl/default.php :
Code:
<?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 ;
?>
Please Log in or Create an account to join the conversation.
- patgaytx
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 18
- Thank you received: 0
13 years 6 months ago #11786
by patgaytx
Replied by patgaytx on topic Re: Where to define social bookmark networks
Hi,
Thanks for the information.
How do I define $socialURL so that it points to my particular social network?
For example, if I wanted getTwitterButton to point to twitter.com/@somename?
Thanks
Thanks for the information.
How do I define $socialURL so that it points to my particular social network?
For example, if I wanted getTwitterButton to point to twitter.com/@somename?
Thanks
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 6 months ago #11799
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Where to define social bookmark networks
Hi
You will need to modify the corresponding function in components/com_eventbooking/helper/helper.php. For example, if you want to use the link for Twitter button, have a look at getTwitterButton function in the above file !
Tuan
You will need to modify the corresponding function in components/com_eventbooking/helper/helper.php. For example, if you want to use the link for Twitter button, have a look at getTwitterButton function in the above file !
Tuan
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.