Evo2Evo - Display Content from a remote MODX database

by | 1.0 RC | Download

Evo2Evo is a MODX Evolution Snippet to Display Content from a remote MODX Evolution (or Revolution) database

Example calls

Display content from document id 32 with db info parameters

[[Evo2Evo? &id=`32` &evoTpl=`evoTpl` &evo_url=`http://yourmodxsite.com` &db_hostname=`localhost` &db_username=`root` &db_password=`` &db_database=`evolution`]]

Display content from document id 32 using db info hardcoded in snippet code

[[Evo2Evo? &id=`32` &evoTpl=`evoTpl`]]

Display content from document id 32 and value from template variable id 2

[[Evo2Evo? &id=`32` &TvId=`2` &evoTpl=`evoTpl`]]

Display content from document id 32, value from image template variable id 2 and fetch image function (image will be copied from remote modx in to local folder assets/images/evo2evo)

[[Evo2Evo? &id=`32` &TvId=`2` &evoTpl=`evoTpl` &fetchimages=`1` &store_dir=`assets/images/evo2evo`]]

basic parameters

tpl placeholders