1
Hello, Im trying to customize the profile page ans want to place some variables, like number of posts and member since, outside the structure of this <{foreach}> on profile_userinfo.html
le="color: #000000"><?php <{foreach item=category from=$categories}> <{if isset($category.fields)}> <div class="profileUserCatTitle"><{$category.cat_title}></div> <div class="profileUserCatContent mozall"> <{foreach item=field from=$category.fields}> <div class="profileUserCatFields"> <b><{$field.title}></b>: <{$field.value}></div> <{/foreach}> </div> <{/if}> <{/foreach}> **The classes and structure are already modified to fit my need.
So i take a look to userinfo.php, and noticed that a lot of variables are already assigned via xooptpl-> assign, not all of them works on the template. I mean, i found for example this in userinfo.php
le="color: #000000"><?php $xoopsTpl->assign('user_posts', $thisUser->getVar('posts'))
and thought it will be as easy as set the variable in the place i need like this <{$user_posts}>... but this didnt work.. and dont know why some of them, like <{$user_id}> have a value and this assigned same way doesnt. regards 3lr0n