Results 1 to 10 of 156

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Posts
    221
    Plugin Contributions
    1

    Default Re: Image Titles Support Thread

    I guess I spoke too early... Still having trouble with new_products.php.

    While the fix I applied earlier (commenting out the existing line and then adding the new modified line with the strtolower(strftime('%B')) added) worked on the main page of the site (New Products of the month text is replaced with the appropriate image), I just discovered it is not working for the Category pages that have new products.

    On the Category pages where it normally would show the text "New Products of the month," it now shows a hyphen and the name of the category.

    So, if the category is Blue Widgets, the section where it should say "New Products of the month," will have text only that says, - Blue Widgets (and of course no image replacement).

  2. #2
    Join Date
    May 2006
    Posts
    321
    Plugin Contributions
    0

    Default Re: Image Titles Support Thread

    I have installed this and it just isn't working for me. I can't even see the code for the image when I view the source. It is a freshly upgraded site, runnign 1.3.9h, with a custom template and all of the files loaded to the appropriate folders. Can you help?

    http://www.paperbagstudios.com/shoppe

    Thanks!

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

    Default Re: Image Titles Support Thread

    The most likely cause if the files are in the correct places is image names, What titles are you trying to replace, and what are the filenames you are using?

  4. #4
    Join Date
    May 2006
    Posts
    321
    Plugin Contributions
    0

    Default Re: Image Titles Support Thread

    But it doesn't even show any image names at all in the source code...and, I did already change the file to reflect a .jpg instead of a .gif and the file name is boxhead-categories.jpg. I've only put one in to check and see if it worked and since I can't even see the code, I don't know for sure what to name the others, anyway...

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

    Default Re: Image Titles Support Thread

    The title for the categories sidebox, then? That would be the correct filename; what folder did you save it in?

    It might be helpful to post a copy of the actual define for filetype as it is now.

  6. #6
    Join Date
    May 2006
    Posts
    321
    Plugin Contributions
    0

    Default Re: Image Titles Support Thread

    I saved it in my custom template/buttons/english folder, just as it says to in the instructions.

    Here's the code, all I changed was the file extension:

    PHP Code:
    <?php
    /**
     *
     * @copyright Copyright 2010 Glenn Herbert
     * @license http://www.gnu.org/licenses/ GNU Public License V3.0
     * //includes/languages/english/extra_definitions/your_template/image_titles_defines.php
     * Images for Titles  by Glenn Herbert (gjh42)    2010-09-01
     */
     
    define('IMAGE_TITLES_EXT','.jpg');// or .jpg, .png, etc.
    ?>
    Thanks for the help. I've triple checked that all files are in the right place and still, no code is even showing up for any of the title images at all. I just don't know what's up.

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

    Default Re: Image Titles Support Thread

    That is odd. Everything you describe is correct. I would probably need to be inside your admin to get any more useful info. The filename would not show in view source unless the replacement code found the file; thus, it is not looking in the same place as your file is. Check if all the mod files look like good files. One could be corrupted and disable the function - in that case, re-uploading the files would fix it.

 

 

Similar Threads

  1. v150 Image Handler 4 (for v1.5.x) Support Thread
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1687
    Last Post: 17 Nov 2024, 07:26 PM
  2. Rotating Image Slider [Support Thread]
    By picaflor-azul in forum All Other Contributions/Addons
    Replies: 21
    Last Post: 8 Jun 2018, 02:16 AM
  3. v139h Image Handler 3 Support Thread (for ZC v1.3.9)
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 1095
    Last Post: 2 Oct 2017, 12:42 PM
  4. AJAX IMAGE Swapper support thread
    By jaycode in forum All Other Contributions/Addons
    Replies: 785
    Last Post: 13 Jan 2016, 11:48 PM
  5. Additional Image Titles [support]
    By gjh42 in forum All Other Contributions/Addons
    Replies: 67
    Last Post: 16 Sep 2011, 04:28 AM

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