I using the getResources snippet to display child pages in parent page
$page = $modx->runSnippet('getResources', array(
'parents' => $parent,
'limit' => $limit,
'offset' => $offset,
'includeTVs' => '1',
'tvPrefix' => '',
'tpl' => $tpl,
'processTVs' =>'1',
'where' =>'{"published":"1"}',
'tvFilters' =>'tags==%'.$selector.'%||geographie==%'.$selector.'%'
));
now I want to store the IDs child pages returnd in the first time in a temporary variable
in the second stage, this varaible will be used to retrieve other child pages with another keyword but they are not returned in the first stage
in fact, the child pages can have a common keywords.
how I can do ?
thank you for your help
Please don't double post.