View Single Post
  #2 (permalink)  
Old 04-29-2007, 05:48 AM
Cristian's Avatar
Cristian Cristian is offline
Administrator
 
Join Date: Feb 2007
Location: Sibiu, Romania
Posts: 101
Default

Actually i am totally rewriting the controller/action model...

I am personally using a database with pages (where each page has an action, a controller, a page ID and other elements), and in URL i am using just page ID along with some SEO things and URL will be like this:

/page-title-optimized-for-search-engines_pageid_language_optionalparam1_optionalpar am2_....

now, for you would be something like this, on index.php:

Code:
$request = new Zend_Controller_Request_Http();
$request->setControllerName("static");
$frontController->setRequest($request);

.......

$frontController->dispatch();
Reply With Quote