Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Loading a new page with sliding animation (Ajax?)

Go to End

10 Posts   7246 Views


Community Member, 19 Posts

26 September 2013 at 9:43pm

Hi again,

I just noticed that I get an error when trying to access the admin page..I guess this is due to my using of ajax?

Here is the error message:

[Error] Couldn't run query: SELECT DISTINCT count(DISTINCT "SiteTree_Live"."ID") AS "0" FROM "SiteTree_Live" WHERE (ParentID = () AND Sort <= ()) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND Sort <= ())' at line 1

Does anyone know how to deal with that?


Community Member, 19 Posts

28 September 2013 at 1:20am

Ok, I found the error in my jquery code and solved it..but also found another everything seems to work well, except for one thing:

When I click on a link within my Ajax template the page loads in the normal way and not through Ajax as desired. (This happens for example when I have a blog or team structure like it is described here: or when a page have a link to another page of my website) Is it possible to change this somehow? I wanted to load the pages always through Ajax. Is this possible?

Any help would be appreciated!

Go to Top