Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2008
    Location
    Southern California
    Posts
    12
    Plugin Contributions
    0

    Default While editing define_main_page.php

    My url of my problem is on my main page http://www.pionusparrot.com/catalog - all sideboxes and new product of the month box is all down below where it should not be. Scroll clear down to the bottom of the page to see what all is not where it should be. I'm using the template that came with ZenCart.

    Here is what I did... which was a mistake and I did not save a back up of that page. Prior to this happening I had placed an image to be up at the top of the define main page which would be right below where it says Hello Guest... there is a blank space between the top of the image and where it says: 'Hello Guest! Would you like to register or log yourself in?' so I was trying to get rid of the space and I had previously had a table with info in it which I deleted out but while using the define page editor looking at the html source on the define_main_page.php I had saw what looked to be html that had showed something to look like table html so in thinking that was from my previous table layout, I deleted it out and saved it. After doing this, all the sideboxes on the right and the box for new products of the month are ALL out of the main area.

    So I had only removed like 3 or 4 lines of html code up at the top while in the editor for the define_main_page.php and looking at my other define pages I do not see that code that was there on the main page. Like a dummy, I should have cut out the code then I could have pasted it back in had it not been right but I did not do that ... Can someone please help me on this?
    Jan

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: While editing define_main_page.php

    I've read through your post several times now, and had a look at your site... and I still have no idea what you are asking us to help you with.

    Could you be a little more specific about the "problem"? If you have deleted main_page stuff, then simply cerate it again on a "blank canvas" in the define_main_page editor.

    Looking at your page source for that section, I see:

    HTML Code:
    <font color="#990000">
    <strong><font color="#ff0000" size="4">
    <font color="#006633" size="5">
    <font color="#ff0000" size="4">
    <font face="georgia,times new roman,times,serif">
    </font>
    </font>
    </font>
    </font>
    </strong>
    </font>
    </em />
    </font />
    <p />
    <p />
    <p align="center" />
    <p align="center">
    <font color="#990000">
    <strong>
    <font color="#ff0000" size="4">
    <font color="#006633" size="5">
    <font color="#ff0000" size="4">
    <font face="georgia,times new roman,times,serif">
    <a href="http://www.pionusparrot.com/catalog/index.php?main_page=page&id=12">
    </a>
    </font>
    </font>
    </font>
    </font>
    </strong>
    </font>
    </p>
    <div href="http://www.pionusparrot.com/catalog/index.php?main_page=discount_coupon"><a href="http://www.pionusparrot.com/catalog/index.php?main_page=discount_coupon"><img alt="Happy Mother's Day!" hspace="0" src="http://www.pionusparrot.com/images/MomsDay09.gif" align="textTop" border="0" /></a></a /></div><p><font face="georgia,times new roman,times,serif" color="#006600"></font></p><p><font face="georgia,times new roman,times,serif" color="#006600">Sorry but our page is out of wack so we will get it all aligned up soon!<br /></font><div></div><p align="center"><font size="1">Page Updated: 5/8/09<br />© 2009 Pionus Parrot</font></p><p /><p style="DIRECTION: ltr" align="center"><br /></p><p /><p /><p align="center"><font color="#0000ff" size="4"></font></p><p align="center"><font color="#0000ff" size="4">We have now transitioned into having two online stores, our &quot;Jolly Balls &amp; More!&quot; site is now at this link ... </font><a href="http://www.pionusparrot.com/shop"><font color="#0000ff" size="4">www.pionusparrot.com/shop</font></a></p><p></td /></p><p></tr /></tbody /></table /></p><p /><p /><p align="center"><a href="http://www.pionusparrot.com/catalog/index.php?main_page=page&id=12"></a></p></font /></font /></font /></strong /><p align="left"><table style="WIDTH: 600px" cellspacing="4" cellpadding="4" border="0"><tbody><tr><td><p align="left"><font face="courier new,courier,monospace" size="4">We have made some changes here on our site for the bird toy/toy parts area. We no longer are selling &quot;Toy Parts&quot; on this site. We will have mainly Bird Toys, Food, Books and a few other items here on this site. Our &quot;Jolly Ball Fun Ball&quot;  has Jolly Balls plus toy parts and a few otehr toys that are not on this site please use this link ... </font><a href="http://www.pionusparrot.com/shop">www.pionusparrot.com/shop</a></p></td></tr></tbody></table></p></td /></tr /></tbody /></table /></font /></font /></strong /></font /></p></div>
    ... so I am not surprised that what ends up in the browser is a bit of a mess!

    Just re-create your home page stuff in a "clean" editor window of define_main_page.php
    20 years a Zencart User

  3. #3
    Join Date
    Jul 2008
    Location
    Southern California
    Posts
    12
    Plugin Contributions
    0

    Default Re: While editing define_main_page.php

    Okay, what a simple fix that is! I did what you suggested and it is back to normal! YAY! Now I just have to place back in my info I had on it. I had tried to explain it the best way but anyway, you hit it right on target! Thanks so much schoolboy!
    Jan

 

 

Similar Threads

  1. editing define_main_page
    By peterapo in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 10 Jun 2010, 07:37 PM
  2. Error while editing products
    By skatzauto in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 16 Dec 2009, 11:48 AM
  3. Timing Out While Editing?
    By ilsita in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Nov 2009, 09:07 PM
  4. Editing define_main_page corrupts home page?
    By kevinmc3 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 11 May 2009, 01:35 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