eForm function that you will find below, was a life saver for me not so long ago.
eForm is one of MODX most popular snippet. It is responsible for generating and processing forms in MODX Evo. It works like a charm...
code eform evo modx php snippet
It's not often situation but sometimes there is a need to set up your own placeholder. For example I needed to do this when I wanted to process data given to PHx (in this situation PHx was trimming HTML tags...
code evo modx php snippet
code modx php snippet
The snippet below checks if MaxiGallery have images and if it does, displays full image path.It is very useful when we have listing of documents where main picture comes from MaxiGallery. Snippet was made for twojewczasy.pl and it works like a charm :)
code maxigallery modx php snippet