Re: UTF-8 and the » character

2011-06-06 Thread Okalany Daniel
ayout files UTF8 > encoded if you use any special chars in them > my guess: only the layout is properly saved > > On 6 Jun., 14:20, Okalany Daniel wrote: > > Hi All, > > I have the » character in a view file, and its not displaying correctly. > > When its in the layout f

UTF-8 and the » character

2011-06-06 Thread Okalany Daniel
Hi All, I have the » character in a view file, and its not displaying correctly. When its in the layout file, it displays correctly. When i put it in a view file, it doesn't display correctly! I have done the following: Added: charset(); ?> in the head of the layout file Confirmed that: Configure:

Re: Pagination Limits

2011-05-29 Thread Okalany Daniel
Thanks. Its not what i was looking for though. I'm looking for a way to limit all the records returned by a pagination. Not to limit the records per page. On Fri, May 27, 2011 at 8:08 PM, majna wrote: > http://book.cakephp.org/view/1232/Controller-Setup > > On May 27, 3:20 pm,

Re: Pagination Limits

2011-05-27 Thread Okalany Daniel
ommand, so, may be, it must be > set in the model. Do you try this? > > Regards, > > > Alejandro. > > > El 26/05/2011 10:11, Okalany Daniel escribió: > > Hi All, > > i can't seem to be able to limit the number of records returned from > cakephp > >

Re: Pagination Limits

2011-05-27 Thread Okalany Daniel
t; > > > You want to limit the number of rows the database engine send to cake? > > This limit must be set in the "select" command, so, may be, it must be > > set in the model. Do you try this? > > > > Regards, > > > > Alejandro. > > >

Re: Pagination Limits

2011-05-27 Thread Okalany Daniel
x27;limit'=>30)); > http://book.cakephp.org/view/165/Controller-Setup > > On May 26, 9:11 am, Okalany Daniel wrote: > > Hi All, > > i can't seem to be able to limit the number of records returned from > cakephp > > pagination. > > > > $this-&

Re: Pagination Limits

2011-05-27 Thread Okalany Daniel
e > controller. If you want you can skip doing this all the time by > simply declaring $paginate in the app controller. In there you can > list as many paginating default data you want. > > I hope its been helpful. > > cheers > > On May 26, 2:11 pm, Okalany Daniel wrote

Pagination Limits

2011-05-26 Thread Okalany Daniel
Hi All, i can't seem to be able to limit the number of records returned from cakephp pagination. $this->paginate('limit'=>30); limits the number of results per page. But i want to limit the total dataset returned. Set it to like 300 since i have a very large table. regards, Daniel -- Our newest

Re: gmail smtp set to cakephp with godaddy shared hosting.

2011-01-21 Thread Okalany Daniel
estions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.comFor > more options, visit this group at > http://groups.google.com/group/cake-php >

Re: CakeDC's oauth_lib

2011-01-20 Thread Okalany Daniel
rg and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to cake-php@googlegroups.com > To unsubscribe from this group, send email to >

Re: Redirect in a component

2010-10-19 Thread Okalany Daniel
s. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to cake-php@googlegroups.com > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.comFor > more optio

Re: Easy cake pagination!

2010-08-21 Thread Okalany Daniel
king daily hits for a place. So im trying to retrieve the places by the place with the highest hits on a particular day. I can do ->find() without problems and with the same options, but paginate is troublesome. > > > > > > > http://book.cakephp.org/view/1043/hasMany > &

Re: Easy cake pagination!

2010-08-19 Thread Okalany Daniel
ould have also printed out the sql query at the top and you can see > the exact query and troubleshoot from there. > > On Aug 17, 6:07 am, Okalany Daniel wrote: > > the model Place hasMany Count, and Count belongs to place. > > So using the Containable behaviour, i can specify cond

Re: Easy cake pagination!

2010-08-17 Thread Okalany Daniel
'd like to order the parent Model by a field in a child model. When i uncomment the line that starts 'order', i get the error: SQL Error: 1054: Unknown column 'Count.count' in 'order clause' Thanks in advance. On Tue, Aug 17, 2010 at 10:28 AM, AD7six wrote:

Re: Easy cake pagination!

2010-08-16 Thread Okalany Daniel
> > size > > int(11) > > filesize > > group > > type_id int(11) > > > > Field TABLE GAME > > id > > game_name > > start_date > > end_date > >