No, It doesn't solve it for me.
I use controller plugin to set up my view code in plugin is :
public function dispatchLoopStartup(Zend_Controller_Request_Abstract
$request)
{
$viewRenderer =
Zend_Controller_Action_HelperBroker::getStaticHelper('viewRenderer');
$viewRenderer->setViewBasePathSpec('../application/views');
$viewRenderer->setViewScriptPathSpec(':module/:controller/:action.:suffix');
$viewRenderer->setView(new Zend_View());
$viewRenderer->view->addHelperPath('../application/views/helpers',
'Dhi_View_Helper');
$viewRenderer->view->strictVars(false);
}
-----
My helper class:
class Dhi_View_Helper_ActionUri
{
public function actionUri($base, $replacement)
{
$returnString = str_replace(array_keys($replacement),
array_values($replacement), $base);
$returnString = preg_replace('/%[^%]{0,}%/i', 'NULL',
$returnString);
return $returnString;
}
}
When I want to use that helper inside a view script that is used in Admin
module, any controller and any action i get Exception: File ActionUri.php
was loaded but class named Admin_View_Helper_ActionUri was not found within
it.
So File was loaded, but again it searched module based helper.
I was trying to see what is going on inside ZF code and i saw 3 class names
it is looking for. Common Zend Helper class, class prefixed with what I
added with addHelperPath() and this Module based class (the one that makes
thing throw exception)
Helpers were written according to :
http://framework.zend.com/manual/en/zend.view.helpers.html#zend.view.helpers.custom
Matthew Weier O'Phinney-3 wrote:
>
> -- Matthew Weier O'Phinney <[EMAIL PROTECTED]> wrote
> (on Monday, 28 July 2008, 01:37 PM -0400):
> Should be fixed now; please see
>
> http://framework.zend.com/issues/browse/ZF-3783
>
> for details.
>
>
> --
> Matthew Weier O'Phinney
> Software Architect | [EMAIL PROTECTED]
> Zend Framework | http://framework.zend.com/
>
>
--
View this message in context:
http://www.nabble.com/Error-in-Zend-Framework-1.6-RC1---tp18621418p18706990.html
Sent from the Zend Framework mailing list archive at Nabble.com.