Hi
I use related and it works very well ! Thanks for sharing !
Could you tell me if related manage multiple select with checkboxes ? (in documentation we can read in advanced example: "[...] and assign to people one or more departments".
I ask this question because i try multiple select and it doesn’t work for me.
JohannB
Slow, But Sure
I found the response : Related manage multiple select with checkbox !
When you choose checkbox for your TV, don’t forget to precise the widget ---> delimited list.
JohannB
Slow, But Sure
Hmm, not sure what’s going on there. I’ll try to reupload it later today.
Try adding
global $modx;
at the top of the code - let me know if that works
Hi,
very cool Snippet.
I have to questions:
1) I would like to use checkboxes to let people check multiple relations.
Can you think about a way to make the checkboxes something like a tree - so that people could see which level in the document-tree the document has.
2) Is there a way, to list the chosen documents separated by for example commas (,) so I could let Ditto but them for every docoment as "see also there" links. At the moment a nice long number will be output after choosing more than one document.