Skip to content

postyou/contao-page2ajax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

contao-page2ajax

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"
    }

],

About

extension to get contao pages/articles/frontendmodules/contentelement by their ID with an ajax call. Still in beta Stage use at own risk. Example url and parameters in Readme file.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors