['pageCount'] = $ttl_page;
if($ttl_page==$this->params['paging']['Member']['page']){
$this->params['paging']['Member']['nextPage'] = '';
}
---
I know, this may not be the best solution, but it work
Hi all,
I'm trying to display a list of records in my view and limiting the records
to 20. However, there are duplicate data in the model. So the view is not
displaying properly. I've tried this method (
http://www.littlehart.net/atthekeyboard/2008/03/04/custom-cakephp-12-pagination-queries/)
but
ld highly recommend taking a look at this approach. It is the
> simplest approach I have found, and a very clear explanation.
>
> Hopefully it helps...
>
> On Nov 24, 10:03 pm, E T wrote:
> > Hi all,
> >
> > I am trying to put a download link on one of my view, so wh
Hi all,
I am trying to put a download link on one of my view, so when user click on
that link it will automatically generate a csv file and pop up for user to
download.
I followed the instruction here
http://blog.allmythingstodo.com/tag/cakephp/using the helper from Adam
Royle (
http://bakery.cak
rd2', array('label'=>'Please confirm your
> password'));
>
> See what happens then.
>
> On Nov 18, 2:57 pm, E T wrote:
> > Hi jburns,
> >
> > Thanks a lot for the reply. I've tried adding your code but it's still
> not
> >
Hi jburns,
Thanks a lot for the reply. I've tried adding your code but it's still not
working.
This is what happened:
- if name, email or username is empty, it will give an error message,
something like "Alphabets and numbers only" or "This field cannot be left
blank". However, there is no error