Answer the question
In order to leave comments, you need to log in
How to link modx resources?
Good evening!
What is the task:
Website of dentistry. the site has services, reviews and doctors.
The doctor on the page should have reviews related to him;
The service must have associated doctors and reviews related to it;
At the review by analogy)
Services have already been created (of course, without reviews and doctors);
now I started making doctors and made tv services_doc for him List (multiple choice)
and for the values I did this
@EVAL return $modx->runSnippet('getResources',array(
'parents'=>2,
'depth'=>0,
'limit'=>0,
'showHidden' => '0',
'sortby'=>'{"menuindex":"ASC"}',
'tpl'=>'@INLINE ==340967',
'outputSeparator'=>'||'
));
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question