i will try this and see the result i think the problem was related inthe routes configuration ?
On 3 avr, 19:22, cricket <[email protected]> wrote: > On Sun, Apr 3, 2011 at 9:11 AM, blogSystem <[email protected]> wrote: > > does any one have an idea about the source of the problems ? > > Put this in AppController: > > function redirect($url, $status = null, $exit = true) > { > die(debug($this->params)); > > > > > > > > } > > On 2 avr, 21:36, blogSystem <[email protected]> wrote: > >> i forgot: > >> in my routes.php > >> Router::connect( > >> '/blog/*', > >> array('controller' => 'blogs', 'action' => 'pseudo') > >> ); > > >> in the controllers i have: > >> var $paginate = array( > >> 'Article' => array( > >> 'limit' => 5, > >> 'order' => array( > >> 'Article.id' => 'desc' > >> ) > >> )); > >> in the views i have: > > >> $paginator->options(array('url' => > >> $this->passedArgs)); > >> echo $paginator->prev(' Précedent - ', null, null, > >> array('class' => 'disabled')); > >> echo $paginator->numbers(); > >> echo $paginator->next(' - Suivant ', null, null, > >> array('class' => 'disabled')); > > >> On 2 avr, 21:12, blogSystem <[email protected]> wrote: > > >> > you can see this linkshttp://kyle77680.awsblog.net/?cat=165 > >> > in bottom i have the pagination of the posts list (articles in > >> > frensh ) > >> > if you try to get the second page for exemple you will be return to > >> > the default page of the blog > > >> > On 2 avr, 19:51, "Krissy Masters" <[email protected]> wrote: > > >> > > What does your code look like? > >> > > Every controller or just 1 page set? Need to provide some details / > >> > > code to > >> > > the problem not "just its not working" we can't see what your doing so > >> > > your > >> > > going to have to help us a bit there :) > > >> > > -----Original Message----- > >> > > From: [email protected] [mailto:[email protected]] On > >> > > Behalf > > >> > > Of Ryan Schmidt > >> > > Sent: Saturday, April 02, 2011 4:59 PM > >> > > To: [email protected] > >> > > Subject: Re: Help in Pagination > > >> > > On Apr 2, 2011, at 14:25, Krissy Masters wrote: > > >> > > > Could be the problem "i'm using cackephp 0.2.9".???? > > >> > > I'm going to guess that's a typo for cakephp 1.2.9. > > >> > > -- > >> > > Our newest site for the community: CakePHP Video > >> > > Tutorialshttp://tv.cakephp.org > >> > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organdhelp > >> > > others with their CakePHP related questions. > > >> > > To unsubscribe from this group, send email to > >> > > [email protected] For more options, visit this > >> > > group athttp://groups.google.com/group/cake-php > > > -- > > Our newest site for the community: CakePHP Video > > Tutorialshttp://tv.cakephp.org > > Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help > > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > > [email protected] For more options, visit this group > > athttp://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
