I migrated a 4.7 Drupal installation to a new host, since then I can't da anything on the website, I can login with users or admin but wherever I go (/admin, /add/node, etc..) I get:
I would like to give Authenticated Users the opportunity to edit pages on my site, but I want them to generate a new revision only.
After an Admin (me) reviews it, and checks it it, it becomes the new page.
Is that possible with Drupal revisions?
In the permissions I only see the option to grant an authenticated user edit privileges, but i would rather like edit to new revision privileges instead.
Hopefully this is something easy (though search has not helped me much) - how to get a $node object given a drupal path?
say I have something like "node/231" or its alias "alias-for-node-231".
I would like to find out the type of that node, so need the $node object - which Drupal API function can give the $node for a path? Or is this not possible?