Hi,
I’m looking into the nice features of modules in ModX. I want to use a module as kind of a library which I can use in my snippets. I already made a piece of code to use the Chunks facility of ModX as a sort of Templateparser, but now I want to make it available in a module so I can assign the module to a snippet and then use it in my code.
My questions:
First: Is this possible?
Second: If it is, can someone show me some code on how to use a module in a snippet.
Thanks in advance
True, already did that. I’m using a pair of classes to do some things, but at this time I have to include and execute these classes everytime and I was wondering if i could make this more easy.