Hiding a Collection in entire Control-Panel #7194
khorramMohammadMahdi
started this conversation in
General
Replies: 2 comments
-
You might actually be better creating a Stache store for whatever you're storing. Then you can store 'things' and you don't need to show them anywhere in the Control Panel. I can't find any documentation on creating a Stache store but there's a few addons you could look at that do:
Otherwise, you could potentially use permissions to limit the collections users see (however, Super Admins would still see them). You could also hide links to it with JavaScript but then it would still show in things like dropdowns in the Entries fieldtype etc. |
Beta Was this translation helpful? Give feedback.
0 replies
This comment was marked as spam.
This comment was marked as spam.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hi there ✌
i'm creating an addon and i need to store some records (might be a a lot) as flat-files, they're vulnerable and will be used only at backscene, so obviously i don't want them to be seen or modified by user.
as you know if i store them as Entries in a Collection, that collection will be listed in Collections list and will have blueprint and will be creatable and modifiable and ...
and i will be doomed
so, is there any way that i hide a collection or create a custom repository of my own and still be able to querying, filtering, storing, saving and deleting ... in a convenient way like the one that i have with Statamic\Facades\Entry Fecade ?
Beta Was this translation helpful? Give feedback.
All reactions