pathologic/modxapi

MODxAPI for Evolution CMS

1.1.20 2024-07-10 12:58 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);
...