pathologic/modxapi

MODxAPI for Evolution CMS

1.1.19 2023-11-14 12:47 UTC

README

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);
...