Started on Wednesday, August 8th, 2018 by אלון גולדמן, has 3 messages and is not resolved yet.
The last message was posted by Noahj Champion 4 years ago.
hey,
im trying to add a new container, and make it apeare as an option page.
i save it, and everything is cool.
but when i try to reach the option page, i get this message: "you are not allowed to access this page".
if i try to add the container into a post, it works. it doenst work only when i try to add this as a option page.
i tried setting permission to everyone in the container setting; butit didnt work.
how can i solve this?
thanks!
Hi!
Did you try setting the https://www.ultimate-fields.com/docs/quick-start/container-settings/#roles-capabilities $container->require_role(NULL); $container->require_capability(NULL)
?
If that doesn't work, then I would double check that your options pages, it surely the exact same as your container location. It could be they are not and so the optins page itself doesn't actually exist. This mistake (which I have made several times in just typing to fast) will return this message.
If that doesn't work, then it should be the role or capabilities within you as the admin user. The default Wordpress admin user should have the proper capabilities by default.
Just chipping in, as I had run into this while developing with UF too.
So now all my container setups look like this pretty much. I keep enabled what I can for quick changing, but set NULL or EMPTY, etc. if needed.