{var $userID = '!uuId' | snippet}
{include 'file:profile/profile.header.new.tpl'}
{if $modx->user->get('id') == 817}
{'!pdoPage' | snippet : [
'showLog' => 0,
'element' => 'pdoResources',
'parents' => 817 | user : 'extended.collection',
'depth' => '10',
'limit' => '51',
'sortby' => '{"createdon":"DESC","pagetitle":"ASC"}',
'includeTVs' => 'first-image,year,moderation_status',
'tvPrefix' => '',
'showHidden' => '1',
'showUnpublished' => '1',
'showDeleted' => '0',
'tpl' => 'summary.moderation',
'includeContent' => '1',
'where' => [
'createdby' => $userID,
'template:NOT IN' => [73, 102, 103]
],
'pageLimit' => '10',
'outputSeparator' => '
',
'tplPageWrapper' => '@INLINE ',
'tplWrapper' => '@INLINE
[[+output]]
',
]}
{'!pdoPage' | snippet : [
'element' => 'pdoResources',
'parents' => '0',
'depth' => '10',
'limit' => '51',
'sortby' => '{"publishedon":"DESC","pagetitle":"ASC"}',
'includeTVs' => 'first-image,year',
'tvPrefix' => '',
'showHidden' => '0',
'showUnpublished' => '0',
'showDeleted' => '0',
'tpl' => 'summary.big',
'includeContent' => '1',
'where' => [
'createdby' => $userID,
'template:NOT IN' => [73, 102, 103]
],
'pageLimit' => '10',
'outputSeparator' => '',
'tplPageWrapper' => '@INLINE ',
'tplWrapper' => '@INLINE [[+pageNo]] '
]}
[[!+page.nav]]
{else}
{'!mFilter2' | snippet : [
'showLog' => 0,
'showSearchLog' => 0,
'returnIds' => 0,
'cache' => 0,
'cacheTime' => 21600,
'paginator' => 'pdoPage',
'element' => 'mSearch2',
'filters' => '
tv|year:number
',
'tplFilter.outer.tv|year' => 'filter.slider',
'tplFilter.row.tv|year' => 'filter.number',
'sort' => '
resource|publishedon:desc,
resource|pagetitle:asc,
tv|year:desc
',
'tplFilter.outer.default' => 'filter.group',
'tplFilter.row.default' => 'filter.row',
'outputSeparator' => '
[[+output]]
',
'tplPage' => '@INLINE ',
'tpl' => 'summary.big',
'limit' => 51,
'useWeblinkUrl' => 1,
'parents' => 0,
'showHidden' => 0,
'where' => [
'createdby' => $userID,
'template:NOT IN' => [73, 102, 103]
],
'context' => 'web',
'includeTVs' => 'first-image,year',
'processTVs' => 0,
'tvPrefix' => '',
'tplPageWrapper' => '@INLINE ',
'tplWrapper' => '@INLINE
[[+output]]
',
'filterOptions' => '{"autoLoad":1}',
'toPlaceholders' => 'filter.',
'setTotal' => 1,
'totalVar' => 'totalcontent',
'pageLimit' => 10
]}
{'filters' | chunk}
{/if}