Choose to render another view while handling BeforeDisplay event

jestah09

Joined: 2010-09-22
Posts: 1
Posted: Wed, 2010-09-22 20:50

In my module there's a handleEvent function which is working for the BeforeDisplay-Event, but when i return e.g. array(null, array(array('view' => 'mymodname.EmptyPage'))); from this module, the "view"-part will be ignored.

what am i doing wrong? and yes, there's a EmptyPage.tpl in the templates, also handleEvent is called.

i appreciate any hint.

best,
jes