Displaying Group Members In My Sidebar

217 views
Skip to first unread message

Idoit Brilliantly

unread,
Apr 2, 2014, 10:21:10 AM4/2/14
to tumblr...@googlegroups.com
I wanted to make my theme work for group blogs. The plan was to display group members in the sidebar, below the description.
In accordance with Tumblr's theme doc, I added the following code to the sidebar HTML:

{block:IfGroupBlog}
            {block:GroupMembers}
                <div class="group_members">
                       
                    <h3>{lang:Contributors}:</h3>
                       
                    <ul>
                        {block:GroupMember}
                            <li>
                                <a href="{GroupMemberURL}" title="{GroupMemberName}" target="_blank"><img src="{GroupMemberPortraitURL-16}"></a>
                            </li>
                        {/block:GroupMember}
                    </ul>

                </div>
            {/block:GroupMembers}
        {/block:IfGroupBlog}

The weird thing is, in the preview, it shoes the heading "Contributors just fine", but when I save and exit, there's nothing, not even the heading, on the actual blog. Does anyone know what could cause this? The full theme code can be found at pastebin.

Idoit Brilliantly

unread,
May 7, 2014, 8:37:30 AM5/7/14
to tumblr...@googlegroups.com
Anyone?

Idoit Brilliantly

unread,
May 7, 2014, 10:52:57 AM5/7/14
to tumblr...@googlegroups.com
Well, my main blog isn't; but I also tested it on a group blog I administrate and it didn't show there either =(

Am Mittwoch, 7. Mai 2014 16:50:02 UTC+2 schrieb Nikol Nieto:
Are you testing it on an actual group blog?  If not, it will show in the customize panel, but not in the theme itself.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages