Re: CAKEPHP Group by problem in paginate..

2011-07-23 Thread _k10_
If your query is fetching the correct results, probably the pagination count is the issue. Try override the pagination count in your model file. check out this post http://nuts-and-bolts-of-cakephp.com/2010/01/30/lets-help-out-cakephps-pagination/ Hope it helps. -Ketan. -- Our newest site f

Creating shell tasks in a plugin possible?

2011-06-28 Thread _k10_
Greetings, Is it possible to create a task (shell tasks) inside a plugin? I tried creating one and executed via a shell. Cakephp doesnt complain about anything but the task doesn't get run either. Any inputs would be highly appreciated. thanks, -K -- Our newest site for the community: CakePH

Re: dropdown select with lastname and firstname

2010-12-22 Thread _k10_
you could probably look at Set::format http://api13.cakephp.org/class/set#method-Setformat if virtual fields arent working for you. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscri

Re: Dynamic Menu

2010-08-24 Thread _k10_
Not sure if this answers your query but have a look @ http://book.cakephp.org/view/1023/find-threaded On Aug 23, 10:29 pm, nightshadex101 wrote: > Hi All, > > I'm trying to build a menu system. > I've already created a table in the database, a model (with tree > behavior), and a controller. > >

Re: Gziping JS and CSS files using .htaccess

2009-01-24 Thread _k10_
Hi, This helper might interest you. - http://bakery.cakephp.org/articles/view/minify-helper-for-cakephp (includes gziping of js and css assets) _k10_ http:///www.propertyjungle.in On Jan 24, 1:27 pm, Sridhar Kuppalli wrote: > Hi All, > I am starting a new project by using CakePHP.

Re: Wordpress and cakephp

2009-01-23 Thread _k10_
integrate wp code with cakephp. _k10_ http://www.propertyjungle.in On Jan 23, 6:21 pm, "ross.hagg...@googlemail.com" wrote: > Hi > > I'm looking to use wordpress and cakephp to develop a site.  I would > like to use wordpress for basic cms functionality i.e. administration,

Re: Cron Job Hostgator

2009-01-19 Thread _k10_
My guess is that your cron method is looking for a view and cannot find it. Try adding 'exit' to the end of your method code. Also if you are using cakephp 1.2 have a look at http://book.cakephp.org/view/110/Creating-Shells-Tasks _k10_ http://www.innovatechnologies.in On Jan 20, 3:3

Re: App::import fail to load Component for imported controller

2009-01-19 Thread _k10_
mponent','Email') You could treat components as controller helper classes (although they do more than than that). _k10_ On Jan 20, 1:25 am, gerhardsletten wrote: > Writing an app where I was planing to move all email delivering in one > controller. When I try to load this "

Re: gzip compression with Cakephp

2009-01-13 Thread _k10_
use your .htaccess file to enable gzipping. php_value output_buffering On php_value output_handler ob_gzhandler _k10_ On Jan 14, 8:05 am, park wrote: > Hi, > > Is there any best practices turning gzip compression on with Apache > (on shared hosting where php.ini cannot be modifi

Re: Loading models within the controller action

2009-01-12 Thread _k10_
To add more to Brians method, it would be a good practise to set the model instance to a variable (who's name is the name of the Model) if you plan to use the model more than once. $this->Member = ClassRegistry::init('Member'); $this->set('new_members', $this-&g