Closed anselmh closed 12 years ago
Yes you are right of course! Was just learing the 'if' snippets and might have overdone it a bit. Will give this a thinkover.
You generally call all snippets uncached. That's a performance bottleneck you should fix. Mark H. has written in rtfm about a list-TV for colors I think. Much better than with IF-call. :)
What I wrote was for related pages, but I guess the methodology would be the same :) http://rtfm.modx.com/display/revolution20/Creating+a+multi-select+box+for+related+pages+in+your+template
(And no, I'm not shadowing you guys but this just happened to be listed on my github repository, I swear! :P)
:)
haha you are just our biggest fan!
You really should use cached snippet calls and in general much less If-snippet-calls. You can do way more performant with just TV default values etc.