What Do You Need In The Xf2 Xengallery Version? Vote for your choices here: http://www.sonnb.com/threads/what-do-you-need-in-the-xf2-xengallery-version.1539/

Disable Upload To Social Media

Discussion in 'XenGallery' started by SimonRH, Sep 25, 2016.

  1. SimonRH

    SimonRH Authorized Member Authorized

    how do i disable (or better, remove) the button Share this via... (Google, Facebook, Twitter, Tumblr, Pinterest)
     

    Attached Files:

    • cut.JPG
      cut.JPG
      File size:
      18.7 KB
      Views:
      5
  2. sonnb

    sonnb Administrator Staff Member

    You can do that by removing it from the sonnb_xengallery_photo_view template.
     
  3. SimonRH

    SimonRH Authorized Member Authorized

    Thank you sir. Im affraid that you have to be a bit more specific :)
    I have very limited knowledge in editing templates. I've found the template, but im not sure what to remove
     
  4. sonnb

    sonnb Administrator Staff Member

    Sure. In this template, find and remove these lines:
    HTML:
    <a rel="nofollow" href="{xen:link gallery/photos/share, $content}" class="action share" title="{xen:phrase sonnb_xengallery_share_this_photo_with_your_friends}">
                        <i class="icon-sonnb sonnb-xengallery-general icon-sonnb-share"></i>
                    </a>
     
  5. SimonRH

    SimonRH Authorized Member Authorized

    thank you sir, it worked perfectly
     

Share This Page