Re: How to change the argument separator for named params?

2008-06-16 Thread AD7six
On Jun 16, 1:57 am, Matt Huggins [EMAIL PROTECTED] wrote: For giggles, I also tried the following in my app_controller.php, and it didn't make a difference: Anything you try in the app controller is too late. Edit that:

Re: How to change the argument separator for named params?

2008-06-16 Thread Matt Huggins
Okay, I've been going insane over this, and it turns out there's a bug in the core. I'm uploading a patch to trac now. On Jun 16, 1:26 am, AD7six [EMAIL PROTECTED] wrote: On Jun 16, 1:57 am, Matt Huggins [EMAIL PROTECTED] wrote: For giggles, I also tried the following in my

Re: How to change the argument separator for named params?

2008-06-16 Thread Matt Huggins
And here's the ticket/fix: https://trac.cakephp.org/ticket/4923 I'm glad I'm not crazy, but now I lost like 3 days of work...now to make up for lost time! On Jun 16, 4:34 am, Matt Huggins [EMAIL PROTECTED] wrote: Okay, I've been going insane over this, and it turns out there's a bug in the

Re: How to change the argument separator for named params?

2008-06-15 Thread Matt Huggins
I still can't manage to change the named parameter argument separator from a colon to a semicolon. Here are the things I've tried doing, which look like they fall in line with the documentation I've come across. app_controller.php: class AppController extends Controller { var

Re: How to change the argument separator for named params?

2008-06-15 Thread Matt Huggins
For giggles, I also tried the following in my app_controller.php, and it didn't make a difference: function __construct() { Router::setRequestInfo(array( Router::parse($this-here), array('argSeparator' = ';'), )); parent::__construct(); }

Re: How to change the argument separator for named params?

2008-06-14 Thread Matt Huggins
@Marcin - I searched all over for argSeperator (and argSeparator, I guess whoever coded the feature can't spell though :P ). I found a bunch of articles saying to set a variable $argSeperator in app_controller.php to another character to make it work, but it didn't work for me. @Nate - I

Re: How to change the argument separator for named params?

2008-06-13 Thread Matt Huggins
Really? No one knows how to do this? On Jun 12, 4:39 pm, Matt Huggins [EMAIL PROTECTED] wrote: Does anyone know how to change the argument separator for named parameters in CakePHP 1.2?  I keep finding posts where people say to set the value of $argSeperator (or $argSeparator) in

Re: How to change the argument separator for named params?

2008-06-13 Thread Marcin Domanski
Hey, Did you try searching the api for 'argSeperator' - it would be the first thing i would do... and im _sure_ you'll find the answer right away (only 2 results). greets, On Fri, Jun 13, 2008 at 7:34 PM, Matt Huggins [EMAIL PROTECTED] wrote: Really? No one knows how to do this? On Jun 12,

Re: How to change the argument separator for named params?

2008-06-13 Thread Nate
Try the API documentation for Router::connectNamed() On Jun 13, 1:34 pm, Matt Huggins [EMAIL PROTECTED] wrote: Really?  No one knows how to do this? On Jun 12, 4:39 pm, Matt Huggins [EMAIL PROTECTED] wrote: Does anyone know how to change the argument separator for named parameters in

How to change the argument separator for named params?

2008-06-12 Thread Matt Huggins
Does anyone know how to change the argument separator for named parameters in CakePHP 1.2? I keep finding posts where people say to set the value of $argSeperator (or $argSeparator) in app_controller.php, but this doesn't change anything for me. I also stumbled across Router::connectNamed with