{set $profileUserId = $_modx->getPlaceholder('ProfileUserID') ?: 0}
{set $profileUsername = $_modx->getPlaceholder('ProfileUsername') ?: ''}
{set $profileFullname = $_modx->getPlaceholder('ProfileFullname') ?: $profileUsername}
{set $profileCommentCount = $_modx->getPlaceholder('ProfileCommentCount') ?: 0}
{set $profileTabs = '!GetProfileTabs' | snippet : ['userId' => $profileUserId]}
{set $tableData = '!getExploreCommentsData' | snippet : [
'return' => 'json',
'userId' => $profileUserId
]}
{if $tableData && $tableData != '[]' && $tableData != ''}
{set $jsonDataBase64 = $tableData | base64_encode}
{else}
{set $jsonDataBase64 = '[]' | base64_encode}
{/if}
{'profile.breadcrumb' | chunk}
{'profile.header' | chunk : ['userID' => $profileUserId]}
{if $profileTabs && count($profileTabs) > 0} {var $tabs = $profileTabs} {include 'file:profile/profile.tabs.tpl'} {/if}
{if $profileTabs && count($profileTabs) > 0} {var $tabs = $profileTabs} {include 'file:profile/profile.tabs.tpl'} {/if}
| Date | Comment |
|---|