Forums / Templates, Stylesheets, Page Layout / Editing define_main_page corrupts home page?

Editing define_main_page corrupts home page?

Locked

Views: 949

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
10 May 2009, 2:52 AM
#1
kevinmc3 avatar

kevinmc3

Totally Zenned

Join Date:
Jun 2006
Posts:
786
Plugin Contributions:
0

Editing define_main_page corrupts home page?

ver 1.3.8a
web site https://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 ??

10 May 2009, 3:52 AM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Editing define_main_page corrupts home page?

The original define_main_page.php contains:

<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:

<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

10 May 2009, 4:03 AM
#3
kevinmc3 avatar

kevinmc3

Totally Zenned

Join Date:
Jun 2006
Posts:
786
Plugin Contributions:
0

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!

11 May 2009, 12:35 AM
#4
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

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. :clap:

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