Skip to Content Skip to Menu

[SOLVED] stop showing CB Profile Gallery "no items"

  • citydan
  • citydan
  • OFFLINE
  • Posts: 44
  • Thanks: 2
  • Karma: 1
12 years 3 weeks ago - 12 years 2 weeks ago #211686 by citydan
I have followed the instructions here:
www.joomlapolis.com/forum/112-cb-122-general-discussion/131779-solved-tab-descriptions?limit=6&start=6#132303

on how to stop the CB Profile Gallery tab description from showing on the front end at all times (it is supposed to only show when the gallery is being edited).

However there is still a message saying "No Items published in this profile gallery" when the gallery is empty.

How do I get the gallery to simply have no output when it is empty?

It doesn't help my visitors to know that other members have not posted any image. I would only like output to show when there are actually images in the gallery.

Joomla 2.5.7
CB 1.8.1
CBSubs 2.0.2
Last edit: 12 years 2 weeks ago by krileon.

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

  • citydan
  • citydan
  • OFFLINE
  • Posts: 44
  • Thanks: 2
  • Karma: 1
12 years 3 weeks ago #211688 by citydan
Nevermind. I found the lines to comment out. I don't know what number they are as I opened it in Dreamweaver and it seems to have double-spaced everything. It's reading as lines 2731 to 2735 for me, so it's probably around 1350 or so. Just search for "No Items published in this profile gallery", then comment out the following three lines:
Code:
// $htmltext2 .= "<br/>"; // $htmltext2 .= CBTxt::Th("No Items published in this profile gallery"); // $htmltext2 .= "<br/>";

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

Moderators: beatnantkrileon
Powered by Kunena Forum