Hm, is no one else having this problem? Help please!
Coding team, anyone maybe knows what’s going on?
Thanks
-
☆ A M B ☆
- 24,524 Posts
@bindings are stand-alone values. The @DOCUMENT binding only accesses the content field of a single document:
for example.
If you feel adventuresome, the code for this can be found in /manager/includes/tmplvars.commands.inc.php on line 29:
case "DOCUMENT": // retrieve a document and process it's content
$rs = $modx->getDocument($param);
if (is_array($rs)) $output = $rs['content'];
else $output = "Unable to locate document $param";
break;
Can you be more specific on how you are trying to select more than one document?
"Regret for the things we did can be tempered by time; it is regret for the things we did not do that is inconsolable."
-- Sydney Harris
I have found in my own tests that TV can only be used in in situation where there is only one return. For example, when I have had more than one check box set as a TV there is a result of no return rather than both check boxes. this would seem equal to a radio button but the problem there is that you can’t choose default again (or un-check all radio butons).
"Regret for the things we did can be tempered by time; it is regret for the things we did not do that is inconsolable."
-- Sydney Harris