Hello, beginner/intermediate here. I would like to...
# support
h
Hello, beginner/intermediate here. I would like to add an independent model "blog_articles" to the admin pannel. Do you have a resource I can use to do this? Thanks a lot!
1
j
This doesn't lay it out exactly, but includes instructions for a few things you'll need to do: https://guides.solidus.io/customization/customizing-the-backend Broadly speaking, you create your model, create a controller for your model (probably subclassing
Spree::Admin::ResourceController
) and add the routes.
w
☝️ @Hugo F feel free to get back with whatever problem you might find in the process
h
Thank you for your answer, i'll keep you informed if i need help 😀
c
I'm also intermediate level, learning a lot as I go, but I thought maybe my snippets would be helpful so I did a super quick write-up. https://cozyorb.com/posts/4 I only spent, like, 15-20 minutes and haven't copy edited it, so hopefully it coherent. lol (Actually just noticed the the code snippets are basically unreadable, sorry if you view it before I fix this, heh)
j
Haha yeah I was about to post this screenshot 😄
🥴
😂 1
h
That's awesome, thank you so much ! 👏