ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

slider works on html page but not EE template

November 10, 2014 6:22pm

Subscribe [2]
  • #1 / Nov 10, 2014 6:22pm

    fensterbaby

    289 posts

    I have an image slider (revolution, jquery) that is driving me nuts.

    Here is a flat HTML file where the slider works fine.
    http://www.summitlakelodge.com/test.php


    Here is a EE template that contains the exact same code yet won’t fly.
    http://www.summitlakelodge.com/index.php/home

    I stripped out everything but the slider and used identical code so it’s not a JS conflict, parser order sort of thing.

    Only difference is one runs through the EE engine and tuther doesn’t.

    If you compare source… the are the same. So some sort of EE conflict.

    Ideas?

    THANKS!

    Gregory

    EE: 2.9.2
    jquery: 1.11.1

     

  • #2 / Nov 10, 2014 8:20pm

    USC Chan

    81 posts

    Both of your pages are throwing errors, but the second has an additional error:

    Failed to load resource: the server responded with a status of 404 (Not Found)
    http://www.summitlakelodge.com/index.php/kb-plugin/js/jquery.googlefonts.js

    Based on the other header code, you might need to adjust the following line (#140), so that it looks in the right place (using ‘/kb-plugin’ rather than ‘kb-plugin’ might be enough):

    googleFontJS:‘kb-plugin/js/jquery.googlefonts.js’

    Not sure if that’ll fix it, but it’s definitely a difference between the two pages.

  • #3 / Nov 10, 2014 8:58pm

    fensterbaby

    289 posts

    Wow that was it.

    Wouldn’t have thought that would crash the whole show.

    Thanks!

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases