Re: Process Flow - Controller to Controller

2007-10-04 Thread TGG008
; __ Group A > __ Group B > > Add to New Group(s): > _ > _ > > SUBMIT CANCEL > > That would be great! > > Thanks, > Shawn > > On Oct 3, 2:29 pm, TGG008 <[EMAIL PROTECTED]> wrote: > > > > > I'm thinki

Re: Process Flow - Controller to Controller

2007-10-03 Thread TGG008
I'm thinking of it too, but i think you should define the relationship between the Group and User Model then when you create a User in the User Model ,,It'll automatically Do the associated action.. On Oct 4, 1:56 am, starkey <[EMAIL PROTECTED]> wrote: > Hello, all! > > I am trying to figure ou

Re: Pagination in 1.2 URL problem

2007-10-02 Thread TGG008
In you $paginator you defined 'action' => 'list', but in you router array('controller'=>'tickers','action' => 'getListByLetter'), It's not match i think. On Sep 3, 7:19 pm, Charlie van de Kerkhof <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm fiddling with the paginate Helper in the latest

Re: Using dashes instead of underscores in URLs

2007-10-01 Thread TGG008
You can use the router mechanism. In the app/config/routes.php add Router::connect('/best-practices', array('controller' => '/ best_practices')); If you also want to get rid of the "_" between arguments and it's value Just:set the var $argSeparator = '-'; in you controller file, Hope that he

Re: How to generate URL without ':' that has argument.

2007-09-30 Thread TGG008
can always use > > $myUri = $this->params['url']['url]; > $arguments = explode('_', $myUri[1]); > > On 30 Set, 10:27, TGG008 <[EMAIL PROTECTED]> wrote: > > > > > Thanks~ > > > It seems that CakePHP is not so flexible. > >

Re: How to generate URL without ':' that has argument.

2007-09-30 Thread TGG008
Thanks~ It seems that CakePHP is not so flexible. If I want to build URL like:/google_ID_PAGE.html when the 'ID' is the primary key. and 'PAGE' is the pageid/many pages So is there anyone know how? thanks in advance! On Sep 30, 10:31 am, JadB <[EMAIL PROTECTED]> wrote: > Overwrite t

How to generate URL without ':' that has argument.

2007-09-29 Thread TGG008
It'known that with router: -- start--- Router::connectNamed(array('id')); Router::connect('/something/*', array('controller' => 'users', 'action' => 'view')); --- end

Question About Router,Friendly URL.

2007-09-29 Thread TGG008
Hi,everyone! I've been involed in this problem days... in my routes.php I defined : Router::connect('/google/:id/*', array('controller' => 'users', 'action' => 'view')); when browse /google/123[any number] it display the page of 'controller' => 'users', 'action' => 'index' ---