JS error in Custom Reply Template

Version 1
    This document was generated from CDN thread

    Created by: Koushal Pandit on 01-03-2013 06:51:57 AM
    My custom reply template is giving the following error in the java console. (Actual server name replaced by <Server Name>)
     
     
     

    GET https:// <Server Name>/gadgets/ccp/vars.js 404 (Not Found)
    concat:2587


    GET https:// <Server Name>/gadgets/ccp/prefs.js 404 (Not Found) concat:2587


    GET https:// <Server Name>/gadgets/ccp/mvc-base.js 404 (Not Found) concat:2587


    GET https:// <Server Name>/gadgets/ccp/log.js 404 (Not Found) concat:2587


    GET https:// <Server Name>/gadgets/ccp/comm.js 404 (Not Found) concat:2587

     
    All these js files are actually under /js/ccp/... but for some reason it is looking under gadgets/ccp. This part of the code is being called by one of the following js which is not under my control.



    '/js/3rdparty/sarissa/sarissa-full-0.9.9.4/gr/abiss/js/sarissa/sarissa.js',


     
    'ccp/utils',


     
    'ccp/vars',


     
    'ccp/facebook-oauth',


     
    '/templates/reply/js/ccp-twitter.js',


     
    '/templates/reply/js/ccp-facebook.js',


     
    '/js/ccp-utils.js',



     
    Can anybody tell me what I am doing wrong?

    Subject: RE: JS error in Custom Reply Template
    Replied by: Richard L Whitesel on 04-03-2013 01:50:32 PM
    It appears that you are using the Facebook template as a starting point. We suggest that you refer to the custom reply template section in the developer guide. The sample code provided there is a much better starting place for you to develop your own custom reply template.

    Subject: RE: JS error in Custom Reply Template
    Replied by: Koushal Pandit on 06-03-2013 06:26:13 AM
    Thank you so much Richard. I was really going on the wrong path. Even though the link in the developer's guide wasnt correct, I found the correct link on docWiki. The sample code really helped me fix my custom reply template. Thanks again