We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 40045
    • 534 Posts
    The title should speak for itself.

    I would love to have the possibility to generate listbox values for a property via @EVAL return $modx->runSnippet()...This would be very useful in a scenario where I would like to allow editors to drop specific chunks (like a [[$voting]] somewhere into the main content...when they would do that the property set overlay would be shown and in the listbox for a property I could list all voting-resources (like in a Resourcelist TV)...I don't think this is possible right now? Or did I oversee something?
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      There is an add-on called Asides that does just that. It creates a set of checkboxes from an @EVAL that creates the list based on chunks in a specified category.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 40045
        • 534 Posts
        Hi susan,

        yes, I know about asides but I think it's not quite what I'm looking for as this is kinda more of a TV itself, I need my ediors to drop in chunks from the Elements tree into the content field (at the desired position between some content, the exact place I dont know), if they do that the properties overlay is shown and there it would be nice if I could generate a dropdown list on the fly with something like resources (need the id) in it...