Sign in to follow this  
manuel1981

Can't delete page

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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Hi,

After this did not help, I noticed that the 404 page was missing. It seems that my client simply renamed it and filled it with content. 🙄

That was obviously the problem.

sorry and thanks for your quick help!

  • Like 1

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.