Hi Rob,
No problem, I didn't feel belittled. I'd presumed you'd skimmed over
it and shot off a reply. Just shows you're busy but still eager to help!
Thanks,
Nick
I like the way you say "nowadays" in an "well yes, that was how we
used
to do it back in the day, but of course, the modern w
Nick Lo wrote:
> Hi Rob,
>
>> Nowadays, you should override Zend_Controller_Action::init() rather than
>> override the constructor. Zend_Controller_Action::__construct() calls
>> init() as the last thing it does.
>
> I like the way you say "nowadays" in an "well yes, that was how we used
> to do
-- Nick Lo <[EMAIL PROTECTED]> wrote
(on Tuesday, 05 December 2006, 08:51 PM +1100):
> Hi Rob,
>
> >Nowadays, you should override Zend_Controller_Action::init() rather
> >than
> >override the constructor. Zend_Controller_Action::__construct() calls
> >init() as the last thing it does.
>
> I lik
Hi Rob,
Nowadays, you should override Zend_Controller_Action::init() rather
than
override the constructor. Zend_Controller_Action::__construct() calls
init() as the last thing it does.
I like the way you say "nowadays" in an "well yes, that was how we
used to do it back in the day, but of
Nick Lo wrote:
>
> Anyway, I finally narrowed it down...
>
> Before I was first extending Zend_Controller_Action with a general file
> something like:
>
> class IndexController extends Zend_Controller_Action
> {
> public function __construct()
> {
> parent::__construct();
>
Hi Martel,
2077 is not related to controller in any way but let's try
resolving your problem.
I was just using it as a point of reference as in "I'm currently
using svn checkout 2077".
I'm using incubator version of Zend_Config which, according to the
wiki manual, should be instantiated
Nick Lo wrote:
SVN checkout 2077 seems to have broken the ability to get parameters
from a rewrite route url (that or I've been doing it all wrong)...
2077 is not related to controller in any way but let's try resolving your
problem.
In index.php:
$router = new Zend_Controller_RewriteRoute
SVN checkout 2077 seems to have broken the ability to get parameters
from a rewrite route url (that or I've been doing it all wrong)...
In ini config:
routes.article.route = article/:ref
routes.article.defaults.controller = articles
routes.article.defaults.action = view
In index.php:
$router