Results 1 to 10 of 10
  1. #1
    Join Date
    Jun 2005
    Location
    Kelowna, BC Canada
    Posts
    1,075
    Plugin Contributions
    6

    Default Is there a reason I can't override currencies sidebox?

    I'm not new at this. I understand the override system (I think). I'm beating my head against a wall because I see no reason this shouldn't work.

    I have my new files:

    Code:
    /includes/templates/CUSTOM/sideboxes/tpl_currencies.php
    /includes/modules/sideboxes/CUSTOM/currencies.php
    yet they are being ignored. I've confirmed that the system is still looking at /includes/modules/sideboxes/currencies.php instead of the one in CUSTOM.

  2. #2
    Join Date
    Sep 2008
    Location
    WA
    Posts
    555
    Plugin Contributions
    0

    Default Re: Is there a reason I can't override currencies sidebox?

    Wild guess but what are the permissions on your new files

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Is there a reason I can't override currencies sidebox?

    Did you go into the Tools ... Layout Boxes Controller ... and turn on the sidebox for your template?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Jan 2004
    Posts
    66,451
    Plugin Contributions
    81

    Default Re: Is there a reason I can't override currencies sidebox?

    You wrote "CUSTOM". Is that literally the name of the folder of the template you've currently got active? If the foldername of the template you've made active is "classic" or "fred" then it will be looking for "classic" or "fred" as the foldername, not "CUSTOM".

    And then, as Ajeh mentioned, you'll need to enable that sidebox using the layout controller.
    .
    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.

  5. #5
    Join Date
    Jun 2005
    Location
    Kelowna, BC Canada
    Posts
    1,075
    Plugin Contributions
    6

    Default Re: Is there a reason I can't override currencies sidebox?

    I thought about permissions so I made sure everything was 755/644 before I posted.

    Yes, I enabled in admin. I tried left/right and single and both.

    No Dr Byte, it isn't CUSTOM, that just seems to be a convention 'round here for examples so I went with it. I've got modules overridden just fine, as well as another sidebox. I wondered if something was up with currencies in particular. This is my first kick at 1.5.4 so I also wondered if something changed that hasn't been documented.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,451
    Plugin Contributions
    81

    Default Re: Is there a reason I can't override currencies sidebox?

    Quote Originally Posted by s_mack View Post
    I also wondered if something changed that hasn't been documented.
    No, nothing intentionally changed in that area, so nothing to document.
    .
    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.

  7. #7
    Join Date
    Jun 2005
    Location
    Kelowna, BC Canada
    Posts
    1,075
    Plugin Contributions
    6

    Default Re: Is there a reason I can't override currencies sidebox?

    Ok. I can't imagine it is something I did since it is a fresh copy of 1.5.4 with no mods other than within templates.

    Well, almost fresh. It was with an updated-from-139 database. Could that matter?

    Anyway, if nobody has done a test to confirm they can override that particular box then I might suggest you try to make sure you don't have a bug, otherwise don't worry about it. I've just made a backup of the original file and modified rather than overrided.

  8. #8
    Join Date
    Jun 2005
    Location
    Kelowna, BC Canada
    Posts
    1,075
    Plugin Contributions
    6

    Default Re: Is there a reason I can't override currencies sidebox?

    Just started over (yet ANOTHER fresh install) and same thing. Can't override that sidebox.

    Weird thing that I noticed this time that may or may not have been the case last time (probably was) is that in the admin->tools->layout boxes controller the correct overridden path is shown in red for that sidebox. Yet in the front office, it absolutely is not being used. The default one is.

    Weird.

  9. #9
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,546
    Plugin Contributions
    127

    Default Re: Is there a reason I can't override currencies sidebox?

    I could have sworn I did this. I'll give it a shot tonight.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  10. #10
    Join Date
    Jun 2005
    Location
    Kelowna, BC Canada
    Posts
    1,075
    Plugin Contributions
    6

    Default Re: Is there a reason I can't override currencies sidebox?

    Nevermind... I figured it out. It has something to do with my database because I started yet again with a clean DB and it works.

 

 

Similar Threads

  1. v151 FMF: Is there a reason that the configuration setting is not made available?
    By lat9 in forum PayPal Express Checkout support
    Replies: 9
    Last Post: 25 Jun 2021, 08:20 AM
  2. Replies: 3
    Last Post: 29 Sep 2009, 02:22 AM
  3. Is there any reason multiple images wouldn't show up?
    By bugyoutoo in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 4 Mar 2008, 12:02 AM
  4. Is there a reason why shipping weight shows as 0 in shopping cart?
    By ScootaMan in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 7 Dec 2007, 06:44 PM
  5. Is there a reason that also_purchased is dead?
    By s_mack in forum General Questions
    Replies: 6
    Last Post: 20 Sep 2006, 07:31 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