Ok you were right it worked !
But there's still a little problem (?) :
The ajax works indeed in the div with the correct ID, but it load the* full
page* again in the div, meaning I have my full page appearing ... in my
page. The only way to prevent this is to wrap the entire content in the
div
google : "Uncaught ReferenceError : $ is not defined" this looks like jquery
not loaded error…
I would put jquery at the top inside
https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js";
type="text/javascript">
Andras Kende
http://www.kende.com
On Jun 23, 2012, at 2:54 AM, Jo
The strange thing is that when I inspect with chrome, the script seems to
be there :
There's an error : Uncaught ReferenceError : $ is not defined
Then the script :
1.
2. //
Actually, the pagination is inside the div, I mis-explained in my question,
so it must not be this...
This is the full code for info :
//rest of the page
Paginator->options(array(
'update' => '#posts',
'evalScripts' => true,
'
I think Paginator->numbers, Paginator->next, Paginator->prev has to be inside
the …..
Andras Kende
On Jun 23, 2012, at 1:54 AM, JonStark wrote:
> No one has a clue ? This is driving me crazy.
>
> Thanks a lot.
>
> Le vendredi 22 juin 2012 18:03:11 UTC+2, JonStark a écrit :
> I don't understan
No one has a clue ? This is driving me crazy.
Thanks a lot.
Le vendredi 22 juin 2012 18:03:11 UTC+2, JonStark a écrit :
>
> I don't understand why ajax pagination won't work on my app.
>
> In my Users controller :
>
> > class UsersController extends AppController {
>> public $name = 'Users';
>> p
I don't understand why ajax pagination won't work on my app.
In my Users controller :
class UsersController extends AppController {
> public $name = 'Users';
> public $helpers = array('Html', 'Form', 'Paginator', '*Js*');
> public $components = array('*RequestHandler*');
In my layout :
>
Hi Petrisor,
That is great it's working, because it's a compatibility issue might
even be good to log a ticket or write a patch for it.. I might try and
do that.
kind regards,
Leigh
On Nov 27, 7:25 am, Petrisor Buga wrote:
> Thx Leigh,
> After a few days starring into this problem i finally na
Thx Leigh,
After a few days starring into this problem i finally nailed it down
after comparing different aspects between local server and online
one.It looks like the problem was endeed in viewPath!
using this tut.
http://bakery.cakephp.org/articles/rtconner/2007/06/29/advanced-pagination-1-2
and
Hello Petrisor,
Check $this->viewPath and $this->view in your controller on the ajax
request to see if they're pointing to a view file that exists.
Also are you using cake 2.0?
Kind regards,
Leigh
On Nov 24, 7:08 pm, Petrisor Buga wrote:
> Hy, i've developed a project locally using MAMP on
Hy, i've developed a project locally using MAMP on a mac, after i
moved it online the links generated automatically by cakephp are not
working anymore, more precisely i get "500 internal server error" on
the ajax-get request and on the response i get:
Error: The view for MoviesController::index()
Those durn multiple js libraries. Go with Mootools and be done with it!! ;)
~Philip
On Thu, May 26, 2011 at 4:05 PM, l4yercake wrote:
> Philip, thank you for the reply. I had called writeBuffer at the
> bottom of the view, so that was not the issue.
>
> I actually figured out what the problem w
Philip, thank you for the reply. I had called writeBuffer at the
bottom of the view, so that was not the issue.
I actually figured out what the problem was late last night after many
hours spent trying different things. I will post here incase anyone
else is faced with this problem.
The issue was
You should also have a writeBuffer() call at the end of your home.ctp...
Don't know if that will solve all your problems, but it's something. Hope
that helps.
~Philip
http://lonestarlightandsound.com/
On Wed, May 25, 2011 at 5:16 PM, l4yercake wrote:
> Hello all,
>
> I followed the directions
Hello all,
I followed the directions in the Cake 1.3 manual to implement ajax
pagination (http://book.cakephp.org/view/1600/Ajax-Pagination) and I
also tried the method posted by Mark Story (Thanks!) on his blog
(http://mark-story.com/posts/view/creating-simple-ajax-pagination-with-
cakephp-1-3-an
15 matches
Mail list logo