[support] how can I stop a block showing if it's empty? (not a Views block)

bharani kumar bharanikumariyerphp at gmail.com
Thu Jun 26 17:27:37 UTC 2008


Do one thing,

fine max rows,
when greater then 0 means, display the block...



On Thu, Jun 26, 2008 at 9:48 PM, Fred Jones <fredthejonester at gmail.com>
wrote:

> > if $output
> > return TRUE
>
> No, because $output is not accessible AFAIK in the visibility box--it
> is defined in the content of the block. You would have to write the
> logic code again in the visibility block, but just the logic to
> determine if there is or isn't output. And don't forget that you are
> checking not only that there is output, but also that the path is one
> of blog/*, video/*, image/*, etc.
>
> HTH
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20080626/c8dfcd9c/attachment.htm 


More information about the support mailing list