1. 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

Discussion in 'Resource Manager Support' started by NinaMcI, Jun 12, 2015.

  1. NinaMcI

    NinaMcI Active Member

    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
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    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.
     
  3. NinaMcI

    NinaMcI Active Member

    Thanks @Brogan . I'll give it a go.
     
  4. NinaMcI

    NinaMcI Active Member

    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>
    
     
  5. NinaMcI

    NinaMcI Active Member

    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 :)
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    Unfortunately I'm mobile so can't really help with template editing, etc.
     
  7. NinaMcI

    NinaMcI Active Member

    OK not to worry. Hopefully someone else might come to my rescue!
     
  8. davs

    davs Member

    Hi, did you figure this out? I am looking for the same...
     
  9. NinaMcI

    NinaMcI Active Member

    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>
     
  10. davs

    davs Member

    oh thanks! I'll try this...I have a share button add-on so we'l see.
     

Share This Page