Name: Key: Value: Base URL base_url / Culture key cultureKey en http Host http_host myurl.com Safe URL safe_url https://myurl.com/ Site start site_start 219 Site URL site_url https://myurl.com/
This question has been answered by BobRay. See the first response.
[[pdoResources? &parents=`[[getStarts]]` ... ]]
/* getStarts snippet */ $query = $modx->newQuery('modContext'); $query->where(array('modContext.key:NOT IN' => array('web', 'mgr'))); $query->sortby($modx->escape('modContext') . '.' . $modx->escape('key'), 'ASC'); $starts = array(); $key = 'site_start'; $contexts = $modx->getCollection('modContext', $query); foreach ($contexts as $context) { $fields = array( 'context_key' => $context->get('key'), 'key' => $key, ); $contextSetting = $modx->getObject('modContextSetting', $fields); if ($contextSetting) { $starts[] = $contextSetting->get('value'); } } return implode(',', $starts);