Page 2 of 7 FirstFirst 1234 ... LastLast
Results 11 to 20 of 62
  1. #11
    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

  2. #12

    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

  3. #13

    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

  4. #14
    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

  5. #15

    Default Re: Updating Mod for 150 - Little Problem

    Quote Originally Posted by nigelt74 View Post
    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
    You're right...I was in the process of adding/naming that directory when my grandson climbed in to my lap so the "S" never got added. Thanks for catching it!
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

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

    Default Re: Updating Mod for 150 - Little Problem

    hmmm

    just noticed in your error message

    includes/modules/FILENAME_RECENT_PRODUCTS_MODULE.php
    Thats not the name of a file is it, doesn't that mean a define or something is incorrect?
    Webzings Design
    Semi retired from Web Design

  7. #17

    Default Re: Updating Mod for 150 - Little Problem

    Quote Originally Posted by nigelt74 View Post
    hmmm

    just noticed in your error message

    PHP Code:
    includes/modules/FILENAME_RECENT_PRODUCTS_MODULE.php
    Thats not the name of a file is it, doesn't that mean a define or something is incorrect?

    Wow, that's really obvious...can't believe I missed it! Thanks! I made the correction to the file and will test tomorrow and post results back here.

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

    Empowerment Sanctuary

  8. #18

    Default Re: Updating Mod for 150 - Little Problem

    Changed includes/modules/FILENAME_RECENT_PRODUCTS_MODULE.php

    to

    includes/modules/FILENAME_RECENT_PRODUCTS.php



    Changed line 12 of /includes/templates/atestcustom/templates/tpl_modules_recent_products.php from

    PHP Code:
    include(DIR_WS_MODULES zen_get_module_directory(FILENAME_RECENT_PRODUCTS_MODULE)); 
    to

    PHP Code:
    include(DIR_WS_MODULES zen_get_module_directory(FILENAME_RECENT_PRODUCTS)); 

    Same result:
    • Centerbox won't display
    • Same error being thrown
    • Sidebox displays as expected
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

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

    Default Re: Updating Mod for 150 - Little Problem

    If either FILENAME_RECENT_PRODUCTS_MODULE or FILENAME_RECENT_PRODUCTS is defined somewhere, the uppercase will be replaced by its defined value when used... so it appears you are missing a define.

  10. #20

    Default Re: Updating Mod for 150 - Little Problem

    Ok...here's where I get lost because I'm not a coder.....but shouldn't defines be in the language file? Or can they be anywhere? Perhaps the missing define should be on line 12 of the file mentioned in the error?

    And..how do I go about writing a define statement? Can I just google that?
    Last edited by ScriptJunkie; 2 Apr 2012 at 04:50 PM. Reason: responding to gjh2
    Go that extra mile, you never know what's at the end of the road

    Empowerment Sanctuary

 

 
Page 2 of 7 FirstFirst 1234 ... LastLast

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

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