Re: CakePHP Ajax Pagination working BUT on every other sort ? - What am I doing wrong?

2011-07-21 Thread OldWest
I solved this, BUT I don't like this solution. It's on the lines of what I originally suspected. The buffer was not calling the correct data, and so I added: echo $this->Js->writeBuffer(); to the index.ctp and now it works as expected. So I have a copy of the buffer still in my default as we

Re: CakePHP url path data in with pagination on first search (what am I doing wrong?)

2011-04-13 Thread francky06l
pr($this->params); in the view, then you will know what to merge with the pagination url options On Apr 11, 11:52 pm, OldWest wrote: > I have a search form. > > The form values are passed to query and results are displayed as expected. > > I am using Cakes built in pagination methods. > > On the

Getting an undefined index on a containable - what am I doing wrong?

2009-05-29 Thread number9
I'm starting to get my head around the containable stuff, but am having problems with this. I have a simple "view" action, which shows an overview of a category and related "tips". "Tips" belong to a "Site". I.e. Category -> Tip -> Site. What I'm trying to do is show the site name in the table w

Re: What am I doing wrong???

2008-03-06 Thread Dardo Sordi Bogado
First make sure you have enabled mod_rewrite and have write permissions in app/tmp. Then point your webroot to /path/to/cake or to /path/to/cake/app/webroot (the one you are using shoud work too, but try another if don't). And if you don't want to read the manual, I don't think I can help you furt

Re: What am I doing wrong???

2008-03-06 Thread damo
thanks for your reply. Am using CakePHP 1.2 the only files I have added are IAW with the aforementioned tutorial: ~/app/controllers/items_controller.php and ~/app/models/item.php I've set the apache document root to the /app directory of Cake, and when I go localhost/item(s) I get no reply - n

Re: What am I doing wrong???

2008-03-05 Thread Dardo Sordi Bogado
Oh, I forgot: This are other important sources of information: http://book.cakephp.org (CakePHP 1.2 Manual, start by the blog tutorial) http://manual.cakephp.org (CakePHP 1.2 Manual, start by the blog tutorial) Ibm tutorial (5 part series, requieres free registration): http://www.ibm.com/develo

Re: What am I doing wrong???

2008-03-05 Thread Dardo Sordi Bogado
Ok, fist welcome to CakePHP ;) You seem to have installed cake properly, that's good. Now, if you don't show us what you have (models, controllers, database) and where (cake version also) we can do nothig for you. Anyway, from reading the pdf, you should point your browser to: http://localhost/i

What am I doing wrong???

2008-03-05 Thread damo
I'm a complete newbie to CakePHP, and also have very limited experience of this kind of thing... but I'm giving it a shot! So, I have MySQL, Apache and CakePHP all installed and seemingly working correctly. I built a simple database and some PHP scripts and that all worked fine. So cake is insta