1st July 2010: Developed 815 websites; Servicing Daily 5,100 Websites!

   
Text Size

Direct publication and only editing own articles

path-logo.png

If you want that all users should see their articles published immediately but not be able to edit others' articles (which is default for "publisher" level) you can realize this as follows:

Make all users "Authors" and then make this one modification to the code:

In the function store() in ../components/com_content/models/article.php find the rows

if ($isNew) {
// For new items - author is not allowed to publish - prevent them from doing so
$article->state = 0;
}

and change the state to 1

With this change your authors can write an article and it will be immediately published. They can only edit their own articles