Permalinks page works but does not load images

4 posts by 2 authors in: Forums > CMS Builder
Last Post: July 28, 2014   (RSS)

By Steve99 - July 28, 2014

Hi Andy,

I took a look at the links and think it is probably just a javascript include issue. The comments below are assuming you are utilizing the PREFIX_URL set as "/~javeahom" within the General Settings area.

Beneath your "JS Page Level" html comment, it looks like you need to change this:

    <script src="sliderengine/jquery.js"></script>
    <script src="sliderengine/amazingslider.js"></script>
    <script src="sliderengine/initslider-1.js"></script>

To this:

    <script src="<?php echo PREFIX_URL; ?>/property/sliderengine/jquery.js"></script>
    <script src="<?php echo PREFIX_URL; ?>/property/sliderengine/amazingslider.js"></script>
    <script src="<?php echo PREFIX_URL; ?>/property/sliderengine/initslider-1.js"></script>

That should fix the issue you are experiencing.

If you are NOT using the PREFIX_URL setting, you'll have to set those up as such:

    <script src="/~javeahom/property/sliderengine/jquery.js"></script>
    <script src="/~javeahom/property/sliderengine/amazingslider.js"></script>
    <script src="/~javeahom/property/sliderengine/initslider-1.js"></script>

Let me know how it goes. Hope this helps.

Steve

By andybarn - July 28, 2014

Thanks Steve!

You are a star, I changed to

    <script src="/~javeahom/property/sliderengine/jquery.js"></script>
    <script src="/~javeahom/property/sliderengine/amazingslider.js"></script>
    <script src="/~javeahom/property/sliderengine/initslider-1.js"></script>

and it now works perfectly!

Thank you so much for your help.

Kind regards

Andy

By Steve99 - July 28, 2014

You're very welcome!

Now that's working in your dev environment. When the site is being prepped to go live, just make sure to remove "/~javeahom" from those source file links so it starts with "/property" and you'll be good to go.

Cheers!
Steve