Jump to content

Edit/Delete Page Record Buttons Missing In ACP


Joey_M

Recommended Posts

I upgraded to 4.2.7 yesterday, and today one of my admins (the sites editor) has said that he cannot edit page records.

The buttons within the databases ACP listing aren't showing for him.

This isn't the case with any other admins, and oddly the admin can use direct links within the ACP to edit records. Likewise he can actually edit and do everything from the front site, it's just these buttons have magically disappeared. I'm wondering if anyone has this issue?

Link to comment
Share on other sites

Hello,

18 minutes ago, Daniel F said:

Could you please review the admins permissions? Is he allowed to edit records? Are the other admins allowed to edit records?

All checked. There are no buttons, but admin can access to edit form page using direct link

\applications\cms\modules\admin\databases\records.php

			if ( \IPS\Member::loggedIn()->hasAcpRestriction( 'cms', 'records', 'records_edit' ) )
			{
				$return['edit'] = array(
					'title' => 'edit',
					'icon' => 'pencil',
					'link' => \IPS\Http\Url::internal('app=cms&module=databases&controller=records&database_id=' . \IPS\Request::i()->database_id . '&id=' . $row['primary_id_field'] . '&do=form'),
					'data' => array()
				);
			}

			if ( \IPS\Member::loggedIn()->hasAcpRestriction( 'cms', 'records', 'records_delete' ) )
			{
				$return['delete']	= array(
							'title'	=> 'delete',
							'icon'	=> 'times-circle',
							'link'	=> \IPS\Http\Url::internal( 'app=cms&module=databases&controller=records&database_id=' . \IPS\Request::i()->database_id . '&id=' . $row['primary_id_field'] . '&do=delete' ),
							'data'	=> array( 'delete' => '' )
				);
			}

if ( \IPS\Member::loggedIn()->hasAcpRestriction( 'cms', 'records'

Why the module records?

Should be databases

Link to comment
Share on other sites

14 minutes ago, newbie LAC said:

Hello,

All checked. There are no buttons, but admin can access to edit form page using direct link

\applications\cms\modules\admin\databases\records.php


			if ( \IPS\Member::loggedIn()->hasAcpRestriction( 'cms', 'records', 'records_edit' ) )
			{
				$return['edit'] = array(
					'title' => 'edit',
					'icon' => 'pencil',
					'link' => \IPS\Http\Url::internal('app=cms&module=databases&controller=records&database_id=' . \IPS\Request::i()->database_id . '&id=' . $row['primary_id_field'] . '&do=form'),
					'data' => array()
				);
			}

			if ( \IPS\Member::loggedIn()->hasAcpRestriction( 'cms', 'records', 'records_delete' ) )
			{
				$return['delete']	= array(
							'title'	=> 'delete',
							'icon'	=> 'times-circle',
							'link'	=> \IPS\Http\Url::internal( 'app=cms&module=databases&controller=records&database_id=' . \IPS\Request::i()->database_id . '&id=' . $row['primary_id_field'] . '&do=delete' ),
							'data'	=> array( 'delete' => '' )
				);
			}

if ( \IPS\Member::loggedIn()->hasAcpRestriction( 'cms', 'records'

Why the module records?

Should be databases

Thanks, thanks correct

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...