Never used this @binding...
Pretty interresting to have this handy, thanks for the tip !
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
That sounds even easier! I’d never even heard of @DIRECTORY before. Nice to see there’s so many ways of doing this. I’ll try them all out and see which the clients like best.
Quote from: PatrickSamphire at May 11, 2007, 04:31 AMThat sounds even easier! I’d never even heard of @DIRECTORY before.
The documentation is a bit light about @bindings I agree, but maybe Heliotrope can remedy to that
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
Does @DIRECTORY return just the names of the files, or does it include other info like creation date, summary, alias, etc.?
Bob
-
MODX Staff
- 1,535 Posts
Hi Bob, it returns just the names of the files. (Note that the @DIRECTORY lists a directory on the filesystem and not MODx documents/pages)
Garry Nutting
Senior Developer
MODX, LLC
Email:
[email protected]
Twitter: @garryn
Web: modx.com
Duh!
I’m glad I asked that in a "dumb question" thread.
Can you tell me the default sort order of the returned filenames (on a *nix server)?
Bob