Results 1 to 10 of 156

Hybrid View

  1. #1
    Join Date
    Nov 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: Image Titles Support Thread

    Can this add-on be used to change the title text of the categories on the main pages?
    (Similar to the product titles - but for the categories preceding these)

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

    Default Re: Image Titles Support Thread

    Not currently, but it should be fairly easy to add the functionality to the category/subcategory listing page using the same kind of code as the product info page uses.

  3. #3
    Join Date
    Feb 2010
    Location
    Texas - The Republic
    Posts
    27
    Plugin Contributions
    0

    Default Re: Image Titles Support Thread

    I downloaded the ...2_0beta.zip file you attached in the other thread.

    Uploaded it to my site per your 2.0 read me.

    I get a
    Code:
    Parse error: syntax error, unexpected ';', expecting ')' in ...... /includes/modules/classic/category_row.php on line 42
    When I brought up the file, line 42 looks like
    Code:
    $list_box_contents[$row][$col] = array('params' => 'class="categoryListBoxContents"' . ' ' . 'style="width:' . $col_width . '%;"',
                                               'text' => '<a href="' . zen_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . zen_image(DIR_WS_IMAGES . $categories->fields['categories_image'], $categories->fields['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '<br />' . (title_image_exists($categories->fields['categories_name'], 'categoryname' . $categories->fields['categories_id']) . '</a>');
    I count 4 opening parens, and only 3 closing parens.

    I am not enough of a programmer to know where to put the 4th closing parens.

    Or am I counting it wrong?

    Suggestions?
    Jim

  4. #4
    Join Date
    Feb 2010
    Location
    Texas - The Republic
    Posts
    27
    Plugin Contributions
    0

    Default Re: Image Titles Support Thread

    Can't find the edit button, maybe too much time has elapsed?

    Any way, I got it fixed, the last line that ends

    '<a>');

    should be changed to

    '<a>'));

    Great MOD, thanks for your work.

    Jim

  5. #5
    Join Date
    Feb 2010
    Location
    Texas - The Republic
    Posts
    27
    Plugin Contributions
    0

    Default Re: Image Titles Support Thread

    Can't find the edit button, maybe too much time has elapsed?

    Any way, I got it fixed, the last line that ends

    '<a>');

    should be changed to

    '<a>'));

    Great MOD, thanks for your work.

    Jim

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

    Default Re: Image Titles Support Thread

    Thanks for that bugfix. I have updated the zip and will post it here for a bit more testing. When I am sure it is all good, I will update the mod, and delete this when it is available in Free Addons.
    Last edited by gjh42; 4 Oct 2010 at 03:03 PM.

  7. #7
    Join Date
    Feb 2010
    Location
    Texas - The Republic
    Posts
    27
    Plugin Contributions
    0

    Default Re: Image Titles Support Thread

    I forgot to mention, I was so pleased to get it working, what may be another problem.

    I have the boxes featured products, specials, etc turned off.

    When I uploaded all files, even after it was working I got an error referring to left and right .php and special/featured.php, I just deleted them from my file structure as the help file said I could and all was well.

    But you might want to check it and maybe have the file check to see if that box is turned on or not, or state in the help file not to upload those files if the related boxes are turned off.

    Again Thanks
    Jim

    PS If you have nothing to do (Ha fat chance huh) do you know of a way to solve my ? in this thread >
    https://www.zen-cart.com/forum/showt...966#post891966
    No harm no foul if you don't have time.

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

    Default Re: Image Titles Support Thread

    Thanks for the note. If there is an error message, it needs to be fixed rather than turned off. I'll check those other files for the same kind of bug if relevant, and will be setting up a new test site soon so I can test things myself again.

 

 

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