Answer the question
In order to leave comments, you need to log in
chunk with parameters?" />
Calling
I continue to deal with MODX and the philosophy of templates, chunks and snippets. You need to call the header of the site, and in some cases with the connection of third-party JS, in some without. I don't want to do two different headers in different chunks. How to do something like:
while in another template [[$header &load=bs3] ?
Answer the question
In order to leave comments, you need to log in
In the chunk code, you can arrange something like this (by the way, before listing the parameters, do not forget to put a question mark after the name of the chunk or snippet):
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question