View Single Post
  #8 (permalink)  
Old 04-05-2008, 08:12 PM
BJM BJM is offline
Junior Member
 
Join Date: Apr 2008
Posts: 8
Default

If anyone is interested, I've been able to solve the issue using routes:

PHP Code:
$router $front->getRouter();
$router->addRoute(
    
'default',
    new 
Zend_Controller_Router_Route('*', array(
        
'controller' => 'index',
        
'action'     => 'index')));
     
$router $front->getRouter();
$router->addRoute(
    
'admin',
    new 
Zend_Controller_Router_Route('admin/:controller/:action/*', array(
        
'module' => 'administration',
        
'controller' => 'index',
        
'action'     => 'index'))); 
Not sure if this is the best approach since I'm new to Zend Framework ... but it works . Thanks for the replies.
Reply With Quote