Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
steve00 Posted August 13, 2017 Posted August 13, 2017 Wondering if anyone has had similar issue and if so how they overcame the problem. Had a scrolling ticker script running fine in Pages using 4.1.x Since upgrading to 4.2.2 it seems the script will not run at all In 4.1.x script was in the page template In 4.2.2 have even tried adding it into the JS tab and including it in the template but nothing seems to work In both instances of where placed it loads into <head> area but just doesn't want to run Anyone any ideas ?
steve00 Posted August 13, 2017 Author Posted August 13, 2017 UPDATE: Narrowed it down to this line at bottom of page template (which is a copy of globalTemplate) {template="includeJS" if="theme.js_include == 'footer'" app="core" group="global" location="global" params=""} If I comment that out then ticker works but drop down menu's and primary nav doesn't work ... if I uncomment it then ticker doesn't but menu's etc do
TAMAN Posted August 13, 2017 Posted August 13, 2017 Upload the "script" as a file in theme resources and paste it wherever you want
steve00 Posted August 13, 2017 Author Posted August 13, 2017 1 hour ago, TAMAN said: Upload the "script" as a file in theme resources and paste it wherever you want Thanks for the suggestion Good idea, tried that though and no good In the end got it to work by placing all my scripts BELOW that template I posted above (right before the </body> tag) No idea what that template is I posted above but it was never in 4.1.x It is also in the </head> area as well
Recommended Posts
Archived
This topic is now archived and is closed to further replies.