phseven Posted January 30 Share Posted January 30 Hello How to add channels and users with their thumb into index side bar Sample Quote Link to comment Share on other sites More sharing options...
Tech Support Posted January 31 Share Posted January 31 Please use list_members block to render list of users. Template can be set like this: {{foreach item=item from=$data}} <a href="{{$config.project_url}}/members/{{$item.user_id}}/" class="item"> <img src="{{$config.content_url_avatars}}/{{$item.avatar}}" alt="{{$item.display_name}}"/> {{$item.display_name}} </a> {{/foreach}} Quote Link to comment Share on other sites More sharing options...
phseven Posted January 31 Author Share Posted January 31 Not able to make it work with that code, maybe some extra steps needed Quote Link to comment Share on other sites More sharing options...
Tech Support Posted January 31 Share Posted January 31 Strange, the code looks fine. Is it for members or for channels? The channels would have another block name (list_dvds) and another template code. Please create support ticket if you are not able to find the reason. Quote Link to comment Share on other sites More sharing options...
phseven Posted January 31 Author Share Posted January 31 I made to display members just need to figure out how css , so it will display round thumbs like on members page 1 - I created in default language files "enable_sidebar_members = true" 2 - added a global block like this " Sidebar Top Members list_members {{insert name="getGlobal" global_id="list_members_sidebar_top_members"}} 3 - then on pages > index added following code {{if $lang.enable_memberzone=='true' && $lang.enable_sidebar_members=='true'}} {{insert name="getGlobal" global_id="list_members_sidebar_top_members"}} {{/if}} Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.