Page 352 of 373 FirstFirst ... 252302342350351352353354362 ... LastLast
Results 3,511 to 3,520 of 3721
  1. #3511
    Join Date
    Nov 2009
    Posts
    285
    Plugin Contributions
    5

    Default Re: Image Display Size Restriction

    Quote Originally Posted by mc12345678 View Post
    Thanks!

  2. #3512
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Image Display Size Restriction

    I need help fixing an issue we are currently experiencing on our site with this mod. We are currently using zen_lightbox-v1.6.4a_1.5. If you go here: http://www.clevershoppers.com/index....ducts_id=13478 you will notice the extra garbage ([EI2915]">) on top of the image. If I disable Zen Lightbox, this garbage goes away and everything works as expected. We are also using image handler on our site and I made sure it was installed before Zen Lightbox since Zen Lightbox also share some files with Image Handler (and supposedly included what's needed by Image Handler). Thanks for help me troubleshoot this problem.
    Last edited by BlessIsaacola; 17 Nov 2013 at 02:41 AM.

  3. #3513
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Image Display Size Restriction

    Quote Originally Posted by BlessIsaacola View Post
    I need help fixing an issue we are currently experiencing on our site with this mod. We are currently using zen_lightbox-v1.6.4a_1.5. If you go here: http://www.clevershoppers.com/index....ducts_id=13478 you will notice the extra garbage ([EI2915]">) on top of the image. If I disable Zen Lightbox, this garbage goes away and everything works as expected. We are also using image handler on our site and I made sure it was installed before Zen Lightbox since Zen Lightbox also share some files with Image Handler (and supposedly included what's needed by Image Handler). Thanks for help me troubleshoot this problem.
    I know I had this same problem and it has to do with the model number---that is the garbage you see

    I am looking thru my files to find the fix which was somewhere in this forum..several months ago.

    forgot to mention that I think it has nothing to do with lightbox or IH either

  4. #3514
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Image Display Size Restriction

    Quote Originally Posted by DarkAngel View Post
    I know I had this same problem and it has to do with the model number---that is the garbage you see

    I am looking thru my files to find the fix which was somewhere in this forum..several months ago.

    forgot to mention that I think it has nothing to do with lightbox or IH either
    Thanks for your prompt response. If you find your solution please let me know. I will continue to dig through this thread to see if I find it. The fact that the problem goes away when I disable Zen Lightbox makes me to think it they are somewhat related but perhaps not.

  5. #3515
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Image Display Size Restriction

    still looking, I usually write down what I find as a "fix" to problems for later looking at but had a slight computer outage not long ago and can find it quickly right nw...

    but if I recall it was brought up here or in the IH3 thread and it was found that it was not them but a main file....but as I said that was a couple of months ago and I can't remember/

    will be back

  6. #3516
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Image Display Size Restriction

    I think this is it:

    mainly because if you notice it is ONLY in the reviews to read area:

    To fix this in the *includes/modules/pages/product_reviews/header_php.php* file




    FIND:
    ---------
    if (zen_not_null($review->fields['products_model'])) {
    $products_name = $review->fields['products_name'] . '<br /><span class="smallText">[' . $review->fields['products_model'] . ']</span>';
    } else {
    $products_name = $review->fields['products_name'];
    }
    ---------


    REPLACE WITH THIS:
    ---------

    if (zen_not_null($review->fields['products_model'])) {
    $products_name = $review->fields['products_name'] . '<br /><span class="smallText">[' . $review->fields']</span>';
    } else {
    $products_name = $review->fields['products_name'];
    }
    }
    ---------

    hope it works

  7. #3517
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Image Display Size Restriction

    Quote Originally Posted by DarkAngel View Post
    I think this is it:

    mainly because if you notice it is ONLY in the reviews to read area:

    To fix this in the *includes/modules/pages/product_reviews/header_php.php* file




    FIND:
    ---------
    if (zen_not_null($review->fields['products_model'])) {
    $products_name = $review->fields['products_name'] . '<br /><span class="smallText">[' . $review->fields['products_model'] . ']</span>';
    } else {
    $products_name = $review->fields['products_name'];
    }
    ---------


    REPLACE WITH THIS:
    ---------

    if (zen_not_null($review->fields['products_model'])) {
    $products_name = $review->fields['products_name'] . '<br /><span class="smallText">[' . $review->fields']</span>';
    } else {
    $products_name = $review->fields['products_name'];
    }
    }
    ---------

    hope it works
    Thanks for the post. That did not work. I got a blank page with the following error in the log:
    [16-Nov-2013 22:05:16 America/New_York] PHP Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /includes/modules/pages/product_reviews/header_php.php on line 43

  8. #3518
    Join Date
    Oct 2007
    Location
    Emporia, Kansas
    Posts
    1,762
    Plugin Contributions
    0

    Default Re: Image Display Size Restriction

    try leaving out the very last }

    I may have added in an extra one...and make sure you do not remove anything other than what it needs removed

    <span class="smallText">[' . $review->fields['products_model'] . ']</span>'; < --- this is the culprit

    <span class="smallText">[' . $review->fields']</span>'; <---should look like this so remove the text in red

  9. #3519
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Image Display Size Restriction

    Quote Originally Posted by BlessIsaacola View Post
    I need help fixing an issue we are currently experiencing on our site with this mod. We are currently using zen_lightbox-v1.6.4a_1.5. If you go here: http://www.clevershoppers.com/index....ducts_id=13478 you will notice the extra garbage ([EI2915]">) on top of the image. If I disable Zen Lightbox, this garbage goes away and everything works as expected. We are also using image handler on our site and I made sure it was installed before Zen Lightbox since Zen Lightbox also share some files with Image Handler (and supposedly included what's needed by Image Handler). Thanks for help me troubleshoot this problem.
    the includes/modules/pages/product_reviews/header_php.php file uses different code to display the product name and model number than the includes/modules/pages/product_reviews_write/header_php.php file. It would appear that the activation of the Zen Lightbox or Zen Colorbox add-ons simply made it easier to spot this difference.
    It's not really an issue with this mod.. It's a minor Zen Cart core code issue that is ILLUMINATED when this mod is activated.. It has been marked as being fixed in v1.6. Solution is in the post below:

    http://www.zen-cart.com/showthread.p...number-display
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  10. #3520
    Join Date
    Feb 2004
    Location
    Georgia, USA
    Posts
    1,948
    Plugin Contributions
    0

    Default Re: Image Display Size Restriction

    Quote Originally Posted by DarkAngel View Post
    try leaving out the very last }

    I may have added in an extra one...and make sure you do not remove anything other than what it needs removed

    <span class="smallText">[' . $review->fields['products_model'] . ']</span>'; < --- this is the culprit

    <span class="smallText">[' . $review->fields']</span>'; <---should look like this so remove the text in red
    Thanks! Since basically, we are removing the product_model I tried this which works:
    PHP Code:
    //  if (zen_not_null($review->fields['products_model'])) {
    //    $products_name = $review->fields['products_name'] . '<br /><span class="smallText">[' . $review->fields['products_model'] . ']</span>';
    //  } else {
        
    $products_name $review->fields['products_name'];
    //  } 
    The section of the code above is simply saying, if product_model exist use it and if not, use product name. Since the product_model on the review page is causing issue right now, I basically changed it to just show product name without the product model. It solves the problem I am currently experiencing but hope it didn't create something else but I am not seeing any error in the log at the moment.

    Thank you so much for your assistance. You're a GOODAngel

 

 

Similar Threads

  1. Free Shipping Rules addon [Support Thread]
    By numinix in forum Addon Shipping Modules
    Replies: 36
    Last Post: 2 Dec 2016, 01:56 PM
  2. v151 Reviews Reply addon [Support Thread]
    By mikestaps in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 17 Oct 2014, 01:29 AM
  3. Jquery Lightbox [Support thread]
    By yellow1912 in forum All Other Contributions/Addons
    Replies: 257
    Last Post: 2 Aug 2012, 10:57 PM
  4. File Upload Required addon [Support Thread]
    By 1100101 in forum All Other Contributions/Addons
    Replies: 21
    Last Post: 10 Dec 2011, 03:00 AM
  5. [Support Thread] IE only JavaScripts and Stylesheets Addon
    By Meshach in forum All Other Contributions/Addons
    Replies: 16
    Last Post: 31 May 2011, 08:18 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR