[SOLVED] How to modify "Edit Content"-Page in admin-menue
Posted: Fri Aug 22, 2008 7:02 am
Hello,
for a new project I need to strongly restrict the options, editors have in modifying pages. Basically, they should only be allowed to edit the content but NOT the content type, menu text etc.

Since there is no option in the backend as far as I know, to do that I thought it wouldn't be a big deal to "just" modify the PHP-file that sets this page. But I noticed it seems to be a bit more than just deleting a few -tags
Unfortunately I am not that good in PHP yet to find out by myself what I need to do.
I guess I need to modify the file /admin/editcontent.php somwhere here:
Code:
Could anybody tell me, if there is a simple way to just delete the above mentioned options so that a backenduser could not edit these anymore?
THANK YOU!!
for a new project I need to strongly restrict the options, editors have in modifying pages. Basically, they should only be allowed to edit the content but NOT the content type, menu text etc.

Since there is no option in the backend as far as I know, to do that I thought it wouldn't be a big deal to "just" modify the PHP-file that sets this page. But I noticed it seems to be a bit more than just deleting a few -tags

I guess I need to modify the file /admin/editcontent.php somwhere here:
Code:
Code: Select all
$contentarray = $contentobj->EditAsArray(false, $currenttab, $adminaccess);
for($i=0;$i<count($contentarray);$i++)
{
?>
<div class="pageoverflow">
<div class="pagetext"><?php echo $contentarray[$i][0]; ?></div>
<div class="pageinput"><?php echo $contentarray[$i][1]; ?></div>
</div>
<?php
}
THANK YOU!!