Shareaholic Social Button Code Placement - Which Template?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mondy
    Senior Member
    • Apr 2008
    • 199
    • 3.6.x

    Shareaholic Social Button Code Placement - Which Template?

    Hi all -

    I am aware that such questions should be asked at the vbulletin.org forum but I don't seem to receive any response to my post there at http://www.vbulletin.org/forum/showthread.php?t=311454

    Just asking whether any good folk here could assist me:

    Running 5.1.1 currently, and wanting to embed Shareaholic buttons in the location shown in the attachment.

    Question: Where should I plug my Shareaholic code to place the social toolbar in the location shown in the attached image?

    Note:
    There are two pieces of code
    • A block of JavaScript that must be placed in <head> and;
    • a <div class='shareaholic-canvas' data-app='share_buttons' data-app-id='xxxxxxxx'></div> code, which I would like to place UNDER the topnav but ABOVE the announcement/page title modules on each of my vb5 pages.

    Not sure what template to modify, and where that second line of code should be placed within that template....

    Could anyone give me a heads-up please?

    Many thanks in advance!!!
    Attached Files
    http://gblcg.com - The Business of Your Future - Strategy Redefined.
  • Mark.B
    vBulletin Support
    • Feb 2004
    • 24287
    • 6.0.X

    #2
    Your best bet would be a custom html module positioned above the announcements.
    MARK.B
    vBulletin Support
    ------------
    My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
    My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

    Comment

    • glennrocksvb
      Former vBulletin Developer
      • Mar 2011
      • 4021
      • 5.7.X

      #3
      Or a template hook maybe? Though I don't know if there's a hook location for that spot.

      Btw, the available hook locations in AdminCP should have an explanation or diagram of where on the page each hook is. It's hard to tell by the hook name where it is exactly on the page.

      Flag Icon Postbit Insert GIPHY Impersonate User BETTER INITIALS AVATAR Better Name Card Quote Selected Text Bookmark Posts Post Footer Translate Stop Links in Posts +MORE!

      Comment

      Related Topics

      Collapse

      Working...