Announcement

Collapse
No announcement yet.

Inserting a HTML embed code

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Inserting a HTML embed code

    Hello all,

    We are attempting to insert an HTML embed code for a new 'Social Hub' feature provided by Tagboard.

    We have to date attempted to enter the embed code, but have encountered two problems.

    1. Once inserted, the embed appears to partially work.

    The webpage shows the correct defined area for the social hub, however the script and content does not appear to work. We have experimented with the embed code on another platform, and it works instantaneously.

    Do we need to amend the code for it to function on SellerDeck? Here is the embed code:

    <div id="tagboard-embed"></div>
    <script>var tagboardOptions = {tagboard:"puckstop/179927"};</script>
    <script src="https://tagboard.com/public/js/embed.js"></script>


    2. When using the embed code we have encountered problems keeping the social hub on the intended page.

    Where/how should we enter the embed code to restrict it to the desired page?


    Thanks in advance!

    #2
    There could be various issues. Multiple Javascripts on the same page. The source of the Javascript file may need to change .js to %2Ejs to fix an issue as detailed here with thanks to Norman. You may need to block the code showing in the preview see a fix here. Where have you been placing the code?.
    Peblaco

    Comment


      #3
      Thank you very much for your helpful advice. Through a little bit of trial and error on the back of the resources provided, we have now managed to get the embed/script to function.

      However, we are still struggling to embed the code on the desired page. When we enter the embed code in the HTML editor, the script is appearing on unwanted pages.

      We are not certain whether we are entering the code in the incorrect part of the html code (header,body,footer), or whether the HTML editor is showing the code for the relevant page.

      For example, if we were to enter the embed code on the following URL, is there a specific place we ought to enter the embed code to prevent it from showing on other pages such as the homepage? http://www.puckstop.com/acatalog/Opening_Times.html

      Thanks again

      Comment


        #4
        You could create a fragment on that page and put the code into that.
        Reusable Snore Earplugs : Sample Earplugs - Wax Earplugs - Women's Earplugs - Children's Earplugs - Music Earplugs - Sleep Masks

        Comment


          #5
          Jules suggestion above is the easiest way to go if you want this on one page only.

          To make code in the Fragment's Text field display as HTML, all you need to do is surround it with

          !!< and >!!

          E.g.

          !!< <b>This is all in bold</b> >!!
          Norman - www.drillpine.biz
          Edinburgh, U K / Bitez, Turkey

          Comment

          Working...
          X