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

11 years 7 months ago - 11 years 7 months 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

Please Log in to join the conversation.

11 years 7 months 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:
//			$htmltext2 .= "<br/>";

//			$htmltext2 .= CBTxt::Th("No Items published in this profile gallery");

//			$htmltext2 .= "<br/>";

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.155 seconds

Facebook Twitter LinkedIn