I am getting those in $this->params. But the problem is cakephp's pagination
givers different url

On Sat, Jun 25, 2011 at 2:25 AM, Sam Sherlock <[email protected]>wrote:

> is that not what your expecting?
>  - S
>
>
>
>
>
> On 24 June 2011 21:39, Prabha Vathi <[email protected]> wrote:
>
>> [controller] => authors
>>     [action] => first
>>     [letter] => m
>>     [named] => Array
>>         (
>>         )
>>
>>     [pass] => Array
>>         (
>>             [0] => m
>>         )
>>
>> I got letter m
>>
>> Array
>> (
>>     [0] => m
>> )
>>
>>
>>
>> On Sat, Jun 25, 2011 at 2:05 AM, Sam Sherlock <[email protected]>wrote:
>>
>>> 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
>>>
>>
>>
>>
>> --
>> -- 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
>



-- 
-- 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

Reply via email to