Running into a problem here that I haven't been able to find any previous case of.
I'm making a new menu point in the admin menu and that means I'm working with the external index.php file. I'm making a database request, and sending the result array to a chunk with getchunk(). Now my problem is that my chunk contains a snippet call, but that snippet call is outputted as just the snippet call itself, it's not being parsed at all.
Fx. if we say that this is the index.php:
$output = getChunk('myChunk', $myArgs)
return $output;
And this is the chunk:
<div>[[!mySnippet? &id=`1`t]]</div>
Then instead of the processed output, my output is basically just:
<div>[[!mySnippet? &id=`1`t]]</div>
Calling a chunk from inside a resource works like a charm though, with the snippet being rendered out and I have used that lots of times. But now that I've gotta call the chunk from an external php file, it doesnt actually render out the chunk.
Is there anything I can do to make it render the result of the snippet? Or am I forced to redesign the way I use chunks?