Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dospuntocero opened this issue Sep 8, 2012 · 6 comments
Open

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

dospuntocero opened this issue Sep 8, 2012 · 6 comments

Comments

@dospuntocero
Copy link

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?

@unclecheese
Copy link
Owner

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

@dospuntocero
Copy link
Author

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

@dospuntocero
Copy link
Author

uhhmmm... i tried this:

_project yml prensapoker

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

@unclecheese
Copy link
Owner

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

;-)

@dospuntocero
Copy link
Author

awww :( sniff..

@dospuntocero
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants