[fw-general] Adding a wildcard route with an exception

2010-04-19 Thread MrMastermindNL
Hi, I've added a wildcard route to my bootstrap, so that I can catch the request URI which I use to find a piece of XML in the controller: $router-addRoute('XMLroute', new Zend_Controller_Router_Route('*', array('controller' = 'index', 'action' = 'index'))); This way all urls will go throught

[fw-general] Re: Adding a wildcard route with an exception [SOLVED]

2010-04-19 Thread MrMastermindNL
I fixed it, it is actually really simple, just need to test a bit more ;) -- View this message in context: http://n4.nabble.com/Adding-a-wildcard-route-with-an-exception-tp2015701p2015711.html Sent from the Zend Framework mailing list archive at Nabble.com.

[fw-general] Zend form captcha element decorator problem

2010-04-19 Thread whisher
Hi, I’ve just a lot of troubles with a captcha element. The element is put to the top and the description to the end I don’t know which way to turn. Here the form class Form_Test extends Zend_Form { public function init() { $this-setMethod('post'); $this-setAttrib('enctype',

[fw-general] Automatic language detection

2010-04-19 Thread Loïc Frering
Hello, I'm facing a problem using automatic language detection with Zend_Translate. I'm using Zend_Application_Resource_Translate and here is my application.ini : ... resources.translate.adapter = ini resources.translate.data = APPLICATION_PATH /../languages resources.translate.options.scan =

[fw-general] Zend_Tool bug of Case Sensitivity or is this a feature?

2010-04-19 Thread Ralf Eggert
Hi, I am playing around with Zend_Tool and found a weird behaviour: zf create module Foo zf create controller index 1 Foo zf create module bar zf create controller index 1 bar zf create model foo bar zf create model Bar Foo When I call http://myproject/foo I get an Invalid controller specified

Re: [fw-general] Zend_Tool bug of Case Sensitivity or is this a feature?

2010-04-19 Thread Ralph Schindler
(index) message. When I call http://myproject/bar it works fine. So a module with a capital letter cannot be found by the router. If I change the directory path from /application/modules/Foo to /application/modules/foo everything works fine again. So, from this point I think having a capital

Re: [fw-general] Zend_Tool bug of Case Sensitivity or is this a feature?

2010-04-19 Thread Chris Morrell
How does that apply to multi-word modules? I could be wrong, but I'm pretty sure Zend_Tool doesn't handle them very well either… CM http://cmorrell.com/ *Chris Morrell* Web: http://cmorrell.com Twitter: @inxilpro http://twitter.com/inxilpro On Mon, Apr 19, 2010 at 12:31 PM, Ralph