How to modify or turn off 'Share this event"

  • Steve Vyse
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 3 months ago #14012 by Steve Vyse
Completely new to Events Booking so I apologise if I'm missing something obvious.

How do I modify or disable the 'Share this event' flags that are being added to my event description.

See here for my work in progress;

www.royalescaperace.co.uk/links.html?task=view_event&event_id=1

Oh and is there any way of changing the registration field title 'Zip Code' to 'Post Code'?

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

More
13 years 3 months ago #14014 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: How to modify or turn off 'Share this event"
Hi

How do I modify or disable the 'Share this event' flags that are being added to my event description.


Go to Event Booking -> Configuration, looks at Themes tab, find the config option Show social bookmark buttons, set it to No .

Oh and is there any way of changing the registration field title 'Zip Code' to 'Post Code'?


=> Go to Event Booking -> Translation, find and change the text to meet your need .

Regards,

Tuan

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

  • Steve Vyse
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 3 months ago #14016 by Steve Vyse
Replied by Steve Vyse on topic Re: How to modify or turn off 'Share this event"
Brilliant on both counts... thanks.

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

More
12 years 11 months ago #16056 by staeren
and how to turn off a few buttons and leave some others turned on? i would like to display twitter and facebook buttons, the others not.

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

More
11 years 5 months ago - 11 years 5 months ago #39239 by Michael Raymer
Replied by Michael Raymer on topic Re: How to modify or turn off 'Share this event"
I would like to display Facebook and Twitter, but remove the rest. I tried deleting the png files, however, the module fills in placeholder text.

Using Firebug in Firefox, I was able to determine that the output code is:

<div id="eb_docs">
<div class="eb_row">
<div id="itp-social-buttons-box">
<div id="eb_share_text">Share This!</div>
<div id="eb_share_button">
<a target="blank" title="Submit EVENT NAME in Delicious" href="EVENT LINK">
<img alt="Submit EVENT NAME in Delicious" src="/components/com_eventbooking/assets/images/socials/delicious.png">
</a>
<a target="blank" title="Submit EVENT NAME in Digg" href="EVENT LINK">
<img alt="Submit EVENT NAME in Digg" src="/components/com_eventbooking/assets/images/socials/digg.png">
</a>
<a target="blank" title="Submit EVENT NAME in FaceBook" href="EVENT LINK">
<img alt="Submit EVENT NAME in FaceBook" src="/components/com_eventbooking/assets/images/socials/facebook.png">
</a>
<a target="blank" title="Submit EVENT NAME in Google Bookmarks" href="EVENT LINK">
<img alt="Submit EVENT NAME in Google Bookmarks" src="/components/com_eventbooking/assets/images/socials/google.png">
</a>
<a target="blank" title="Submit EVENT NAME in Stumbleupon" href="EVENT LINK">
<img alt="Submit EVENT NAME in Stumbleupon" src="/components/com_eventbooking/assets/images/socials/stumbleupon.png">
</a>
<a target="blank" title="Submit EVENT NAME in Technorati" href="EVENT LINK">
<img alt="Submit EVENT NAME in Technorati" src="/components/com_eventbooking/assets/images/socials/technorati.png">
</a>
<a target="blank" title="Submit EVENT NAME in Twitter" href="EVENT LINK">
<img alt="Submit EVENT NAME in Twitter" src="/components/com_eventbooking/assets/images/socials/twitter.png">
</a>
</div>
<div style="clear: both;"> </div>
</div>
<div style="clear: both;"> </div>
</div>
However, I had no luck finding this in any of the code installed by Event Booking. Anyone know where the code for the "share this event" is located? Help please.

Also, there are two instances of blank spaces below the "share this event" section that I would like to remove as well. The code for that is:

<div style="clear: both;"> </div>

Just adds unnecessary blank spaces. Would love to remove this as well.

Thanks!
Last edit: 11 years 5 months ago by Michael Raymer. Reason: Deleting my event link and adding more useful code

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

More
11 years 5 months ago #39248 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: How to modify or turn off 'Share this event"
Hi

The code is located on the file components/com_eventbooking/views/event/tmpl/default.php, look at the code :
Code:
$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 ;

You can remove the code of the buttons whic you don't want and it will be removed. Please give it a try !

Tuan

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

More
11 years 5 months ago #39275 by Michael Raymer
Replied by Michael Raymer on topic Re: How to modify or turn off 'Share this event"
Hi Tuan,

Thank you so much! I was able to find the file and make a lot of edits to clean up our event pages. Our site looks beautiful now!

One more minor tweak to make...

In between each of the buttons, there is a small underscore ( _ ) separating each button, rather than a simple empty space. Do you know how to remove this? I don't see it in the code you provided. Not a huge deal, but would love to delete this.

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

More
11 years 5 months ago #39317 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: How to modify or turn off 'Share this event"
hmm. We don't have it in the code. Could you please send me the link to the event so that I can check to see what generates it and then I will try to find a solution.

Regards.

Ossolution Team

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

More
11 years 5 months ago #39333 by Michael Raymer
Replied by Michael Raymer on topic Re: How to modify or turn off 'Share this event"
Thanks so much for looking into this!
www.thebridgemarkham.com/index.php/minis...grouplife/thrive2014

I actually just discovered part of the reason...our site CSS sets links to be underlined. If I turn that off, then the line disappears...along with ALL text links across our site. So, need to find a way to keep the CSS set to underline, but disable the social media icons from getting the underline treatment. The weird thing is that all other images in our site that are linkable, do NOT have this underline...just these icons. So weird.

Appreciate any advice you may have.

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

More
11 years 5 months ago #39360 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: How to modify or turn off 'Share this event"
Seems you find out the css code to handle it. I checked it on your site and didn't see the underline image anymore. Do you need any more help regarding this issue ?

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc