marco2306 Posted April 30, 2020 Posted April 30, 2020 Hi, I do not know if I am writing correctly here, if not, please postpone it. I bought a flip countdown from Codecanyon, I would like to display it in the forum. This script has 2 CSS and 3 JS files. I uploaded the 3 JS files into a folder called js on the server in the root directory of my forum. Then I have the JS files under SITE PROMOTION / Analytics under Other with Custom tracking code <script src = "http: // My URL / js / jquery-3.4.1.min.js"> </script> <script src = "http: // My URL / js / flipclock.min.js"> </script> <script src = "http: // My URL / js / flip-time.js"> </script> Registered. I opened the two CSS files and entered the content into my template in Custom CSS. I then opened the HTML file and looked for the code to embed it in and inserted it into the global template. Normally the countdown should now be shown, which unfortunately is not the case. Only the placeholder is shown to me and the console from the browser also says no error message. How can I get the script to run? Can someone help me? I am thankful for every help. It's the countdown here ... Sincerely yours
WP V0RT3X Posted May 3, 2020 Posted May 3, 2020 On 4/30/2020 at 4:02 PM, marco2306 said: How can I get the script to run? Not easy without knowing the script. You can try to include the scripts in your template too, but I would suggest using it in a block. When you sent me the countdown for testing, I could take a look.
marco2306 Posted May 3, 2020 Author Posted May 3, 2020 Unfortunately the JS files can be integrated, but they don't work as intended. What surprises me when I use TXT & PHP Widget 1.0.1 is the countdown, but not in the widget. Think that the JS files will be integrated and loaded. Unfortunately, the widget remains empty. Which also surprises me that some styles also include JS files and the countdown works, but they don't matter. Unfortunately I can't upload the script here because I paid for it and I can't give it away.
marco2306 Posted June 26, 2020 Author Posted June 26, 2020 A small contribution and a big step for humanity. With Pages it works.
Nathan Explosion Posted June 28, 2020 Posted June 28, 2020 (edited) On 4/30/2020 at 3:02 PM, marco2306 said: Then I have the JS files under SITE PROMOTION / Analytics under Other with Custom tracking code <script src = "http: // My URL / js / jquery-3.4.1.min.js"> </script> <script src = "http: // My URL / js / flipclock.min.js"> </script> <script src = "http: // My URL / js / flip-time.js"> </script> Registered. 1st line, not needed - Jquery already in the IPS suite. 2nd/3rd line - HTTP - is your site HTTP or HTTPS? If HTTPS then change the src Other than that...impossible to help further without seeing it in place on your site, and troubleshooting from there. Edited June 28, 2020 by Nathan Explosion
marco2306 Posted June 28, 2020 Author Posted June 28, 2020 On 6/26/2020 at 3:07 PM, marco2306 said: A small contribution and a big step for humanity. With Pages it works. Problem was solved with Pages. Everything works.
Recommended Posts