Derived from https://github.com/aschempp/contao-ajax.
direct your ajax call to: /system/modules/page2ajax/assets/ajax.php
use the following parameters:
id= (allways)
g=1 (if set the object will be generated by contao if not you must implement your own generate function)
pageId= (set PageId to set the frame for a smaller entity, if not set RootPage will be taken)
language= (set page language -> root page will be chosen with this language see pageId param)
lws=1 (load page with it's scripts, when not set page gets loaded without any head or footer script or style include)
action=
art (article-> id)
page (page->id)
fmd (frontendmodule ->id) not tested
cte (contentElment ->id) not tested
ffl (formfield->id) not tested
install:
"require": {
"postyou/page2ajax": "~1.0"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/postyou/contao-page2ajax"
}
],