Highlighting unpublished article content

This quick article tells you how to make highlights to unpublished article content items when using a category blog layout. It helps a user/editor/publisher/you identify easily with a visual aid which articles are not published. We are only covering Joomla 2.5.x.

It is really easy to add some style sheet (CSS) changes to your template to make this work.

Simply add the following snippet to the bottom of your template /templates/your_template/css/template.css

.system-unpublished, tr.system-unpublished {
  background:    none repeat scroll 0 0 #FFA07A;
  border-bottom: 4px solid #FF7F50;
  border-top:    4px solid #FF7F50;
}
.system-unpublished h2:after, tr.system-unpublished h2:after {
  content:       " - Unpublished";
  font-style:    italic;
}

Hope this helps you.

Share on Myspace

Latest News

CHMOD file only in subdirectory

[FYI] Do this...

Start with directories if you are changing them for the web server first, this will change files too:

$ find images -type d -exec chmod 755 {} +

Then run it again to change files, with the different switch:

$ find images -type f -exec chmod 644 {} +

I recommend adding a recursive (-R) switch along with a verbose output (-v):

$ find images -type f -exec chmod -Rv 644 {} +

You may need to use super permissions to action this. Be warned, this can lock you out.

Joomla 3 - Add language file support for plugins

Do this...

/**
* Load the language file on instantiation.
*
* @var    boolean
* @since  3.1
*/
protected $autoloadLanguage = true;

Generic domains names now available

Here's a full list of "Generic" domain names you probably never thought were available (register at http://hosting.noxidsoft.com):
.technology
.international
.wiki
.tattoo
.university

Login Form