Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

Removing Tooltip

11 years 6 months ago #225876 by ClaraPerry
Removing Tooltip was created by ClaraPerry
Hi

Sorry if I have missed this option in the backend but I am struggling to remove the connections tooltip shown in the screenshot attached. I would target the html but I am unable to firebug it.

Thanks.
Attachments:

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
11 years 6 months ago #225907 by krileon
Replied by krileon on topic Removing Tooltip
There's no parameter to remove the tooltips and there's no CSS class or ID specific to that type of tooltip so by removing them using CSS you'd remove all tooltips. You'd need to edit the CB Connections plugin and remove the overlib usage (sorry, can't help you here as we do not support core edits).


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

11 years 6 months ago #226011 by ClaraPerry
Replied by ClaraPerry on topic Removing Tooltip
Hi

By overlib do you mean components/com_comprofiler/js/overlib_all_mini.js. If so what do I need to edit in this file to remove the tooltip or do I simply need to remove this file all together?

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
11 years 6 months ago #226022 by krileon
Replied by krileon on topic Removing Tooltip
No, the connections plugin uses overlib on the onmouseover event. You need to remove that onmouseover usage in the connections plugin. Do not remove core JS libraries.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

11 years 6 months ago - 11 years 6 months ago #226047 by ClaraPerry
Replied by ClaraPerry on topic Removing Tooltip
I found a way to remove the tooltip but it would be better if there was a way to do this with a template overide.

Please let me know if my method is not the best way of removing the tooltip.

administrator/components/com_comprofiler/comprofiler.class.php

I then removed this line of code on line 1936:
Code:
if ($click) { $tooltipcode = " onclick=\"return overlib('" . addslashes( str_replace( array( "\n", "\r" ), ' ', stripslashes( $tooltip ) ) ) . "'" . $title . $width . $olparams . ");\""; } else { $tooltipcode = " onmouseover=\"return overlib('" . addslashes( str_replace( array( "\n", "\r" ), ' ', stripslashes( $tooltip ) ) ) . "'" . $title . $width . $olparams . ");\" onmouseout=\"return nd();\""; }

Am I correct in thinking this will be overidden when I update Community Builder.
Last edit: 11 years 6 months ago by ClaraPerry.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
11 years 6 months ago - 11 years 6 months ago #226121 by krileon
Replied by krileon on topic Removing Tooltip

I found a way to remove the tooltip but it would be better if there was a way to do this with a template overide.

Connections is planned to be completely rewritten so we will be improving usages such as this.

Please let me know if my method is not the best way of removing the tooltip.

Test with debug mode and maximum error reporting enabled in Joomla global configuration to ensure your changes did not cause any errors.

Am I correct in thinking this will be overidden when I update Community Builder.

Yes.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 11 years 6 months ago by krileon.

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

Moderators: beatnantkrileon
Powered by Kunena Forum