eZ Community » Forums » General » AJAX and ezpublish !
expandshrink

AJAX and ezpublish !

AJAX and ezpublish !

Sunday 02 September 2007 1:02:16 pm - 6 replies

Hi ..

How to load data to div element via ajax, I mean the ezpublish template issue, some one told me to do same like print layout, didn`t wrok, because always the template system load all the template ...

Any plane for implementing AJAX tools in the future versions !

if you have done something at user side page with ajax please share it if possible !

Thanks in advanced ...

Monday 03 September 2007 3:49:31 am

Hi Marvix

Try the xajax extension
http://ez.no/community/contribs/applications/xajax and examples
http://ez.no/community/contribs/examples/xajax_hello_world

Cheers
Bruce

Monday 03 September 2007 7:29:51 am

Hello Marvix,

There is a brief stub entry on eZpedia highlighting contributions and forum messages regarding ajax, <i>http://ezpedia.org/wiki/en/ez/ajax</i>

Cheers,
Heath

Monday 03 September 2007 6:09:00 pm

Look at the xajax extension.
Otherwise, a brand new json one is coming soon there

http://projects.ez.no/json

Tuesday 04 September 2007 1:31:14 am

Hiya

I think there is some difference between the xajax & json extensions. The xajax extension packages the xajax project ( http://www.xajaxproject.org/ ) and provides access to an ajax library. It doesn't actually do anything itself. It's a great starting point for adding ajax functionality to a site.

From what I've read, Xaviers JSON extension will provide access to eZpublish objects (nodes, objects etc) via ajax (presented in JSON format). This sounds a little more specific to me.

So xajax would be a great base for building any ajax functionality, JSON sounds like it will be excellent it you need to deal with eZ Objects via ajax. (While I haven't yet seen the JSON code it could be built using the xajax library)

@Xavier - I think you need 2-3 more *s in the JSON project description blunk.gif Emoticon

Cheers
Bruce

Wednesday 05 September 2007 3:27:54 pm

Hi,

Generating a bit of html is easy on ez:

Create a view that you want (eg ajax)

create a layout that is empty (I think fullscreen is standard)

/set/layout/fullscreen/content/view/ajax/<nodeid>

I use jquery on the client side, about one line to call that page and update the page to add the new content.

Otherwise, yes, might need to update the description of the project blunk.gif Emoticon

X+

Monday 10 September 2007 10:44:20 am

The svn is updated.

Feel free to have a look, add yourself to the project and make it groove !

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu