Jump to content

Can't delete page


manuel1981
 Share

Recommended Posts

Hey guys,

I have a simple child page from home that i can not delete or move. I'm logged in as Admin and everything else works fine, but the Edit menu lacks the delete tab. Changing the template or content works fine. I use Processwire 3. Can someone help me with this?

Thank you

screenshot.png

Link to comment
Share on other sites

Hi Manuel,

Are you having this issue only with this page ? What about the other pages, does the delete tab show up normally there ? If you create another test page, does the delete tab show up then normally ?  I have never seen a setting to hide a tab for a user group, you would need a module for this.

https://processwire.com/talk/topic/4680-block-access-to-settings-delete-and-view-tabs-for-page/

For the moment you can use this simple api delete code to remove that contact page and then after recreate that page and see if the delete tab is there again:

$thispage = $pages->get('/contact/');

$pages->delete($thispage);

// or 

$pages->trash($thispage);

 

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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