Page 1 of 2 12 LastLast
Results 1 to 10 of 7098

Hybrid View

  1. #1
    kelvyn Guest

    Default Re: Image Handler 2 Support

    Quote Originally Posted by Woodymon
    FIRST BACKUP!
    No overides in admin. So overwrite.
    Same with includes/functions
    Bzzt! Warning!
    html_output not only gets over-written, but it is a core file which several other (I can think of at least 3) plugins modify.

    I've seen certain contribs lately that have renamed copies of the file in the folder, so the cart owner can make the choice to rename and wipe the original, or merge it in.

    (Another reason for full over-rides!)

  2. #2
    Join Date
    Jan 2004
    Posts
    573
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    Hi Tim & others,

    i just noticed that one of the fuctions i used on the previous version of image handler seems to be missing on 2.0

    when added a new product / editing on i no longer have the ability to indicate that the image i am uploading is an additional product - is this functionality removed?

    Thanks,

    Kevin


    >> i can't seem to figure out how to upload an additional image at all
    did i miss a file upload?
    Last edited by sgflowers; 9 Jun 2006 at 04:23 PM.

  3. #3
    Join Date
    Jan 2004
    Posts
    573
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    Quote Originally Posted by sgflowers
    Hi Tim & others,

    i just noticed that one of the fuctions i used on the previous version of image handler seems to be missing on 2.0

    when added a new product / editing on i no longer have the ability to indicate that the image i am uploading is an additional product - is this functionality removed?

    Thanks,

    Kevin


    >> i can't seem to figure out how to upload an additional image at all
    did i miss a file upload?
    so clarify the radio button for upload as an additional image is missing on the product edit screen

    any ideas?

  4. #4
    Join Date
    Jan 2004
    Posts
    573
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    Quote Originally Posted by sgflowers
    so clarify the radio button for upload as an additional image is missing on the product edit screen

    any ideas?
    is this a zencart 1.3 thing i can't figureout why this option isn't showing anymore

  5. #5
    Join Date
    May 2006
    Posts
    8
    Plugin Contributions
    0

    Default Re: Image Handler 2 Support

    Nevermind my above post. I deleted the entire ZC directory on the final site and re-uploaded everything, and now it's working. I'd tried that once before to no avail, but it seemed to work the second time. Silly me.

    Anyhoo, yeah, disregard my above post. Sorry.

    ---Jamin

  6. #6
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Image Handler 2 Support

    Quote Originally Posted by kelvyn
    html_output not only gets over-written, but it is a core file which several other (I can think of at least 3) plugins modify.

    I've seen certain contribs lately that have renamed copies of the file in the folder, so the cart owner can make the choice to rename and wipe the original, or merge it in.

    (Another reason for full over-rides!)
    Off the top-of-your-head which three mods modify html_output.php?

    Yes full overrides is the eventual goal. Until that time...

    BACKUP and always run the files through a compare utility. And when testing mods of course this should not be done on a production shop. Hello. If having troubles with mods working correctly then a good testing method is to NOT include ANY code from other customizations/mods. I recommend creating a clean image of a pre-configured Zen Cart installation (fresh db too) which can be uploaded and quickly updated to test a specific mod. This is best scenario when having issues. Then you can install other needed mods to test if for negative interactions/reactions.

    Yes renaming a file rather than overriding can sometimes be a safeguard but does not work all the time. You do not want to leave non-working files in some directories as that will cause havoc.

    Most folks who ask questions on the mod forums should understand if they have previously installed/uploaded mods or customized their code. And they would know this if following the golden rule of documenting all modifications. Then overwriting (again after backing up) should be a low risk issue.

    But again as a rule I run a compare before over writing.

    I maintain a spreadsheet documenting files uploaded by each contribution or patch I install and document each time I customize a,file including core files. Then I check against this document whenever installing or updating mods or when modifying code, including official Zen Cart patches.

    Would be cool if a "community DB" could be maintained documenting the core files modified by third party mods. Of course checking in changes, keeping it up-to-date and correct could be a daunting mangement task.

    Woody

  7. #7
    kelvyn Guest

    Default Re: Image Handler 2 Support

    Quote Originally Posted by Woodymon
    Off the top-of-your-head which three mods modify html_output.php?Yes full overrides is the eventual goal. Until that time...
    Of the ones I've just installed, and off the top of my head:
    IH2, any of the SEO / SEFU contribs and "ask a product question".

    So in fact, 25% of all the mods I've installed mess with html_output.

    Completely agree with your points, there, too!

  8. #8
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Image Handler 2 Support

    Quote Originally Posted by kelvyn
    Of the ones I've just installed, and off the top of my head:
    IH2, any of the SEO / SEFU contribs and "ask a product question".

    So in fact, 25% of all the mods I've installed mess with html_output.
    I don't see that file gets modified very often in 1.3x. Ask a question (Marge) does not modify html_output. You may be referring to another similarly named mod?

    On one shop I have 25 mods installed and many other customizations. Of these mods IH2 is the only one to modify /includes/functions/html_output.php

    Woody

  9. #9
    kelvyn Guest

    Default Re: Image Handler 2 Support

    Quote Originally Posted by Woodymon
    I don't see that file gets modified very often in 1.3x. Ask a question (Marge) does not modify html_output. You may be referring to another similarly named mod?
    Ask A Question for Zen-Cart v1.3.0
    Created by: Marg Davison marg AT marg-art DOT com
    Code:
    ====[ ALTER FILES ]===================================================================
    
    Open - includes\functions\html_output.php - Add the following to the end before the ?>
    
    /*
     * Output a ASK-A-QUESTION form input field
     */
     function zen_draw_input_field_ask_a_question($name, $value = '', $parameters = '', $type = 'text', $size = '22', 
    
    $reinsert_value = true) {
      $field = '<input type="' . zen_output_string($type) . '" size="' . zen_output_string($size) . '" name="' . 
    
    zen_output_string($name) . '"';
    
      if ( (isset($GLOBALS[$name])) && ($reinsert_value == true) ) {
       $field .= ' value="' . zen_output_string(stripslashes($GLOBALS[$name])) . '"';
      } elseif (zen_not_null($value)) {
       $field .= ' value="' . zen_output_string($value) . '"';
      }
    
      if (zen_not_null($parameters)) $field .= ' ' . $parameters;
    
      $field .= ' />';
    
      return $field;
     }
    Yes, you're right, I must be looking at the OTHER ask a question contrib by the other marge ;)
    Quote Originally Posted by Woodymon
    On one shop I have 25 mods installed and many other customizations. Of these mods IH2 is the only one to modify /includes/functions/html_output.php
    Woody
    I'd be interested to know what you use for your URL rewrites!

  10. #10
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Image Handler 2 Support

    Quote Originally Posted by kelvyn
    Ask A Question for Zen-Cart v1.3.0
    Yes, you're right, I must be looking at the OTHER ask a question contrib by the other marge ;)
    Been running the Ask A Question for 1.30 from same author. The readme says version 1.0 and is dated 04-06-06. Does not mention anything of editing html_output.php. Strange. And I did not see announcment of updated version. This I just re-downloaded ask_a_question_v1.3.0.zip and the mod readme still shows version 1.0. However the template file and the readme in the latest package are indeed diff from my version and readme now suggests editing html_output as you quoted. But no new features are indications the mod was updated is in readme. The previous v1.0 mod I downloaded works fine for me. Thanks for the update. Wonder what is different in the new version and why Marg did not announce anywhere?

    I'd be interested to know what you use for your URL rewrites!
    No URL rewriting implemented. I have quality search rankings/PR's and don't want to mess them up, even if for the short term.[/QUOTE]

    @Tim - Apologies for hijacking the IH2 thread. Moving the Ask A Question discussion to http://www.zen-cart.com/forum/showthread.php?p=206085

    Woody

 

 
Page 1 of 2 12 LastLast

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. 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
  3. Image Handler Support Please
    By nadinesky in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 30 Sep 2013, 03:47 PM
  4. Image handler only covers part of screen
    By shaneburton in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 14 May 2009, 07:15 PM
  5. Is Image Handler the only way to go?
    By wwwursa in forum Installing on a Windows Server
    Replies: 2
    Last Post: 23 Dec 2007, 09:22 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