Excited by reading about the idea of how you can now add placeholders to chunks, i thought this would be a good way to add my global js files and any extra js through a tv, so it can be customised for each page.
So i have a main chunk called ’js_files’ which is called in the template, and a tv called extraJS
i call the chunk in my template like so:
[[$js_files? &extras=`[[*extraJS]]`]
Into the extraJS tv i put a chunk name: eg [[$specialJS]]
but the extra files dont appear!
Im sure this must have something to do with source order parsing, but I’m not sure why - as I thought that revo could do infinite recursion with the tags. If i put a text value into the tv, it passes through ok - but not a chunk name. Is this a restriction? Or am i doing something I shouldn’t be?