Results 1 to 4 of 4

Thread: hide comments in BE

  1. #1
    User
    Join Date
    05-02-10.
    Posts
    121

    Default 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 ))
    sorry for my english

  2. #2
    User
    Join Date
    05-02-10.
    Posts
    121

    Default Re: hide comments in BE

    or maybe make filter? (option site1.com site2.com etc)

    help me please
    sorry for my english

  3. #3
    Experienced user
    Join Date
    01-12-10.
    Posts
    814

    Default 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.

  4. #4
    User
    Join Date
    05-02-10.
    Posts
    121

    Default 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
    sorry for my english

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •