Hi everybody,
I have a TV with a @DIRECTORY binding for its default value.
I actualy want to list the content of a directory within a page.
So, I have :
a TV : directory-list
default value : @DIRECTORY /assets
this works fine if I call [[*directory-list]]
But if I change the default value to "@DIRECTORY [[+property]]" and call "[[*directory-list?property=`/assets`]]"... it doesn’t work !!!
Any idea ?
Vince.
-
MODX Staff
- 12,272 Posts
Hi Vince, I believe a fix for this was just committed to Revo 2.0.4, scheduled for release later this week.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
No, it wasn’t. Supporting properties in the input option or default fields isn’t currently in the featureset of TVs. It might be in later releases; it wont be in the 2.0.x branch.
shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect |
github |
splittingred.com