You are PHPScriptor. Arn't you? I like your answering style :-)

> In the same directory I think you mean.
>



Yes. so that means what I am doing is fine.




> public function setupRoutes(Zend_Controller_Front $frontController)
> {
>  $router = $frontController->getRouter();
>  $router->addRoute(
>    'news',
>    new Zend_Controller_Router_Route('news/:page',
>    array('module'=>'news', 'page' => 1, 'controller' => 'index', 'action'
> => 'index'))
>  );
> }
>
> this is giving me something like http//localhost/news/page/2 ('page' => 1 is
> set 'cause I want to start at this page :-))
>
>



Where this function should go?
bootstrap.php?
In the controller?
model?


Sorry for asking the silly question, I am kind of lost here. I don't
fully understand this yet.


Thank for your time.

-- 
=======================
Registered Linux User #460714
Currently Using Fedora 8, 10
=======================

Reply via email to