Skip to content

What "This Category is Currently Empty" Means

Are you getting the message that "this category is currently empty" on your Mambo web site and you don't know why? Then read on, this tip is for you.

1. If you have created content items and assigned them to a category, you will get the message that the category is currently empty until you publish the content items.

2. If you have used a category item to include a description, HTML or other content directly into the category item, but don't have any content items within that category, you will see the notice that the category is currently empty.

If you want to edit that text, you can do this by opening the language file for your language and changing the default text. Go to the language directory, locate your language file (for eg. english.php) and find this code:

DEFINE('_EMPTY_CATEGORY','This Category is currently empty');

You can change the wording of 'This Category is currently empty' (or whatever it is in your language) to anything you like.

If you want to just remove that notice, change:

DEFINE('_EMPTY_CATEGORY','This Category is currently empty');

to:

 DEFINE('_EMPTY_CATEGORY','');
Reblog this post [with Zemanta]

If you enjoyed this post, make sure you subscribe to my RSS feed!

Topic: Mambo Tutorials
Tagged as: content management, Mambo, PHP

Share on FriendFeed

{ 0 comments… be the first to comment }

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Any comments that look like spam will be treated as spam - this includes SEO titles and use of spurious keywords.

By submitting a comment here you grant this site a perpetual license to reproduce your words and name/web site in attribution.