Member
Member
gwmbox   2010-12-23, 07:19
#1
I may have overlooked it but where is the switch, tick box or setting to remove the empty message text?

e.g. in template_functions we have

`
function printAlbumDesc($editable=false, $editclass='', $messageIfEmpty = true ) {
if ( $messageIfEmpty === true ) {
$messageIfEmpty = gettext('(No description...)');
`
How do I set $messageIfempty to false? (other than add text of course)

Basically if there is no text then don;t show anything.

Thanks

GW
Administrator
Administrator
acrylian   2010-12-23, 10:29
#2
Just change your theme to use `printAlbumDesc(false, '', false)`. Alternatively you could also use `echo getAlbumDesc()`.
Member
Member
gwmbox   2010-12-24, 04:03
#3
I knew it was easy... just one of those silly things I overlooked - cheers again for all your assistance and support.

Donation on its way now for you guys to have a beer or two Smile

Cheers

GW
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.