Closed idl3 closed 9 years ago
I'd personally prefer to not include Posts management in the core of Spina CMS. I think it would be better to build it as a plugin. Can we perhaps build a better plugin structure?
Agreed, I was just about to mention about managing custom-defined content as well. Maybe we can expose a way for us to include Models that exist in the parent rails app and Spina will know how to CRUD these objects.
Something like how ActiveAdmin does it?
I prefer Refinery's way of actually generating new models that are namespaced in Spina. I think we shouldn't mix Spina with it's parent Rails app.
Ah, alright will look into how refinery does it. Do you have any specific terminology you would like to use before I come up with some preliminary diagrams on how we can implement this?
@Bramjetten any ideas on how we can go about creating the plugin structure? I see some plugins placeholders in the theme initializer file but if you point me in the right direction I can go read up or work something out.
I actually created some plugins for our own projects. Try this one for example: http://restaurant.denkwebsite.nl/admin admin / admin
There's two (dutch) plugins below Media library. One is for managing reviews and the other is for saving opening times.
Hmm cant seem to login :x haha
Excuse me: mail@bramjetten.nl / admin
Ahh that works, how do I go about implementing that? Any reference code I can see? I could write the documentation for that while I am at it too haha!
That's the reviews plugin.
Ah would it be possible to view the restaurant apps theme initializer? Or how we should include the plugin into a theme? Thanks!
@Bramjetten thanks, got it to work! Couldn't seem to see the plugin menu on the dashboard page and realise it was a multiple theme bug :) Submitted a PR to fix that already!
Will write up a quick guide to the plugin system once I get my hands dirty with a few plugins!
Add a separate page to manage posts management, possibly to add manage categories as well.
Do you have any ideas how you would want to implement this? I can get to work on this immediately ;)