Hi @all =)
I would like to filter some content I get with getResource.
In the used Template is a template variable that contains a time, called "fixedtime".
Now, I like to show only the content, that has its "fixedtime" in the future. You see my trial below.
I Would be really thankful for some help!
Sorry for my bad english.
Philipp
$page = $modx->runSnippet('getResources', array(
'parents' => $parent,
'limit' => $limit,
'offset' => $offset,
'includeTVs' => '1',
'tvPrefix' => '',
'includeContent' => '1',
'tpl' => $tpl,
'sortbyTV' => 'fixedtime',
'sortdirTV' => 'ASC',
'tvFilters' => 'fixedtime>=' . date('Y\-d\-m G:i:s')