Ryan Cramer

Results 408 comments of Ryan Cramer

Actually `$page->viewable()` is the standard, recommended, and best way to check if a page is viewable, and used throughout the entire system. If that viewable() call returns false, then ProcessWire...

I'm not seeing that here. Can you show me a screenshot of what you are seeing and in what version of PW?

Your count for superuser there is correct. Trash is technically a page, though debatable whether it should be counted as one in this context. But what you are seeing for...

Sorry, I wasn't thinking. The 404 page shouldn't show up there since it is a system page, so that's definitely not it (yes they can still edit it if they...

Are there any other 3rd party modules installed, or do you have any custom hooks in play? You might try enabling debug mode, then clicking "debug mode tools > hooks"...

This is actually the purpose of the add() method, just to save you a step or two relative to doing a `new User()`. All Pages/PagesType operations are database operations, and...

There is no 1-per-second max for PW's WireLog/ProcessLogger. Take a look in your system-updater log and you should see plenty of log entries with the same timestamp. I think you...

I'm actually setting up the PW 2.8 repo on the new GitHub org account, but saving that one for next week. It'll include instructions in its contributing file and first...

If specifying a function, the $func argument should be an actual callable closure/function. Whereas string arguments are meant to map to a property of items in the WireArray or a...

Thanks for the PR. I've tried to avoid getting service-specific options in the configuration since this module isn't meant to be specific to YouTube (though admittedly that's the most likely...