Navigation Menu

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

add new events to core #214

Merged
merged 1 commit into from Apr 9, 2015
Merged

Conversation

Schlaefer
Copy link
Member

I want to introduce a few new events:

  • after core init: access the response (e.g. change status code from 404 to 200 to serve different content on 404)
  • after 404: detect when a 404 happened
  • after resolve page: detect which page was requested and which page is actually served as main page

What above offers is possible at the moment by parsing and comparing file-paths and/or urls, derive it from other events, sending a complete new response etc.

But imho those events would make life for plugins a lot easier because they are more explicit.

@Schlaefer Schlaefer modified the milestone: v1.5.0 Mar 28, 2015
Schlaefer added a commit that referenced this pull request Apr 9, 2015
@Schlaefer Schlaefer merged commit dfd669c into PhileCMS:develop Apr 9, 2015
@Schlaefer Schlaefer deleted the feature/newEvents branch April 9, 2015 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants