Skip to content

Pathologic/MODxAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 

Repository files navigation

MODxAPI

Legacy libs for Evolution CMS 3.0.

Usage

Update FormLister to the latest version.

To use with FormLister set the model parameter in your snippet calls according to documentation:

[!FormLister?
&controller=`Login`
&model=`Pathologic\EvolutionCMS\MODxAPI\modUsers`
...
!]

[!FormLister
&controller=`Content`
&model=`Pathologic\EvolutionCMS\MODxAPI\modResource`
&userModel=`Pathologic\EvolutionCMS\MODxAPI\modUsers`
!]

The same should be done with "model" parameter of userHelper plugin.

To use somewhere else:

use Pathologic\EvolutionCMS\MODxAPI\modResource; 
...
$doc = new modResource($modx);
...