Results 1 to 10 of 62

Hybrid View

  1. #1

    Default Re: Updating Mod for 150 - Little Problem

    Quote Originally Posted by nigelt74 View Post
    Umm that seems to be working fine on my test site, working exactly as it should the images in the sidebox are exactly the size they should be.

    And there don't appear to be any errors being generated at all
    Hmmm....I don't understand that because I just took a look again in FF, IE, Chrome, and Opera. Got the same results each time (huge blown up images in the recently viewed sidebox) in all browsers and four new error logs in the cache.

    I'm going to try reinstalling and see what happens.
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

  2. #2
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Updating Mod for 150 - Little Problem

    Yeah, i am currently updating an old test shop thats online from 1.39 to 1.5 to double check it.

    It worked beautifully on my local server, however Image handler was installed, although i tested it with IH4 turned on and turned off, i just want to eliminate that having an effect.

    ----------------- Edit

    I didn't install the optional file, i might just try that and see f it has an effect
    Last edited by nigelt74; 2 Apr 2012 at 03:58 AM.
    Webzings Design
    Semi retired from Web Design

  3. #3

    Default Re: Updating Mod for 150 - Little Problem

    Quote Originally Posted by nigelt74 View Post
    Yeah, i am currently updating an old test shop thats online from 1.39 to 1.5 to double check it.

    It worked beautifully on my local server, however Image handler was installed, although i tested it with IH4 turned on and turned off, i just want to eliminate that having an effect.

    ----------------- Edit

    I didn't install the optional file, i might just try that and see f it has an effect
    Did a complete uninstall (including db files) and then a reinstall. Same results (huge image file, same error log in cache).

    I also tried both with and without the optional file, no change in results.

    Also though about IH's influence, as did you...but ruled out that IH "makes" it work because I recall having this mod installed on both a 138 and a 139 (updated from 138) installation long before I discovered and installed IH.

    The difference between this 150 install and my 139 install (besides the ZC version difference)...is that the 150 is a fresh vanilla install whereas the 139 is an update of a 138.
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

  4. #4

    Default Re: Updating Mod for 150 - Little Problem

    I took a look at the pre-updated fileset for this mod and compared it against the old original I had tucked away in my 138 mod files.

    Turns out the reason the mod worked on my 138 and 139 store is because it's a completely different mod.

    The mod I had installed on my old stores is "Recently Viewed Sidebox" and the mod I downloaded to update to ZC150 is "Recently Viewed Items".

    Further, "Recently Viewed Sidebox is SO old that it's not even available in the download section anymore - it doesn't even have a readme or comments in the files so I have no clue who wrote it. From the comments, I can see that whoever wrote it based it on the Best Sellers Sidebox mod...but other than that, it's a mystery.

    Anyway...before either of us spend anymore time trying to solve the "Recently Viewed Item" mod...I'm going to give the "Recently Viewed Sidebox" mod a whirl on the 150 installation, even though it's really old, and see what happens.
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

  5. #5
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Updating Mod for 150 - Little Problem

    Ok it failed miserably on my second test shop

    SO
    Try this, it works for me

    zen_image(DIR_WS_IMAGES . $recent_products->fields['products_image'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT)
    becomes

    zen_image(DIR_WS_IMAGES . $recent_products->fields['products_image'], $recent_products->fields['products_name'],SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT)
    The solution in my first post regarding a null field also works, but this one is reader friendly by filling the alt and title tags
    Webzings Design
    Semi retired from Web Design

  6. #6
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Updating Mod for 150 - Little Problem

    You should see it working here

    grumpykiwi.com/

    once you have browsed a few products obviously (embarrasingly i forgot to do that originally)
    Webzings Design
    Semi retired from Web Design

  7. #7

    Default Re: Updating Mod for 150 - Little Problem

    Great, will give that a try in just a moment and get back to you :)

    Thanks!


    Ok it failed miserably on my second test shop

    SO
    Try this, it works for me

    PHP Code:
    zen_image(DIR_WS_IMAGES $recent_products->fields['products_image'], SMALL_IMAGE_WIDTHSMALL_IMAGE_HEIGHT
    becomes


    PHP Code:
    zen_image(DIR_WS_IMAGES $recent_products->fields['products_image'], $recent_products->fields['products_name'],SMALL_IMAGE_WIDTHSMALL_IMAGE_HEIGHT
    The solution in my first post regarding a null field also works, but this one is reader friendly by filling the alt and title tags

    Nigel
    Webzings Design
    The last couple of Zen-Cart sites we have worked on, Darncat Designs, Sweet Brucies
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

  8. #8

    Default Re: Updating Mod for 150 - Little Problem

    Ok...here's where we're at....

    Recently Viewed SIDEBOX mod works perfectly in ZC150
    Recently Viewed ITEMS also works in ZC150, insofar as the sidebox is concerned...and that is thanks to the change in code that you posted.


    However, the difference in functionality between these two mods is that the Recently Viewed ITEMS mod is supposed to add a centerbox so that users can have recently viewed items in a centerbox beneath the "also purchased" centerbox. That's what the optional file is for.

    That functionality is not working, so at this point, the two mods are essentially the same.

    I'm going to go ahead and submit the Recently Viewed SIDEBOX mod to the downloads section (after I write a readme for it).

    If I can get the Recently Viewed ITEMS mod to display the centerbox, then I will submit that one too...so folks will have a choice between showing their additional items in a sidebox, a centerbox, or both.

    Thanks so much for your help!!
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

  9. #9
    Join Date
    Sep 2005
    Location
    Waikato, New Zealand
    Posts
    1,539
    Plugin Contributions
    3

    Default Re: Updating Mod for 150 - Little Problem

    Do you know there is a spelling mistake in the optional files?

    the final folder is named template rather than templates

    3. Optional Install File\includes\templates\YOUR_CUSTOM_TEMPLATE\template

    i am fairly sure it should be templates
    Webzings Design
    Semi retired from Web Design

 

 

Similar Threads

  1. v150 Updating GV Admin Edit mod for 1.5?
    By ecclescake in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 9 Mar 2013, 04:25 PM
  2. Checklist for 150 mod upgrades?
    By dw08gm in forum Upgrading to 1.5.x
    Replies: 4
    Last Post: 8 Dec 2011, 03:32 AM
  3. Need expert help updating Optional Insurance Mod for 1.3.8
    By jettrue in forum Upgrading from 1.3.x to 1.3.9
    Replies: 12
    Last Post: 28 Dec 2007, 04:34 PM
  4. Need advice for updating an older shipping by product mod
    By bettysue in forum Addon Shipping Modules
    Replies: 0
    Last Post: 10 Dec 2006, 09:01 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