SilverSmith icon indicating copy to clipboard operation
SilverSmith copied to clipboard

[ENHANCEMENT] Admins: {} node in _project.yml

Open dospuntocero opened this issue 13 years ago • 6 comments

I was thinking of this since you already can create custom objects that are not tied to any page using the Components: {} node in the yaml file..

something like:

Admins: Invoices: Icon: [url to icon here] URL: invoices MenuTitle: My Invoices ShowImport: true/false Manages: {Client, Invoice} <- not sure how this must look like...

what do you think UC?

dospuntocero avatar Sep 08 '12 17:09 dospuntocero

Yes! I have a rough spec for supporting modeladmin. It will work like this:

Components:
  Person:
    Fields:
      Name: {CMSField: Text}
      City: {CMSField: Text}
    Interface:
      Type: modeladmin
      Icon: /path/to/icon.png
      Title: People
      ShowImport: false

unclecheese avatar Sep 11 '12 13:09 unclecheese

nice! :) i will try to look into it then thanks

dospuntocero avatar Sep 11 '12 14:09 dospuntocero

uhhmmm... i tried this:

_project yml prensapoker

but it didnt worked... :( it created the dataobject but not the modeladmin class

dospuntocero avatar Feb 18 '13 02:02 dospuntocero

It's just an idea. It's not implemented yet. That's why I said "this is how it WILL work."

;-)

unclecheese avatar Feb 18 '13 02:02 unclecheese

awww :( sniff..

dospuntocero avatar Feb 18 '13 03:02 dospuntocero

its so sad im the only one in the world that uses silversmith... :'( ... well maybe you too...

dospuntocero avatar Apr 08 '15 15:04 dospuntocero