Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 4 of 4

Thread: Duplication of Javascript code in CMS

  1. #1
    dhavaludani is offline Junior Member
    Join Date
    Nov 2009
    Posts
    11

    Default Duplication of Javascript code in CMS

    When I paste any kind of javascript code within a topic page in the CMS, the code gets duplicated on its own, on updating the topic; and appears on the page twice too. In addition an <i frame> tag gets added by default on every default . How can I prevent this from happening, so that it just appears once?

    See: http://www.giveindia.org/t-tweet-me.aspx
    Original Code:

    <script type='text/javascript'> tweetmeme_url = 'http://www.giveindia.org/t-rough.aspx';tweetmeme_style = 'compact';tweetmeme_source = 'GiveIndia'tweetmeme_service = 'bit.ly';service_api = 'R_529975fd176ddbaab74390949f1bb70e';</script> <script src='http://tweetmeme.com/i/scripts/button.js' type='text/javascript'></script>
    <script type='text/javascript'>
    tweetmeme_url = 'http://www.giveindia.org/t-tweet-me.aspx';
    tweetmeme_style = 'compact';
    tweetmeme_source = 'GiveIndia'
    tweetmeme_service = 'bit.ly';
    service_api = 'R_529975fd176ddbaab74390949f1bb70e';
    </script>
    <script src='http://tweetmeme.com/i/scripts/button.js' type='text/javascript'></script>

  2. #2
    deanfp is offline Senior Member
    Join Date
    May 2009
    Location
    Sweden
    Posts
    556

    Default

    What version are you on?

  3. #3
    dhavaludani is offline Junior Member
    Join Date
    Nov 2009
    Posts
    11

    Default

    We are using version 7.0

  4. #4
    dhavaludani is offline Junior Member
    Join Date
    Nov 2009
    Posts
    11

    Default

    Is no one else facing this problem? Wonder why we alone are facing such a problem.