Page 7 of 16 FirstFirst ... 56789 ... LastLast
Results 61 to 70 of 159
  1. #61
    Join Date
    Jun 2006
    Location
    Sea Lake, Australia
    Posts
    81
    Plugin Contributions
    0

    Default Re: Ultimate Fade-In Slidehow Support thread

    My bad!

    If you need help writing the instructions, I can help. I have a test server where I can do and document the process at the same time.

  2. #62
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Ultimate Fade-In Slidehow Support thread

    The updated version of Ultimate Fade-In Slideshow v2.4 is now available in Free Addons.

    This is actually Ultimate Fade-In Slideshow v2.4, modified for proper installation in Zen Cart.
    It allows for multiple languages in fadeshow image descriptions.
    The fadeshow will appear on the homepage by default; instructions are given for use on other pages.

    Since Dynamic Drive does not allow redistribution of its files, you must download and edit a few files yourself, following instructions given in the readme.

  3. #63
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Ultimate Fade-In Slidehow Support thread

    Note that the installation and operation of the fadeshow will be completely different than the old version was, so previous pages of this thread are largely irrelevant for new installations. This is mostly due to the rewritten javascript from Dynamic Drive, and to some extent to the improved ZC installation and page/language handling.

  4. #64
    Join Date
    Jun 2006
    Location
    Sea Lake, Australia
    Posts
    81
    Plugin Contributions
    0

    Default Re: Ultimate Fade-In Slidehow Support thread

    Thanks Glenn, easy install and works very well.

  5. #65
    Join Date
    Jun 2006
    Location
    Sea Lake, Australia
    Posts
    81
    Plugin Contributions
    0

    Default Re: Ultimate Fade-In Slidehow Support thread

    ZC V1.5. Being fiddling with this add on.
    All going well until I added a description to fadeshow_defines.php fadeshow_defines.php the slideshow disappeared. To get it to work with the description, I had to:

    in fadeshow_defines.php change
    //EOF
    to
    //EOF
    ?>

    and in jscript_fadeshow_setup.php change instances similar to
    <?php echo FADESHOWTEXT_1_IMG00;?>
    to
    "<?php echo FADESHOWTEXT_1_IMG00;?>"

    Does this seem right?

  6. #66
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Ultimate Fade-In Slidehow Support thread

    You shouldn't need to add that. PHP files do not require a ?> at the end - in fact, revised core Zen Cart files are often also changed to remove the ?>. No idea why adding it back would make a difference.

    For the quotes, you're right PHP works fine simply embedded in javascript, but its result, unlike in HTML output, needs to be enclosed in quotes so js can handle it properly as a string and not try to treat it as a variable or something else. In researching your question, I came across a method (using json_encode() ) that should also avoid possible escaping issues, allowing end users to incorporate various quotes and symbols in the description without breaking javascript. I'll test that out and resubmit, with a real improvement instead of just a bugfix.

    In the meantime, adding quotes around the PHP or else just embedding text directly will work.
    Last edited by gjh42; 12 Apr 2012 at 02:30 PM.

  7. #67
    Join Date
    Jun 2006
    Location
    Sea Lake, Australia
    Posts
    81
    Plugin Contributions
    0

    Default Re: Ultimate Fade-In Slidehow Support thread

    Quote Originally Posted by gjh42 View Post
    You shouldn't need to add that. PHP files do not require a ?> at the end - in fact, revised core Zen Cart files are often also changed to remove the ?>. No idea why adding it back would make a difference.

    For the quotes, you're right PHP works fine simply embedded in javascript, but its result, unlike in HTML output, needs to be enclosed in quotes so js can handle it properly as a string and not try to treat it as a variable or something else. In researching your question, I came across a method (using json_encode() ) that should also avoid possible escaping issues, allowing end users to incorporate various quotes and symbols in the description without breaking javascript. I'll test that out and resubmit, with a real improvement instead of just a bugfix.

    In the meantime, adding quotes around the PHP or else just embedding text directly will work.
    Thanks Glen

    Rechecked without the closing ?> and it still works (sorry).

    Not sure about json, some earlier browsers don't support it.

    I also used similar to
    "index.php?main_page=products_new", "_self",
    for the clickable url instead of similar to
    "http://some-url.com", "_new",

  8. #68
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Ultimate Fade-In Slidehow Support thread

    Researching json_encode further, it looks like a functional and security minefield which will take far too much study to be sure of doing it safely. I think I will just add more notes about escaping quotes in the corrected files.

  9. #69
    Join Date
    Feb 2010
    Location
    Northants, England
    Posts
    82
    Plugin Contributions
    0

    Default Re: Ultimate Fade-In Slidehow Support thread

    Hello,

    I have just downloaded the latest version of Zen Cart (1.5.0) and the latest version as of today of the Ultimate Fade Slideshow.
    I installed the test shop without issues, but as soon as I added the files for the Ultimate Fade Slideshow (making sure the two folders for my template were renamed) the front end of my shop goes blank.
    The Admin backend is fine, and if I delete just the jscript files - from includes/templates/templatename/jscript the shop frontend loads just fine.

    My shop has addons though:- Backup MYSQL and Easypopulate 4 only.

    Any help please?

  10. #70
    Join Date
    Feb 2010
    Location
    Northants, England
    Posts
    82
    Plugin Contributions
    0

    Default Re: Ultimate Fade-In Slidehow Support thread

    More specifically when the file 'jscript_fadeshow_setup.php' is added to the jscript folder, this is when the shop frontend goes blank.

 

 
Page 7 of 16 FirstFirst ... 56789 ... LastLast

Similar Threads

  1. v150 Ultimate SEO v3 (and v2.200) [Support Thread]
    By lhungil in forum All Other Contributions/Addons
    Replies: 1703
    Last Post: 16 Jun 2026, 02:10 PM
  2. Ultimate Cross Sell [Support Thread]
    By ultimate_zc in forum All Other Contributions/Addons
    Replies: 239
    Last Post: 17 May 2015, 03:25 AM
  3. Ultimate Content Glider [Support Thread]
    By ultimate_zc in forum All Other Contributions/Addons
    Replies: 11
    Last Post: 4 Sep 2012, 05:16 AM
  4. Ultimate Fade-In Slidehow help
    By discoverytdi in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 25 Oct 2011, 01:50 PM
  5. Ultimate Fade-In Slideshow
    By Finna in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 5 Sep 2011, 12:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg