Results 1 to 5 of 5
  1. #1
    Join Date
    May 2011
    Location
    Tennessee
    Posts
    377
    Plugin Contributions
    0

    Default Out of the box Responsive Default front page Sponsor box displays address informatio

    Out of the box v157 using Responsive template displays company address information in the Sponsor Box. Upgraded from 1.5.6c
    Name:  Annotation 2020-07-05 161318.jpg
Views: 186
Size:  24.7 KB

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Out of the box Responsive Default front page Sponsor box displays address informa

    Have you customized tpl_banner_box.php or tpl_banner_box_all.php in such a way that the $content variable is no longer set in them?
    .

    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.

  3. #3
    Join Date
    May 2011
    Location
    Tennessee
    Posts
    377
    Plugin Contributions
    0

    Default Re: Out of the box Responsive Default front page Sponsor box displays address informa

    No i have not customized any code. I have only downloaded one plugin to clone the templates for my template. I tried the Green Classic and the Responsive Classic and the problem is in all templates.

  4. #4
    Join Date
    May 2011
    Location
    Tennessee
    Posts
    377
    Plugin Contributions
    0

    Default Re: Out of the box Responsive Default front page Sponsor box displays address informa

    tpl_banner_box.php and tpl_banner_box_all.php are not contained in the responsive_classic.php template. DO you have any other ideas?

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

    Default Re: Out of the box Responsive Default front page Sponsor box displays address informa

    Like all other sidebox templates, they call a module which generates output which it stores in the $content variable, and then the template outputs that $content in the spot where the sidebox displays.

    If the module or template files have been altered such that $content is not set to something new then it might be outputting something it had previously. Or the alterations might actually be intentionally outputting that $content. Or the alterations in those files might be calling other files that are resetting $content to be the address info.
    Best way to track down all the changes is to compare your files against original Zen Cart files, and all your current template files against a reliable original (eg: one that comes with Zen Cart, not one that's been heavily customized), and all overrides files against the originals they're overriding.

    Another way to explore, especially since you said this happens "out of the box" (but then you imported an old store, so it's no longer out-of-the-box), is to set up a brand new store and NOT import anything, but instead manually configure the store as you want it to be. Then you'll be able to find out what change is actually causing the problem ... whether it's a change in settings, or a customization you make to a file, etc.
    The added benefit of this approach is that if you do find an actual bug you'll be able to describe clearly how to recreate the bug, which then allows the developers to offer a fix very quickly. In the absence of clear steps that the developer can use to reproduce the problem it's very difficult to guess what's causing your symptom, let alone fix it.
    .

    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.

 

 

Similar Threads

  1. v151 Changing 'sponsor' box/other box titles...
    By Sellerz in forum Customization from the Admin
    Replies: 1
    Last Post: 16 Nov 2012, 05:41 AM
  2. Replies: 3
    Last Post: 30 Dec 2009, 05:15 PM
  3. News Box on the Central Column of Front Page
    By hungoveragain in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 6 Sep 2009, 11:29 PM
  4. Adding a 'box' to the front page
    By jamina1 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 25 Jul 2007, 04:28 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