Resource icon

Moving Share Buttons From Bottom to Top of Thread

M@rc

Well-known member
M@rc submitted a new resource:

Moving Share Buttons From Bottom to Top of Thread (version 1.0) - Guide on how to move the share buttons from the bottom to the top of a thread

If you want to move the "share buttons" from the bottom of a thread to the top for visibility, then here's what to do.

Result after following this tutorial :

View attachment 26012

Admin Control Panel -> Appearance -> Styles & Templates -> Templates -> thread_view

Find and Remove :

Code:
<xen:include template="share_page">
<xen:set var="$url">{xen:link 'canonical:threads', $thread}</xen:set>
</xen:include>

Then find :

Code:
</xen:description>
...

Read more about this resource...
 
How do I move the Like button to the right? I was able to float the other buttons but not this one.
 
Nevermind, got it to work per Kier's directions
I will not be creating an option for this, as it is such a simple template edit, and to make options for such things would defeat the point of having templates at all.

For the record, in the share_page template, find this: show_faces="true" and replace with this: layout="button_count"
 
How do I achieve this using template modifications? Do I need to have multiple modifications or can I do it in single modification.
 
can i use this code also for RM?

Code:
<xen:if is="{$post.position} == 0">
            <xen:include template="share_page">
                <xen:set var="$url">{xen:link 'canonical:threads', $thread}</xen:set>
            </xen:include>
</xen:if>
 
Top Bottom