I created a drop down list template variable and would like the options to be files that are in a folder named after the resource id.
This does not work:
@DIRECTORY /assets/development/images_inventory/[[*id]]/thumbs
Is my syntax wrong or is it not possible to add template variables to @ Bindings?
Ross
I may be wrong, but on the admin side I think you use @eval $_GET[’id’] for that sort of thing.
If you’re using MODx Evolution, it would be [*id*], but my guess is that it won’t be parsed in an @binding.
Thanks for the reply’s guys. I’m using Revolution 2.0
Good suggestion jaded, I’ll try that.