-
hide comments in BE
how to make
hide comments from user (in BE)
who is not allowed to edit a comment (tl_comments.php function isAllowedToEditComment)
or maybe here
Code:
public function checkPermission()
{
switch ($this->Input->get('act'))
{
case 'select':
case 'show':
// Allow
break;
case 'edit':
case 'delete':
case 'toggle':
but
Code:
// Allow
break;
case 'select':
case 'show':
not work ))
-
Re: hide comments in BE
or maybe make filter? (option site1.com site2.com etc)
help me please
-
Re: hide comments in BE
hHw would you want to control that differently from standard Contao? By default you can already grant or deny users access to comments.
-
Re: hide comments in BE
there all comments from all sites - it bad
now 2 problems:
- there is no filters (site1.com site2.com etc) - to sort comments (for multisite)
- all BE users see all comments - even those which is not allowed to edit a comment