HOW
How do I get the 'no items to display' message to go away?
How do I get the 'no items to display' message to go away?
How do I get the 'no items to display' message to go away?
By default Joomla displays the message "There are no items to display" when you don't publish anything in a particular section / category. This is particulary annoying if this message appears in the frontpage.
So.. how do you tell it NOT do that?
This message is one of those things that is "defined" in the language file, along with a whole series of words and phrases that Joomla uses. To access the language file, you need to go to
- Site -> Language Manager -> Site Languages and right click on English.php.
- Open the file up using Notepad or AWS...or whatever your favorite PLAIN TEXT editor is.
- Look for: this line...
DEFINE('_EMPTY_BLOG','There are no Items to display'); - Put /** and **/ at the appropriate places to disallow this code from executing... so it looks like this
/**DEFINE('_EMPTY_BLOG','There are no items to display'); **/ - Then put this on the line below it...
DEFINE('_EMPTY_BLOG',''); - Now save the file... That should take care of any 'no items to display' messages on the front page!




























