C
C
creatoroftheworld2016-10-25 18:23:25
MODX
creatoroftheworld, 2016-10-25 18:23:25

Is it possible in MODX to generate the name of a called snippet/chunk/ from the results of other snippets?

Maybe strange, but you need something like this:

Well, this also includes placeholders, chunks, etc.


Maybe I'm asking something obvious, I apologize in advance, but is this possible? And if not, is there an alternative that is comparable in terms of convenience?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
display: block, 2016-10-25
@creatoroftheworld

You can make a wrapper snippet. And call other snippets in it, depending on the conditions.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question