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

Extending the admin interface #50

Open
sekjal opened this issue Jun 22, 2018 · 1 comment
Open

Extending the admin interface #50

sekjal opened this issue Jun 22, 2018 · 1 comment

Comments

@sekjal
Copy link

sekjal commented Jun 22, 2018

I'm working on a module to allow users to fetch data from external calendar sources (anything that supports iCal) and bring the Events into this system. It would be great if I could add the management of those ExternalCalendar sources to the existing CalendarAdmin (rather than creating a whole other ModelAdmin entry), but CalendarAdmin only pulls in PublicCalendar and PublicEvents, and my module subclasses from Calendar and Event directly.

It would be great if we could add a hook in the CalendarAdmin::getManagedModels() function to allow modules like mine to extend the administrative interface to cover new functionality without fragmenting across multiple ModelAdmin screens.

I'm happy to write up a pull request for this if this seems like a worthwhile enhancement.

@anselmdk
Copy link
Member

Sure, do that, I think that it sounds like a good enhancement.

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