Re: Latest Cake Release breaks HABTM pagination

2009-02-03 Thread palam
I had the same problem, and after hours of searching, I've come across some luck. Here is what I did to get it to work: I don't quiet understand why, but this seems to fix the issue with 1.2.1.8004. I just hope there aren't any side-effects. I made $reset (second parameter for bindModel) to

Re: Latest Cake Release breaks HABTM pagination

2009-02-03 Thread palam
Oh wait, no, that shouldn't matter, I can just unbind later... On Feb 3, 4:30 pm, palam palaniapp...@gmail.com wrote: I had the same problem, and after hours of searching, I've come across some luck. Here is what I did to get it to work: I don't quiet understand why, but this seems to fix

shared images across applications

2008-06-23 Thread palam
I'm using AD7Six's production setup on a shared host. http://www.ad7six.com/MiBlog/ProductionSetupRevisited I'm trying to figure out a way to share common images across applications. The cakes/thiscake/vendors folder doesn't work for images. Only CSS and JavaScript. If possible, I want to

Custom model functions not being recognised

2008-06-06 Thread palam
The problem is that custom model functions are not getting called from my controller. $this-Model-findById() works, but $this-Model- getCitiesListForCentreType() (for example) doesn't work and the query literally becomes getCitiesListForCentreType I have setup a bare bones version on my server :

Re: Custom model functions not being recognised

2008-06-06 Thread palam
I should add that it works okay on my localhost. It's a problem only on the server. Palaniappan C. On Jun 6, 4:50 pm, palam [EMAIL PROTECTED] wrote: The problem is that custom model functions are not getting called from my controller. $this-Model-findById() works, but $this-Model

Re: Custom model functions not being recognised

2008-06-06 Thread palam
Fixed in #cakephp I had mistakenly capitalised my model filenames. Beware! Read the conventions! This worked on my comp because Mac OS X has a way to find files either way. Apparently Windows does too. Lowercasing the filenames made it work. Thanks to woopstash2! On Jun 6, 10:18 pm, palam