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.

A bit of coding assistance?

July 29, 2013 12:08am

Subscribe [2]
  • #1 / Jul 29, 2013 12:08am

    Christian Sweatt

    281 posts

    Hi Everyone,

    I’m working on an EE development site and have an image slider that doesn’t display the correct caption with the related image, and it stops sliding after hover.  If anyone has the know-how as to what I could do to troubleshoot, I would be most appreciative!

    Here’s what I have in an EE template, but I’m thinking this is more of a JS issue, of which I have no idea where to begin.  Instead of having to find a new slider, I thought it may be a short, quick line of code?

    {exp:channel:entries channel="homepage_image_slider"}
    <div class="slide">
    {if no_results}<center>There are no images available</center>{/if}
    {homepage_image_slider}
    <div class="caption">{caption}</div>
    </div>
    {/exp:channel:entries}

    The JS file is located HERE, and is the “Front Slides” section of the file.  The page the slider is on is HERE.

    Thanks so much for any and all help!!

  • #2 / Aug 02, 2013 6:58pm

    jejuna

    105 posts

    Christian:

    I think you have some path issues and variable issues.

    Your URL: http://testing.volunteerhattiesburg.org/js/custom.js doesn’t seem to work, nor do any of the other js files.

    But volunteerhattiesburg.org/js/custom.js does.

    Also if you view the source in Firebug or Firefox’s web developer tool, you’ll see that the variable {homepage_image_slider_alt} itself is outputting, not the data. Check to see if you’ve typed it correctly.

    The caption isn’t being output at all, so you should check that variable, too.

    Hi Everyone,

    I’m working on an EE development site and have an image slider that doesn’t display the correct caption with the related image, and it stops sliding after hover.  If anyone has the know-how as to what I could do to troubleshoot, I would be most appreciative!

    Here’s what I have in an EE template, but I’m thinking this is more of a JS issue, of which I have no idea where to begin.  Instead of having to find a new slider, I thought it may be a short, quick line of code?

    {exp:channel:entries channel="homepage_image_slider"}
    <div class="slide">
    {if no_results}<center>There are no images available</center>{/if}
    {homepage_image_slider}
    <div class="caption">{caption}</div>
    </div>
    {/exp:channel:entries}

    The JS file is located HERE, and is the “Front Slides” section of the file.  The page the slider is on is HERE.

    Thanks so much for any and all help!!

  • #3 / Aug 02, 2013 7:05pm

    Christian Sweatt

    281 posts

    Hi there,

    First off, thanks for the reply!  Second, I’m so sorry, I’ve moved everything over to the live site, and just left up one slide at the moment, until I had more time to look at the slider.  I had a deadline today, and just had to get something quick up.  The moved site is actually HERE.

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

ExpressionEngine News!

#eecms, #events, #releases