Jump to content

Recommended Posts

Posted

Hey,

I completely built this platform with ProcessWire (http://djmag.live/). It works fine except for the fact that some pages are still show, even when I change their state to "unpublished". They are still showing when they are returned through $object->children("template=_foo") or $pages->find("template=_foo").

 

Does anybody know what the problem might be? 

Posted

Maybe you have some more information? Code. Where is the code. What are those pages and how are they created? What is their status in DB? 

I can't think of anything that would cause this.

Posted

Since the informations are really spare, any chance to have a look at that? Or a db dump?

  • Like 1
Posted

I've tested in PW 3.0.42 and it works as expected. Unpublished pages are not returned, whether I am logged in as a superuser or not. Seems there's something else going on in your install. 

  • Like 1
  • 2 months later...
Posted

I had a similiar problem. My mistake was that I only unpublished the parent, not the actual pages that I queried for with get/find.

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
×
×
  • Create New...