Problem: In joomla there are diffrent users like registered, authors, editors, administrators, super administrators.
editors are able to edit the articles. Sometime what happen, editor click on edit
and without saving that article, clicks on back button or get logged out. because of this that particular article get locked.
no one except that editor and super administrator can checked in that article.
Editor can do it by saving that article and super administrator can do that by logging at admin site and clicking tools ->Global Check in
I found one easy solution. just write following code in your index.php and you will never come across the problem of checked out.
here is he solution
$db =& JFactory::getDBO();
$query_content = "UPDATE jos_content SET checked_out = '0'";
$db->setQuery($query_content);
$result = $db->query();
?>
I hope this will work with you too. Just be careful. Global Checked in feature
is imp in joomla. It has its own significance.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment