I am making a website for a friend with a maxigallery integrated.
But is it possible that when he makes a new document, the maxigallery snippet call is automatic in the content of the page?
Is the only way, to make a new template. Than a new TV with the snippetcall. And change the parent gallery container to the new template, so the tv will be used?
-
MODX Staff
- 10,725 Posts
You could try just putting the call in a TV attached to the template you are using, and then setting the default value to @INHERIT and setting the value for each top level parent document. Or use a custom snippet or @EVAL to "wrap" the call to the MaxiGallery snippet with the parameters you need.