Empty Blocks
This may have already been addressed but I believe that when a block was empty it wouldn't show a block that says "empty" on the inside...Now I see a bunch of blocks that say this....Say I put a "My Discussions" block on profile page...if the user never created a Discussion the block would be invisible until one was created. Now theres blocks that just say empty...Is there a way we can go back to making those blocks invisible until content has been added?
-
- · Will Monte
- ·
You have to edit the code; there is code that will say if not data, return the message "empty." In Dolphin the function was _t(). Something along the lines of if (!$sData) return _t("_message_empty") where "_message_empty" is a language key.
-
-
·
LeonidS
- ·
Hi all!
You may apply the following rough fix:
1) add a new lang block on the necessary page and move it after all other blocks (if you have 2 column page then it should be at the end of the right column);
2) put to the content section this code:
<script>
$("div.bx-page-block-container:contains('Empty')").remove()
</script>
Where the "Empty" phrase should be actual for every installed language.
-
·
LeonidS