Hello ...
> Are you naming the controllers in you news directory with the prefix
> 'News_'?
Yes I have done that.
This was my first trap, but if I got this I had the error I named in
the mail to the list.
Maybe I could spend some more details. For me it looks like my layout
html file will be filled with wrong content.
In "<?= $this->layout()->content."\n" ?>" I got the complete webpage a
second time not only the content I aspect.
I forgot to say in my first mail that I reset my layout script in the
News controller.
Controller for News:
<?php
class News_IndexController extends Zend_Controller_Action
{
public function init()
{
$this->view->baseUrl = $this->_request->getBaseUrl();
$this->_helper->layout()->setLayout('Layout_Sidebar');
}
public function indexAction() {}
public function __call($method, $args) {
if ('Action' == substr($method, -6)) {
// If the action method was not found, forward to the index action
echo "Action not found";
return $this->_forward('index');
}
// all other methods throw an exception
throw new Exception('Invalid method "' . $method . '" called');
}
}
--
Mit freundlichen Grüßen
With best regards
Wolfgang Forstmeier
-------------------------------------------
+49° 34' 26.76", +11° 0' 48.60"
-------------------------------------------
mailto:[EMAIL PROTECTED]