I don't know if this is a bug or I'm doing something wrong.
Anyway.
I have a simple method in my controller "Foo" called "showFoo()"
I want do display a template that is at thie path /$APP_ROOT/app/view/my_random_dir/my_custom_template.tpl
If I try to use render in my method in this way
$this->render("my_random_dir/my_custom_template.tpl");
the template is shown but without layout !!!!
Is render the correct function to call ? How do I tell render to user the layout specified in the controller ?
Thanks
-- Simone
This may be part of the same bug mentioned in this recent thread.
I've also tried with
$this->renderWithLayout('my_random_dir/my_custom_template', '200', 1 );
but no luck :(
I saw the bug you talked about, but I don't think the problem is the same .
I didn't install the admin plugin, I have a normal Akelos project but still I can't show a custom view for a specific controller/method.
-- Simone
1 to 4 of 4