Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2010
    Location
    Gilbert, AZ
    Posts
    43
    Plugin Contributions
    0

    Default Wanted: Missing Home page content

    Zen-Cart Version 1.5.4
    Module Addon's: Cross Sell (X-Sell), Product with Attributes Stock (aka SBA) - I think that is all but it has been a while since this was set up so I'm not sure.

    Problem is that the website should look like ---> Click image for larger version. 

Name:	Before.jpg 
Views:	102 
Size:	67.8 KB 
ID:	16363





    and now it looks like this ---> Click image for larger version. 

Name:	Now.jpg 
Views:	81 
Size:	42.3 KB 
ID:	16364

    So here is the thing. I helped my wife set this website up but she maintains it. It is still functional (kind of) but missing all the cool stuff in the middle of the page and on the right hand side like Center Catagories, Manufacturers (right) Shopping Cart, Bestsellers, Sponsors - I need to change that should be manufacturers. I have check the settings Config > Show SubCategories on Main Page while Navigating = 1
    Config > Layout Settings > Always Show on Main Page = 1

    Here is a link to how it looked if you want the full screen experience. https://web.archive.org/web/20160115...letespray.com/

    Now = http://www.completespray.com

    I'm not sure what she was trying to update but I know she had FileZilla open and the control panel so I suspect she may have deleted or mangled a file. The problem is that I don't know which file would cause that kind of havoc on my main page only so I can replace it or check it for errors.

    oh..and she didn't make any back ups prior to playing with things and since this project is several years old I don't have them either due to a PC crash

    Any ideas?

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Wanted: Missing Home page content

    Actually, the image is there it is just really small
    I suspect that this is defined in your main_page.php file accessible from your admin > tools > define page editor

    Backup first
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: Wanted: Missing Home page content

    On the left hand side (left column just above 'Categories') there is a tiny image which resembles what you used to have previously.

    It is shown as a banner in the source:

    Code:
    <div id="headerpic">
    <div id="bannerTwo" class="banners"><img src="images/Complete Rotating Banner.gif" alt="Complete Spray Systems" title=" Complete Spray Systems " width="38" height="10" /></div>
    </div>
    Try and increase the size of that image - currently width="38" height="10"
    Last edited by frank18; 27 May 2016 at 11:50 AM.

  4. #4
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

    Default Re: Wanted: Missing Home page content

    The other thing I found when sending the page through the html validator after reviewing the page's source code is that there is a <script tag that is not properly closed... all of the footer and right side information is being pushed to the browser but it can not be properly parsed because of the broken validation.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Jan 2010
    Location
    Gilbert, AZ
    Posts
    43
    Plugin Contributions
    0

    Default Re: Wanted: Missing Home page content

    Thank you everyone for your help! So after looking into it I finally got smart and decided to do a check on the server for files modified around the date the problem started. After carefully looking at those files I discovered that there were 2 issues causing my problems.

    /public_html/images > My banner file had been reduced in size to way too small in error. This was part of an effort to reduce some photo sizes for quicker page load.

    More importantly /public_html/includes/languages/English/html_includes/mytemplate > define_main_page.php was modified. Replaced with the classic template file and all my footer and side boxes returned to normal. Not sure where the error was in the define_main_page.php file I'm sure something was not closed correctly but I didn't see anything so it seemed easier to start over and then adjust the wording back to where I wanted it.

    I really appreciate everyone's help which pointed me in the right direction and helped to kick start my brain :)

    I hope this will be helpful to someone else at some point.

  6. #6
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: Wanted: Missing Home page content

    Quote Originally Posted by completespray View Post
    Thank you everyone for your help! So after looking into it I finally got smart and decided to do a check on the server for files modified around the date the problem started. After carefully looking at those files I discovered that there were 2 issues causing my problems.

    /public_html/images > My banner file had been reduced in size to way too small in error. This was part of an effort to reduce some photo sizes for quicker page load.

    More importantly /public_html/includes/languages/English/html_includes/mytemplate > define_main_page.php was modified. Replaced with the classic template file and all my footer and side boxes returned to normal. Not sure where the error was in the define_main_page.php file I'm sure something was not closed correctly but I didn't see anything so it seemed easier to start over and then adjust the wording back to where I wanted it.

    I really appreciate everyone's help which pointed me in the right direction and helped to kick start my brain :)

    I hope this will be helpful to someone else at some point.
    Thanks for letting us know that this now fixed and working for you. Just one thing: you should replace the image with the original so it does not get distorted when the image is automatically resized.
    Last edited by frank18; 30 May 2016 at 11:45 PM.

 

 

Similar Threads

  1. Home page - no content displaying
    By pixelengine in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 Oct 2010, 08:30 AM
  2. No content in my home page!
    By Jdcolfashion in forum General Questions
    Replies: 1
    Last Post: 2 Jul 2010, 10:12 AM
  3. Home page content - not showing in Define Page Editor.
    By linda408 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 12 Oct 2009, 12:14 AM
  4. Home page content always displaying?
    By abidan in forum Basic Configuration
    Replies: 10
    Last Post: 26 Aug 2009, 10:47 AM
  5. Changing home page content
    By isaacr25 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 25 Sep 2008, 02:44 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