Jump to content

Edit/Delete Page Record Buttons Missing In ACP

Featured Replies

Posted

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?

It's a bug.

Submit a ticket.

Hi,

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

recordperms.png

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

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

  • Author
7 hours ago, newbie LAC said:

It's a bug.

Submit a ticket.

Already did before this Newbie. :)

Quite funny and weird how the bug effects the one person who needs to edit the content. :lol:

Thanks for your help @newbie LAC and @Daniel F

Archived

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

Recently Browsing 0

  • No registered users viewing this page.