Troubles with aliases

Hi to all!

I have some extensions used by only one module, so I want to place ones in module directory. But in this case I have an exception:


Alias "modules.admin.extensions.trash.Trash" is invalid. Make sure it points to an existing directory or file.



The piece of code from the view file:


<?php $this->widget('modules.admin.extensions.trash.Trash',array(

If to place the extesion to root path with other extensions all is working:


<?php $this->widget('ext.trash.Trash',array(

but portability of the module will be break :huh:

You should use "application.modules.admin.extensions.trash.Trash" or "admin.extensions.trash.Trash".

Thanks :)