[fw-general] Re: underscore in URL

2011-03-08 Thread tkuben
Hi, 

I am trying to create a controller with an underscore. I've added the
specified code to my bootstrap:

class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{

protected function _initDoctype()
{
$dispatcher = $front->getDispatcher();
$dispatcher->setWordDelimiter(array('.', '-'))->setPathDelimiter('');   
  
}
}

However, when I do the following:  zf create controller press_release

I still get Note: 
PHPUnit is required in order to generate controller test stubs.
  An Error Has Occurred
 Controller names should be camel cased.

Zend Framework Command Line Console Tool v1.11.4
Details for action "Create" and provider "Controller"
  Controller
zf create controller name index-action-included[=1] module

Any thoughts. 

Thanks. 

--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/underscore-in-URL-tp648359p3341777.html
Sent from the Zend Framework mailing list archive at Nabble.com.


[fw-general] Re: Newbie : Message: Invalid controller specified

2011-03-07 Thread tkuben
Hi, 

what if you want a URL like this: 

http://localhost/press_release

Would you create a new controller called press_release and the actions
associated with it. If the end user requires this to be an underscore. What
do we do?

Cheers,

--
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Newbie-Message-Invalid-controller-specified-tp3334842p3339719.html
Sent from the Zend Framework mailing list archive at Nabble.com.