I found it with google search.
$this->Paginator->options
I have to use this in my view. ;)
On Sat, Jun 25, 2011 at 2:39 AM, Sam Sherlock <sam.sherlock@gmail.com> wrote:
ok I see as I say I don't use pagination with that route.
Perhaps others may have suggestions
I think the pass param maybe of help
- S
On 24 June 2011 21:58, Prabha Vathi <prabha.riddles@gmail.com> wrote:I am getting those in $this->params. But the problem is cakephp's pagination givers different urlOn Sat, Jun 25, 2011 at 2:25 AM, Sam Sherlock <sam.sherlock@gmail.com> wrote:
is that not what your expecting?
- S
On 24 June 2011 21:39, Prabha Vathi <prabha.riddles@gmail.com> wrote:[controller] => authors[named] => Array
[action] => first
[letter] => m
(
)
[pass] => Array
(
[0] => m
)
I got letter mArray ( [0] => m )On Sat, Jun 25, 2011 at 2:05 AM, Sam Sherlock <sam.sherlock@gmail.com> 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 <prabha.riddles@gmail.com> 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 <sam.sherlock@gmail.com> wrote:
In controller action try
$this->params['letter']
- SOn 24 Jun 2011 17:57, "Prabha Vathi" <prabha.riddles@gmail.com> 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
> cake-php+unsubscribe@googlegroups.com 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
cake-php+unsubscribe@googlegroups.com 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
cake-php+unsubscribe@googlegroups.com 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
cake-php+unsubscribe@googlegroups.com 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
cake-php+unsubscribe@googlegroups.com 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
cake-php+unsubscribe@googlegroups.com 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
cake-php+unsubscribe@googlegroups.com 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
cake-php+unsubscribe@googlegroups.com 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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment