Page 10 of 16 FirstFirst ... 89101112 ... LastLast
Results 91 to 100 of 159
  1. #91
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Ultimate Fade-In Slidehow Support thread

    The new code supports different caption text for each language, but not different images. That said, it might be possible to have a different instance of the fadeshow for each language, each with its own set of images. Or you could add some coding to jscript_fadeshow_setup.php to set the image for the fadeshow depending on the language, such as replacing

    ["includes/templates/your_template/images/yourimage0.jpg", "", "", "<?php echo FADESHOWTEXT_1_IMG00;?>"],

    with

    ["includes/templates/your_template/buttons/<?php echo $_SESSION['language'];?>/yourimage0.jpg", "", "", "<?php echo FADESHOWTEXT_1_IMG00;?>"],

    and saving the images like
    /includes/templates/your_template/buttons/english/yourimage0.jpg
    /includes/templates/your_template/buttons/english/yourimage1.jpg
    /includes/templates/your_template/buttons/french/yourimage0.jpg
    /includes/templates/your_template/buttons/french/yourimage1.jpg

    There are other similar ways of doing this as well.

  2. #92
    Join Date
    Dec 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Ultimate Fade-In Slidehow Support thread

    Thanks gjh42 for your post, I've tried to do it but nothing changed, do you have any other tip?

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

    Default Re: Ultimate Fade-In Slidehow Support thread

    If done correctly, that will work, unless javascript needs some escaping before the PHP can be read. My code editor (Notepad++) highlights the inserted PHP correctly, but I don't know for sure as I am not proficient in js and how it interacts with PHP.
    I would need to see exactly what you did to tell what went wrong.

  4. #94
    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 darkmarauder View Post
    After adding the quotes as mentioned, my shop front end still remains blank :-(
    Hey Dark, what version did you download?

    Ultimate Fade-In Slideshow - Version: 2.4.1
    Fixed quotes in setup file.

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

    Default Re: Ultimate Fade-In Slidehow Support thread

    areichard -
    I found that in jscript_fadeshow_setup.php there was a : used instead of a ; on IMG03 (I think).
    You may have found this in the older recent version of the mod, but it does not exist in the v2.4.1 fileset I uploaded, neither the : nor the IMG03.

  6. #96
    Join Date
    Dec 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Ultimate Fade-In Slidehow Support thread

    Quote Originally Posted by gjh42 View Post
    The new code supports different caption text for each language, but not different images. That said, it might be possible to have a different instance of the fadeshow for each language, each with its own set of images. Or you could add some coding to jscript_fadeshow_setup.php to set the image for the fadeshow depending on the language, such as replacing

    ["includes/templates/your_template/images/yourimage0.jpg", "", "", "<?php echo FADESHOWTEXT_1_IMG00;?>"],

    with

    ["includes/templates/your_template/buttons/<?php echo $_SESSION['language'];?>/yourimage0.jpg", "", "", "<?php echo FADESHOWTEXT_1_IMG00;?>"],
    Do i need to enter like this: <?php echo $_SESSION['english'] instead of 'language'?

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

    Default Re: Ultimate Fade-In Slidehow Support thread

    Absolutely not. The exact syntax I posted is what will get the correct current language that has been selected by the user.

  8. #98
    Join Date
    Dec 2009
    Posts
    25
    Plugin Contributions
    0

    Default Re: Ultimate Fade-In Slidehow Support thread

    Wow, thanks gjh42 for the help, syntax works perfectly, you are great!

  9. #99
    Join Date
    Mar 2011
    Location
    Pensacola, FL
    Posts
    88
    Plugin Contributions
    4

    Default Dynamic population of Ultimate Fade-In Slidehow?

    I'm hoping to use Glenn Herbert's Ultimate Fade-in Slideshow to create a page that will display either all products or specified category items.

    Apparently niestudio is developing a script based on color box to be able to do this, but in the meantime I'm wondering how difficult it would be to populate the two .js files of Slideshow (jscript_fadeshow_setup.php and fadeshow_defines.php) from the products_description and products tables.

    So that for example, all products, all specials, etc could be contained within a slideshow.

    Any input or insight greatly appreciated.

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

    Default Re: Dynamic population of Ultimate Fade-In Slidehow?

    Since jscript_fadeshow_setup.php is a PHP file, you could add PHP code to it to look up product info from the database and populate that into items for the slideshow. It would require decent proficiency with PHP and MySQL, but would not be terribly difficult.

 

 
Page 10 of 16 FirstFirst ... 89101112 ... 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