Thinking Web Publishing? Think www.YouNeedItAll.com!
Custom Website Design and re Design, Custom Website Development, Social Media Networking, B2B Networking, Search Engine Optimizations and Online Marketing.

Web Design Agency Search



Follow Us on Pinterest


Read Our TimeLine

Share With Us on Pinterest




Sedo - Buy and Sell Domain Names and Websites project info: youneeditall.com Statistics for project youneeditall.com etracker® web controlling instead of log file analysis
Joomla CMS Admin Content Access Rrestriction by Author. Joomla Access Rrestriction
Joomla Content Access Restriction by Author
Content Management System Overview

Joomla CMS Content Access Restriction by Author

How to Create Joomla Content Access Restriction?

If you have website and:
You have many authors assigned to different articles.
You would like to restrict access to other author's articles.

Submitted by Olga Shuvalova.
Cопоставлять для коментирования надо только следующие строки:







//administrator/components/com_content/admin.content.php
//Надо закомментировать строки 181,182,183
// if ( $filter_authorid > 0 ) {
// $where[] = "c.created_by = " . (int) $filter_authorid;
//$cid = josGetArrayInts( 'cid' );
//}
После закоментированных строк надо вставить фрагмент:
if($_SESSION['session_usertype']=="Super Administrator")
{
if ( $filter_authorid > 0 ) {
$where[] = "c.created_by = " . (int) $filter_authorid;
}
}
else
{
$cid=$_SESSION['session_user_id'];
$where[] = "c.created_by = " . (int) $cid;
}
 








Professional Website Design, eCommerce Programming, SEO and Marketing Agency in Syracuse, New York
Email Us @ 2004-2014 © All rights reserved