2009/8/3 Vladas Diržys vladas.dir...@gmail.com
The problem is then I do such like this:
$hostRoute-chain($pathRoute); -- only one hostname can be routed.
You should have two hostname routes with paths chained to them. The
hostname routes will define your modules, while the paths define the
Hi,
I need some help, so if you know what i'm doing wrong, please don't hesitate
:-)
I have a website with a few path regexp routes.
Lets say:
www.example1.com/cat-foo-bar.html - default module, cat controller
www.example1.com/ad-foo-bar.html - default module, ad controller
Hi,
I want to make this kind of route:
www.mysite.com/staticword-dynamicword.html
where 'dynamicword' will be a variable.
I tried do make this route without success, I always get an 'Invalid controller
specified' exception.
My test was with this code
$route = new
',
'lang' = ''
)
);
http://framework.zend.com/manual/en/zend.controller.router.html
Sergio Rinaudo
From: kaiohken1...@hotmail.com
To: fw-general@lists.zend.com
Date: Sun, 26 Jul 2009 01:44:49 +0200
Subject: [fw-general] Routing question
Hi,
I want to make
Andrew Yager wrote:
Should there be any difference in processing
$route = new Zend_Controller_Router_Route(/,
array(controller=index, action=index), $formats);
and
$route = new Zend_Controller_Router_StaticRoute(/,
array(controller=index, action=index), $formats);
Of course not.
I
Hi,
I'm sure there is a simple answer to this question, I just can't seem
to find it at the moment.
I'm trying to get the __call/not found action of 0.6 working properly.
Essentially, I want the following behaviour:
When a user browses to http://siteurl/ they see the index page
Any other
What does your code look like?
If, for example, you are using the RewriteRouter, you could do something
like this:
$router-addRoute('catchall', new Zend_Controller_Router_Route('/*',
array('controller'='index', 'action'='error'), array());
$router-addRoute('home', new
Thanks to everyone who replied to my previous question.
Should there be any difference in processing
$route = new Zend_Controller_Router_Route(/, array
(controller=index, action=index), $formats);
and
$route = new Zend_Controller_Router_StaticRoute(/, array
(controller=index,