DISQUS embedding code doesn't work in DPS

I'm trying to embed DISQUS code into InDesign document via copy/paste or using insert HTML but when I preview the Folio with the Content Viewer (desktop or iPad) it doesn't work.
This is the snippet code from disqus.com:
<div id="disqus_thread"></div>
    <script type="text/javascript">
        /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
        var disqus_shortname = 'myaccountname'; // required: replace example with your forum shortname
        /* * * DON'T EDIT BELOW THIS LINE * * */
        (function() {
            var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
            dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
            (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
    </script>
    <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
    <a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
It work only If I save an html document on a server and then I use the url in the HTML content overlays but I can't do this way because I need one discussion for each articles in DPS.
Please let me know if someone had the same issue or if you know how to modify the code.
Thanks.
Andrea Spinazzola

you have a security sandbox issue or popup blocker.
test with your swf/embedding html uploaded to a server.

Similar Messages

  • How to use documentbeforesaved method? And why my code doesn't work in template files?

    Can someone help me with these two codes?
    ----Beginning of code 1-------------
    Private WithEvents App As Word.Application
    Private Sub Document_Open()
    Set App = Word.Application
    End Sub
    Private Sub App_DocumentBeforeSave(ByVal Doc As Document, SaveAsUI As Boolean, Cancel As Boolean)
    MsgBox("BeforeSave")
    End Sub
    --------------End of the code----------------
    Beginning of code 2--------------- Code 2 is from https://msdn.microsoft.com/en-us/library/office/ff838299(v=office.15).aspx
    Public WithEvents appWord as Word.Application 
    Private Sub appWord_DocumentBeforeSave _ 
     (ByVal Doc As Document, _ 
     SaveAsUI As Boolean, _ 
     Cancel As Boolean) 
     Dim intResponse As Integer 
    Private Sub App_DocumentBeforeSave(ByVal Doc As Document, SaveAsUI As Boolean, Cancel As Boolean)
    MsgBox("BeforeSave")
    End Sub
    In the first code, they have:
    Private Sub Document_Open()
    Set App = Word.Application
    End Sub
     I test these two codes in "This document" object, and I find out the first code works but the second code are not!
    Why second code doesn't work?
    Extra question: I am using microsoft 2013. I insert this code into a macro-enabled template. But when I am about to save my file I am expecting these code works. However, they didn't work!
    Thank you for solving these problem for me!

    Hello,
    Please note that the code snippet 2 in your post is different from the code snippet in the MSDN document. Also please read the comments of the MSDN code sample:
    This example prompts the user for a   yes or no response before saving any document.
    This code must be placed in a   class module, and an instance of the class must be correctly initialized to   see this example work; see
    Using Events with the Application Object for   directions on how to accomplish this.
    Public WithEvents appWord   as Word.Application
    Private Sub   appWord_DocumentBeforeSave _
     (ByVal Doc As Document, _
     SaveAsUI As Boolean, _
     Cancel As Boolean)
     Dim intResponse As Integer
     intResponse = MsgBox("Do you really   want to " _
     & "save the document?", _
     vbYesNo)
     If intResponse = vbNo Then Cancel = True
    End Sub
    So the problem in your code snippet 2 is that you didn't put it into a class module and initialize the class module. If you just put it into ThisDocument, you have to initialize the word application object.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • ISF/javascript code doesn't work for non-English RequestCenter proile

    ISF/javascript code doesn't work for non-English RequestCenter proile
    Hello,
    I am not sure if i posted the same question before also. We have some customers who have set thier language profile in newScale requestcenter to French. However, all the javascript customizations configured on the service forms do not function for 'French' as a Langauge preference. Has anyone encountered the similar issue before and can anyone please suggest a solution for it?
    Thanks,
    Mihir

    we had a similar issue a while back where the Approval button was not working in Spanish, needed a fix from nS for it
    The way to fix this would be to locate the language XML file, override the French caption with Submit and on onLoad write a global JS that would write the button label again (not so sure about this)
    But really its an major defect and they should be able to fix it.

  • Code Doesn't work although it works on DEV

    hello evey body
    some functions and codes doesn't work on application server But it works on developer ??!!
    as i have code to export data from oracle to excell . it works from developer but it doesn't from application server
    this is my code in the link
    http://www.4shared.com/document/7wTQrK1-/Excell_Rep.html
    does Application Server didn't contain this packages ?
    or what ??

    Hi dorpfeld,
    Please check the KB : http://helpx.adobe.com/creative-suite/kb/error-serial-number-valid-product.html
    I would strongly recommend that you work directly with our support team for serial number issues.
    You can reach our chat support for serial number issues at : http://adobe.ly/1aYjbSC
    Regards,
    Rave

  • The ussd code doesn't work on my iphon since i update to ios 7.0.3 what can i do for this problem?

    the ussd code doesn't work on my iphon since i update to ios 7.0.3 what can i do for this problem?

    Maybe
    SOLUTION: circle with red square Some Music Won't Play After...: Apple Support Communities

  • Mountain lion redeem code doesn't work!!!

    Mountain lion redeem code doesn't work!!!

    The codes got sent out pre-maturely on the 23rd to some folks. And now on the go-live those codes have been re-used.
    https://discussions.apple.com/message/19014392?ac_cid=tw123456#19014392
    In short - wait for a new email from apple.

  • Embedding fonts - doesn't work

    Another day, another Flash Catalyst problem.
    I check the box to embed fonts when I publish, only when I preview my output they are nowhere to be seen. Bottom line, Flash Catalyst doesn't work on a Mac. I've had nothing but problems. This program isn't ready for prime time at all. I've used betas of programs that are much more polished than this. I believed that there wasn't suppossed to be major issues when using FC with 10.7 Lion.
    That's not true, this program is so broken and flawed and such a frustration to use. Adobe can't be bothered to update even though they've had access to Lion for months. If they can't make a program that works then why bother releasing for the Mac platform at all?
    Lets see:
    1. Placeholders don't work.
    2. Importing Illustrator files doesn't work.
    3. Publishing with embedded fonts doesn't work.
    These aren't minor issues. They are MAJOR PROBLEMS!!! How did Flash Catalyst see the light of day on the Mac? Why was it released? Are these problems isolated to 10.7? Why aren't these MAJOR DEALBREAKERS listed? Can anyone at Adobe stand up and admit that this Flash Catalyst on the Mac is a total fiasco?

    I am sorry you are having trouble. I'm not running Lion on my Mac (issues with LDAP and a corporate network). With something like you are describing I would try two things before contact Adobe support. The first would be to try a fresh install. Maybe the OS upgrade wonked something. The other thing I would make sure is that my JAVA runtime is up to date. Flash Catalyst is built on Eclipse, which in turn in built on JAVA.
    Beyond, that these issue are more that I can help with.
    Chris

  • Serial code doesn't work

    I downloaded and paid for Lightroom 5 on my laptop then my laptop's disc went corrupt, now my serial code doesn't work. how can i get it to work again? i don't want to be paying for another copy

    Are you able to get to the point where you can enter the serial number? If so, what happens?

  • Key-code change... from windows to mac... the old key-code doesn´t work

    I bought a CS for Windows and used it on Windows.
    Now I bought a Mac and want to use it,
    but the key-code doesn´t work.
    How can I get a key-code wich works???

    Neither the keycode nor the Windows version of the software will work on a Mac.
    You can only swap platforms for the latest version of Adobe products, which is currently CS6.
    Order product | Platform, language swap

  • Code doesn't work in browser

    This code works in flash player but when i test in the browser it doesn't work:
    TBL.addEventListener(MouseEvent.CLICK, fa);
    function fa(event:MouseEvent):void
              navigateToURL(new URLRequest("http://www.google.com"));

    you have a security sandbox issue or popup blocker.
    test with your swf/embedding html uploaded to a server.

  • My simple Inbound ABAP Proxy code doesn't work in PI 7.1 EHP1 SP3 ?

    Hi,
    I just installed and configure new PI 7.1 EHP 1 SP3 and i tried some simple abap proxy but seems like doesn't work.
    Please advise what is missing base on my simple abap code below :
    =================================================================================================
    METHOD zpi711ii_si_syn_in_aaeproxy~si_syn_in_aaeproxy.
    **** INSERT IMPLEMENTATION HERE **** ***
    DATA: inputdata TYPE ZPI711MT_REQ_1,
    outputdata TYPE ZPI711MT_RES_1.
    CONCATENATE inputdata-mt_req_1-firstname ' ' inputdata-mt_req_1-lastname INTO outputdata-mt_res_1-fullname.
    ENDMETHOD.
    =================================================================================================
    i have put some break on the CONCATENATE seems like inputdata-mt_req_1-firstname is empty ? why ?
    The sample xml input is :
    =================================================================================================
    <n0:MT_REQ_1 xmlns:n0="http://www.abeam.com/sample/pi" xmlns:prx="urn:sap.com:proxy:ST6:/1SAI/TAS1190827B531A473B357B:700:2008/06/25">
    <FIRSTNAME>This is a string 4</FIRSTNAME>
    <LASTNAME>This is a string 5</LASTNAME>
    </n0:MT_REQ_1>
    =================================================================================================
    Please advise
    Thank You and Best Regards
    Fernand

    Hi Fernand ,
    Few things to check :
    1. hope you are accessing the correct node of proxy structure and the correct message type too.
    2.. If the occurrence of node is 1 to many than it will be a table type in that case your need to use a loop to access row values.
    Make sure that you have used the correct message types for creating variables..
    DATA: inputdata TYPE ZPI711MT_REQ_1,
    outputdata TYPE ZPI711MT_RES_1.
    --->inputdata-mt_req_1-firstname ' ' inputdata-mt_req_1-lastname
    >once you have created the variable of particular messagetype than you have to use in this format inputdata-firstname and inputdata-lastname. seems some thing fishy here...inputdata-mt_req_1-firstname/lastname.
    Regards ,

  • Edge audio doesn't work in DPS project

    Being very happy after latest update of Edge CC, I've decided to make DPS project for iPad.
    First, when I chose "autoplay" button for audio timeline, I got a warning about sound autoplay option is not supported at digital devices (??). So what should I do? To not use the autoplay?
    Second, a preview of Edge animation in web-browser works perfect (both background sound and a sound for user interaction) - BUT when I put .oam file in DPS, the sound just DOESN'T WORK.
    I tried everything - check-uncheck "autoplay", check-uncheck "preload audio", put an audio as a trigger.. no sound in iPad.
    And when I put audio file directly into Indesign, a sound works perfect in iPad.
    What's going on?

    Agapyla wrote:
    so the idea is all projects for iOS cannot use Edge Audio feature that was just released last month? At least in full way, as it is shown in built-in Edge Tutorial (autoplay)?
    No, not exactly. iOS and other mobile devices can playback HTML 5 audio, which is what Animate outputs.
    But the fact of the matter is that autoplay for audio (and preloading) is not supported by mobile devices - it's a limitation manufacturers build into their devices. Therefore, to use audio from Animate in mobile devices, you have to initiate audio playback from a user event, such as touchstart or click.
    We warn you of this in Edge Animate when you turn on autoplay (warnings appear at the bottom of the Stage).

  • FormattedText sample code doesn't work.

    Hi -
    In the supplied sample files with flash 8 (Samples &
    Tutorials/Samples/Actionscript/Loadtext) there's a sample called
    "formattedText.fla". It's exactly what I need... but it doesn't
    work more than once. After one test of the file, without changing
    anything, when I test again I get the unformatted text.
    To get it to work again - *get this* - I have to close the
    file and then open it and try again. It looks great...once.
    I would really love this to work. I've attached the "factory"
    code. Please try it more than once.
    TIA some expert input on this.
    JL

    Thank you, I have just run out all this patches, it's a so hard work, and it took me three days to run them.
    Now I'll turn to test the effect of the patches to the ODM schema, if there is still any question, I'll turn to you for help, thanks in advance!

  • Temporary code doesn't work !!

    I can't use temporary code to reset my password it seems it doesn't work for me !!
    i've requested reset password and recieved the code 
    followed the link and chose the correct username i want to change password for
    typed the new password ..then it return me the error "please contact support" !!
    what's wrong with that ?

    Just click the link below to see the instructions on how you can get in touch with the Support team (in cases like what is being discussed, read the last part);
    http://community.skype.com/t5/The-Skype-Lounge/How-to-Contact-Skype-Customer-Service/td-p/2056783
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES
    SEE MORE TIPS, TRICKS, TUTORIALS AND UPDATES in
    | skypefordummies.blogspot.com | 

  • My activation code doesn't work. I HAVE PAID YOU!

    My activation code (Product Key) doesn't work! Why even send it at all if you know its not going to work.
    Why does Adobe software install so easily yet Microsoft . . . nothing but problems.
    Your order number:
    [Deleted number]
    Order date:
    November 14, 2014
    Bill to:
    [Deleted OP's private information]

    My activation code (Product Key) doesn't work! Why even send it at all if you know its not going to work.
    Why does Adobe software install so easily yet Microsoft . . . nothing but problems.
    Your order number:
    [Deleted number]
    Order date:
    November 14, 2014
    Bill to:
    [Deleted OP's private information]
    Which Office version?
    Office 2013? Office 365? Something else?

Maybe you are looking for

  • When I open a document from a website in the browser a copy is saved automatically by download helper even if I just want to view.

    When I click to view a word, excel, PDF or other file on a website I am presented with a window that says "you have chosen to open ........etc What should Firefox do with this file? Open with Save file....." If I choose the option "Open with" the fil

  • Help!!! I can't save multiple PDF documents into one single PDF!  Need answers!

    Hello! I'm trying to save a very large PDF file.  I'm using Adobe Acrobat X Pro.  There are about 200 plus pages and I'm trying to save merged PDF files as one single PDF document.  I've compressed the PDF's as much as I could prior to saving.  For s

  • Itunes 7.1.1 and Vista home

    Itunes runs fine. and the ipod runs fine aslong as they are not connected to the computer togeather, when i plug my ipod up to my computer my CPU Process Max out at 100%, when i un-plug my ipod and turn off the service then it goes back to normal, wh

  • Mapping XML data to relational database tables

    I'm writing an application that has two parts: the client part generates XML documents and sends them across the network to a server part, which parses the XML, maps the XML to various RDBMS tables and stores the data in the RDBMS. I've got everythin

  • Trouble with Qmaster, Compressor

    Hello all! I am trying to compress a 48 Minute long HDV sequence to HD-DVD using the H.264 60 Min encode settings, and I am having problems. I have read how to setup Qmaster to run multiple cores, so I have made a 4 core quick cluster on Qmaster with