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

Making Contenttypes more configurable #1581

Merged
merged 3 commits into from
Aug 24, 2014

Conversation

rossriley
Copy link
Contributor

I know we're not supposed to be adding features, but it was proving extremely complicated to make an extension that provided a new field type, and I can imagine that this will be quite a popular need for extensions.

So this makes fields on $app['config'] a manager object that can accept the adding of new fields. It also initialises the defaults and then allows the twig template to query available fields before rendering.

@bobdenotter
Copy link
Member

Oh you!

@bobdenotter
Copy link
Member

Seriously though, looks good at first glance.. Also, you've made the discussion in #1420 moot, because we now can tell people to just make an extension for that. ;-)

@rossriley
Copy link
Contributor Author

ha. Purely selfish.. I need to make an extension for that.

bobdenotter added a commit that referenced this pull request Aug 24, 2014
@bobdenotter bobdenotter merged commit 0f3fee4 into bolt:master Aug 24, 2014
@rixbeck
Copy link
Member

rixbeck commented Aug 24, 2014

Ross, that's great! Thanks!

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

Successfully merging this pull request may close these issues.

3 participants