Group Search for Profile Display
Design and Skin Customization
Ok, here is what I have and I think it is going to work out for now. It places a thumbnail of the group image for groups that the profile owner has created, in the side bar. Additionally, when the profile owner is viewing their profile I added a link to view Groups I Follow; thus eliminating the additional menu item in the account drop down menu (elastic skin).
[code]
{if !jrCore_is_mobile_device() && jrCore_module_is_active('jrGroup')}
{capture assign="my_groups_tpl"}
{literal}
{jrCore_module_url module="jrGroup" assign="murl"}
{if isset($_items)}
{foreach from=$_items item="item"}
<a href="{$jamroom_url}/{$item.profile_url}/{$murl}/{$item._item_id}/{$item.group_title_url}">{jrCore_module_function function="jrImage_display" module="jrGroup" type="group_image" item_id=$item._item_id size="small" crop="auto" class="img_shadow" width=58 height=58 style="padding:2px;margin-bottom:4px;" alt="{$item.group_title|jrCore_entity_string}" title="{$item.group_title|jrCore_entity_string}" _v=$item._updated}</a>
{/foreach}
{/if}
{/literal}
{/capture}
{jrCore_list module="jrGroup" profile_id = "`$_profile_id`" assign="groups" template=$my_groups_tpl}
{if strlen($groups) > 0}
<div class="block block_profile_left">
<h3>My Groups:</h3>
<div class="block_content mt10">
<div style="padding-top:8px">
{$groups}
</div>
{if jrProfile_is_profile_owner($_profile_id)}
<a href="{$jamroom_url}/group/my_groups">Groups I Follow</a>
{else}
{/if}
</div>
</div>
{/if}
{/if}
{/code]
ENJOY <img src="https://www.jamroom.net/data/media/0/0/jrSmiley_140_smiley_image.png" style="height: 20px" alt=":)">