JoomlaJoomla Setup

Joomla Change Default Article Status

Joomla defaults all the articles you create to be published ie: publish status = “yes” and show on frontpage =”no” .   If you need to change these defaults to not publish and show on frontpage defaults, here is a way to do it.  You will need to edit your backend code so only change it if you really know what you’re doing.

  1. Login to your server backend, you will need to access the Joomla core files
  2. Find and edit the file ` administrator/Components/com_content/controller.php  `
  3. Search for the ` editContent function` around line 445

To change the default Publish = No

  1. Find this code:   $row->state = 1;  
  2. Change it to:    $row->state = 0;

To change the default Show on frontpage =  Yes

  1. Find this code:   $row->Frontpage = 0;
  2. Change it to:    $row->Frontpage = 1;
    1. Stefan

      Solution for Joomla 2.5

      Find and edit the file “components/com_content/models/form/article.xml”
      Search for “state” and change the default value to “0”
      Thats’s it!

Leave a Reply

Your email address will not be published. Required fields are marked *

Captcha Captcha Reload