Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
Are you talking about variables again?) Try writing a snippet like this:
<?php
$modx->switchContext($desiredContextKey);
$fieldValue = $xpdo->getOption('name');
return $fieldValue; // ну или еще что-то сделайте со значением, что нужно в вашей задаче
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question