Skip to Content Skip to Menu

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

Trying to hide the name of the list

  • rklein
  • rklein
  • OFFLINE
  • Posts: 57
  • Thanks: 0
  • Karma: 0
13 years 2 months ago - 13 years 2 months ago #173547 by rklein
Trying to hide the name of the list was created by rklein
All I am trying to do is hide the name of the list when the results are displayed. See image.
Last edit: 13 years 2 months ago by rklein.
The topic has been locked.
  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
13 years 2 months ago #173556 by krileon
Replied by krileon on topic Re: Trying to hide the name of the list
Image does not appear to be attached, but believe I understand what you're wanting. You'll need to edit the CB template PHP file. Please see the below change.

IN: components/com_comprofiler/plugin/templates/default/default.php
ON: Lines 384-388
FROM:
Code:
if ( $this->totalIsAllUsers ) { echo $_CB_framework->getCfg( 'sitename' ) . " " . _UE_HAS . " <strong>" . $this->total . "</strong> " . _UE_USERS; } else { echo "<strong>" . $this->total . "</strong> " . _UE_USERPENDAPPRACTION . ":"; }
TO:
Code:
if ( $this->totalIsAllUsers ) { //echo $_CB_framework->getCfg( 'sitename' ) . " " . _UE_HAS . " <strong>" . $this->total . "</strong> " . _UE_USERS; } else { //echo "<strong>" . $this->total . "</strong> " . _UE_USERPENDAPPRACTION . ":"; }


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.
The topic has been locked.
  • rklein
  • rklein
  • OFFLINE
  • Posts: 57
  • Thanks: 0
  • Karma: 0
13 years 2 months ago - 13 years 2 months ago #173564 by rklein
Replied by rklein on topic Re: Trying to hide the name of the list
Sorry... here is the image.
Attachments:
Last edit: 13 years 2 months ago by rklein.
The topic has been locked.
  • krileon
  • krileon
  • ONLINE
  • Posts: 48473
  • Thanks: 8281
  • Karma: 1443
13 years 2 months ago #173633 by krileon
Replied by krileon on topic Re: Trying to hide the name of the list
Ah, I see; yes sorry I showed how to remove the users count with name. Please perform the below change to remove that.

IN: components/com_comprofiler/plugin/templates/default/default.php
ON: Lines 369
DELETE:
Code:
<div class="contentheading cbUserListTitle"><?php echo $this->listTitleHtml; ?></div>


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.
The topic has been locked.
11 years 6 months ago #225413 by KillerSurfLinks
Replied by KillerSurfLinks on topic Re: Trying to hide the name of the list
If you're using the bootstrap template the file you'll need to modify with the above changes is:

components/com_comprofiler/plugin/templates/bootstrap/bootstrap.php
The topic has been locked.
  • Kolibri
  • Kolibri
  • OFFLINE
  • Posts: 14
  • Thanks: 0
  • Karma: 0
9 years 4 months ago - 9 years 3 months ago #266790 by Kolibri
Replied by Kolibri on topic Trying to hide the name of the list
Hi,
any of the hints are working today.
Does anybody know an actual way to hide the names of the lists?


Solution: It is line 617
. ( $this->listTitleHtml ? '<div class="page-header cbUserListTitle"><h3>' . $this->listTitleHtml . '</h3></div>' : null )

in components/com_comprofiler/plugin/templates/bootstrapdefault.php now.

But this does not have any effect in breadcrumbs. Title appears there by the way.
Last edit: 9 years 3 months ago by Kolibri.
The topic has been locked.
Moderators: beatnantkrileon
Powered by Kunena Forum