try

debug($this->params);

debug(func_get_args());

I have a route for pages using slugs and slug is an index in the params
array,
func_get_args is empty


Router::connect('/:slug', array(
        'controller' => 'app_pages',
        'action' => 'view'),
        array('routeClass' => 'DynamPageRoute'));
(I don't use pagination on these routes)

 - S




On 24 June 2011 21:05, Prabha Vathi <[email protected]> wrote:

> No. It is not working.
> Why $this->params['letter'] ?
>
> Why cake is not parsing pagination link?
>
>
> On Fri, Jun 24, 2011 at 11:04 PM, Sam Sherlock <[email protected]>wrote:
>
>> In controller action try
>>
>> $this->params['letter']
>> - S
>> On 24 Jun 2011 17:57, "Prabha Vathi" <[email protected]> wrote:
>> > No, It is not working. If i remove this
>> > Router::connect('/authors/first-letter/:letter', array('controller' =>
>> > 'authors', 'action' => 'first'),array('pass' => array('letter'),'letter'
>> =>
>> > '[a-zA-Z]'));
>> > and the one you gave me, i am getting error.
>> >
>> > If i add that new code in new line it is not changing the paging url. I
>> am
>> > still getting wrong paging url.
>> >
>> > --
>> > Our newest site for the community: CakePHP Video Tutorials
>> http://tv.cakephp.org
>> > Check out the new CakePHP Questions site http://ask.cakephp.org and
>> help others with their CakePHP related questions.
>> >
>> >
>> > To unsubscribe from this group, send email to
>> > [email protected] For more options, visit this
>> group at http://groups.google.com/group/cake-php
>>
>> --
>> Our newest site for the community: CakePHP Video Tutorials
>> http://tv.cakephp.org
>> Check out the new CakePHP Questions site http://ask.cakephp.org and help
>> others with their CakePHP related questions.
>>
>>
>> To unsubscribe from this group, send email to
>> [email protected] For more options, visit this group
>> at http://groups.google.com/group/cake-php
>>
>
>
>
> --
> -- Prabhavathi
>
>
>  --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to