Closed mauricerenck closed 8 years ago
Thanks for your suggestion!
The reason why it's great for me to use the content folder is that I can use many of the built in functions. However I don't think they supports to add a dot:
$page->create($uri, $template, $data = array());
You can however use this plugin:
https://github.com/jenstornell/kirby-init-controller
Then you only need to create one single controller and with that remove the revisions
folder with a collection filter (if you have the knowledge).
For the future I have plans to have an option to enable removal of the revisions
folder automatically from all the queries. Why it would only be an option is because I will then use the template component and if another plugin uses it they would collide. A component can only be extended once.
That's a good tip, I'll try it that way. Thanks!
This is more of a suggestion. I like the idea of this plugin a lot and I'm thinking about using it, but I am to lazy to edit all my content-queries to ignore the revisions folder ;)
Wouldn't it be possible to name the folder .revision? Making it invisible should cause that it automatically isn't included in the results of content-queries (at least when running a linux/unix based OS).
You then "just" have to make sure the panel can access the folder.