EdpModuleLayouts icon indicating copy to clipboard operation
EdpModuleLayouts copied to clipboard

Not Found Layout

Open jessiegreen opened this issue 11 years ago • 3 comments

Add the ability to add a custom layout for a not found mvc event using the "Not Found" config key.

jessiegreen avatar Mar 22 '14 03:03 jessiegreen

A different "not-found" per module? Is that even meant to be supported? There's already a setting for it in the standard MVC...

Ocramius avatar Mar 22 '14 03:03 Ocramius

Is there a way to change the layout for the 404? I only see an option for changing the view for it. From my understanding it is currently just using the last module that was loaded's layout. It is basically addressing this: https://github.com/zendframework/zf2/issues/2604. I thought it fitting to be in your module.

jessiegreen avatar Mar 22 '14 03:03 jessiegreen

Ah, I see what you mean.

I'm not sure if the feature is interesting/relevant for this module though, as it is really meant to be minimal for the sake of the example.

Ocramius avatar Mar 22 '14 22:03 Ocramius