Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18
  1. #11
    Join Date
    Jan 2004
    Posts
    66,374
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Single sideboxes in override folders

    In your first post in this thread you *did* talk about putting stuff into the modules directory, but then in post 6 you said you're not using a module.

    So now I'm not clear whether this is an override issue with the "template" or with the "module".
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  2. #12
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,297
    Plugin Contributions
    22

    Default Re: Single sideboxes in override folders

    actually that's where it is - I'm not using template overrides for this sample site. Everything is in the default_template.
    The full-time Zen Cart Guru. WizTech4ZC.com

  3. #13
    Join Date
    Jan 2004
    Posts
    66,374
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Single sideboxes in override folders

    Okay, I'm confused about what exactly you're doing then.

    I cloned the search_header "sidebox" and made changes to the output so I knew it was firing, and it works perfectly fine when using overrides.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #14
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,297
    Plugin Contributions
    22

    Default Re: Single sideboxes in override folders

    You deleted the one in the modules/sideboxes directory and only have it in the modules/sideboxes/custom_template directory?
    The full-time Zen Cart Guru. WizTech4ZC.com

  5. #15
    Join Date
    Jan 2004
    Posts
    66,374
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Single sideboxes in override folders

    Quote Originally Posted by delia View Post
    You deleted the one in the modules/sideboxes directory and only have it in the modules/sideboxes/custom_template directory?
    Yes, but that also requires making the change I showed earlier: http://www.zen-cart.com/showthread.p...24#post1254424 else the override won't be found.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #16
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,297
    Plugin Contributions
    22

    Default Re: Single sideboxes in override folders

    Okay, I'll try again. I got so tired yesterday that I may just not have done it right.
    The full-time Zen Cart Guru. WizTech4ZC.com

  7. #17
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,297
    Plugin Contributions
    22

    Default Re: Single sideboxes in override folders

    So went to a fresh install of default 1.5. 3

    Changed the header line to
    PHP Code:
    <div id="navMainSearch"><?php require(DIR_WS_MODULES zen_get_module_directory('search_header.php')); ?></div>
    Deleted the search_header.php from modules/sideboxes and placed it in modules/sideboxes/classic instead.

    Does not find the sidebox for search header.
    The full-time Zen Cart Guru. WizTech4ZC.com

  8. #18
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,297
    Plugin Contributions
    22

    Default Re: Single sideboxes in override folders

    The zen_get_module_directory does not look into the modules/sideboxes directory, only the module directory.
    The full-time Zen Cart Guru. WizTech4ZC.com

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v155 Template override folder within folders question
    By oavs in forum General Questions
    Replies: 2
    Last Post: 20 Jul 2016, 12:59 PM
  2. Override folders not showing up in WinMerge
    By WhitePhantom in forum Upgrading to 1.5.x
    Replies: 7
    Last Post: 8 Mar 2012, 04:30 PM
  3. Help, I still don't understand override folders
    By paulclane in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 23 Nov 2011, 09:40 PM
  4. Custom Override Folders
    By beth99 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 9 Nov 2006, 03:12 PM
  5. Location of override folders
    By Sermonzone in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 14 May 2006, 02:17 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