• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

RM 1.1 Share this page

NinaMcI

Active member
#1
Hi,
Could someone show me how to get the Share this Page option appear on the sidebar of my resource pages please? It appears on the Forum page, but not on the Resource Pages.
upload_2015-6-12_10-12-33.png
 

Brogan

XenForo moderator
Staff member
#2
Replicate the code/changes you made for the forum template on the relevant resource template.

The FAQ in my signature explains how to identify the template name.
 

NinaMcI

Active member
#4
I'm afraid I'm struggling to see where to put it.
This is the code on the forum page (I think!)
Code:
<div class="section infoBlock sharePage">
        <div class="secondaryContent">
            <h3>Share This Page</h3>
           
               
               
                    <div class="tweet shareControl">
                        <a href="https://twitter.com/share" class="twitter-share-button" data-count="horizontal"
                            data-lang="en-US"
                            data-url=""
                           
                            >Tweet</a>
                    </div>
                       
               
                    <div class="facebookLike shareControl">
                       
                        <div class="fb-like" data-href="" data-layout="button_count" data-action="recommend" data-font="trebuchet ms" data-colorscheme="light"></div>
                    </div>
               
               
                    <div class="plusone shareControl">
                        <div class="g-plusone" data-size="medium" data-count="true" data-href=""></div>
                    </div>
                   
               
<div class="linkedinShare shareControl" style="margin-right: 30px;">

<script type="IN/Share" data-url="" data-counter="right"></script>
</div>
       
           
        </div>
    </div>
 

NinaMcI

Active member
#5
Hi @Brogan. I'm sorry to trouble you with this, but I simply cannot make it work. I've tried adding the above code to the resource_description template, but nothing happens. I've spent over an hour trying different things, but just can't do it. It would be great if you could help me with this :)
 
#8
Hi @Brogan. I'm sorry to trouble you with this, but I simply cannot make it work. I've tried adding the above code to the resource_description template, but nothing happens. I've spent over an hour trying different things, but just can't do it. It would be great if you could help me with this :)
Hi, did you figure this out? I am looking for the same...
 

NinaMcI

Active member
#9
Hi. Yes, I did.
I added the following code on the resource_description template below "moreApps byAuthor" list.
Code:
<div class="section infoBlock sharePage">
        <div class="secondaryContent">
            <h3>Share This Page</h3>
           
               
               
                    <div class="tweet shareControl">
                        <a href="https://twitter.com/share" class="twitter-share-button" data-count="horizontal"
                            data-lang="en-US"
                            data-url=""
                           
                            >Tweet</a>
                    </div>
                       
               
                    <div class="facebookLike shareControl">
                       
                        <div class="fb-like" data-href="" data-layout="button_count" data-action="recommend" data-font="trebuchet ms" data-colorscheme="light"></div>
                    </div>
               
               
                    <div class="plusone shareControl">
                        <div class="g-plusone" data-size="medium" data-count="true" data-href=""></div>
                    </div>
                   
               
<div class="linkedinShare shareControl" style="margin-right: 30px;">

<script type="IN/Share" data-url="" data-counter="right"></script>
</div>
       
           
        </div>
    </div>