Ok i messed it up

Started by brentpit on 4 May 2012, 1:15 AM · Views: 676

Results 1 to 8 of 8
4 May 2012, 1:15 AM
#1
brentpit avatar

brentpit

New Zenner

Join Date:
May 2012
Posts:
11
Plugin Contributions:
0

Ok i messed it up

I tried to replace the text on the first page index.php with:

} elseif ($category_depth == 'top') {
// This section deals with the "home" page at the top level with no options/products selected
/Replace this text with the headline you would like for your shop. For example: 'Welcome to My SHOP!'/
define('HEADING_TITLE','Welcome to Outdoor Freedom online store');
} elseif ($category_depth == 'nested') {
// This section deals with displaying a subcategory
/Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'/
define('HEADING_TITLE','Welcome to Outdoor Freedom online store'.');
}
?>

Now i have a blank white page..PLEASE HELP!!!!:frusty:

4 May 2012, 1:19 AM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: Ok i messed it up

Simple just grab a fresh copy from the file you downloaded for Zen 1.5 ..

And start over ...

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

4 May 2012, 1:32 AM
#3
brentpit avatar

brentpit

New Zenner

Join Date:
May 2012
Posts:
11
Plugin Contributions:
0

Re: Ok i messed it up

Thanks your a lifesaver

4 May 2012, 1:36 AM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: Ok i messed it up

Your welcome ...
Explain what you are trying to do to this page please ..

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

4 May 2012, 1:38 AM
#5
brentpit avatar

brentpit

New Zenner

Join Date:
May 2012
Posts:
11
Plugin Contributions:
0

Re: Ok i messed it up

I was just trying to change the congrats welcome to zencart message. I tried it again and it worked not sure what I did wrong the first time. Thanks again

4 May 2012, 1:56 AM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,189
Plugin Contributions:
0

Re: Ok i messed it up

Ty for posting your solution that your up and running ...

Good luck on your site ..

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

4 May 2012, 6:39 AM
#7
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Re: Ok i messed it up

brentpit

You shouldn't be hacking into code to change text. There is editable text in the includes languages folder.


Play with it long enough and you will break it.
4 May 2012, 11:58 AM
#8
afo avatar

afo

Totally Zenned

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

Re: Ok i messed it up

I see your mistake which caused the blank page. Remove the characters in red.

} elseif ($category_depth == 'top') {
 // This section deals with the "home" page at the top level with no options/products selected
 /*Replace this text with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
 define('HEADING_TITLE','Welcome to Outdoor Freedom online store');
 } elseif ($category_depth == 'nested') {
 // This section deals with displaying a subcategory
 /*Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
 define('HEADING_TITLE','Welcome to Outdoor Freedom online store'.'); 
}
 ?>

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