choose to render another view while handling BeforeDisplay eventt

www.tehran123.com

Joined: 2010-12-07
Posts: 1
Posted: Tue, 2010-12-07 01:51

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