Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2006
    Posts
    698
    Plugin Contributions
    0

    Default Editing define_main_page corrupts home page?

    ver 1.3.8a
    web site www.cvtreasures.com

    I just added some text to my home page via the define pages editor. The result was my home page code is now corrupted.

    I don;t understand how editng this file results in the home page corrupted. The only code in this file is for test and youtube video. There was never any code here to begin with so what could have been corrupted? Apparently, there was another file that was corrupted ??

  2. #2
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,145
    Plugin Contributions
    0

    Default Re: Editing define_main_page corrupts home page?

    The original define_main_page.php contains:

    Code:
    <p><strong>Main Page Sample Text ...</strong></p>
    <p>This section of text is from the Define Pages Editor located under Tools in the Admin.</p>
    <p>To remove this section of the text, delete it from the Define Pages Editor.</p>
    and is used to build part of the main page of the site, so if the contents are corrupt or invalid, it will effect the contents of the main page.

    If you look at the Holzheimer's site in my sig, the portion of the main page that comes from define_main_page.php begins with:

    Code:
    <br>
    <br>
    <b>
    <center>* * * * * * * * * * * * * * * *</center>
    </b>
    <br>
    Although our selection of merchandise changes frequently, we
    make every effort to fill your order completely.
    <br>
    <br>
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  3. #3
    Join Date
    Jun 2006
    Posts
    698
    Plugin Contributions
    0

    Default Re: Editing define_main_page corrupts home page?

    As I was downstairs thinking about this it dawned on me that the existing code , even though just for text, may be corrupt and hence, the culprit for affecting the entire home page.

    Then I checked my email and see you beat me to it. Thanks!

  4. #4
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,145
    Plugin Contributions
    0

    Default Re: Editing define_main_page corrupts home page?

    I find that sometimes just typing the post brings the problem into focus and makes the answer easier to find. Several times, I've stopped in the middle of posting because the answer came to me. Glad you were able to get it sorted.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

 

 

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. While editing define_main_page.php
    By JannyM in forum Customization from the Admin
    Replies: 2
    Last Post: 9 May 2009, 06:33 PM
  3. Problems after editing metatags on home page
    By ashton0603 in forum Basic Configuration
    Replies: 3
    Last Post: 6 Apr 2008, 10:29 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
  •