Zen Cart Logo
Forums / General Questions / Stupid question about editing welcome text on main page

Stupid question about editing welcome text on main page

Locked

Views: 1,366

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
15 Jan 2009, 4:01 PM
#1
musicfreer avatar

musicfreer

Zen Follower

Join Date:
Jul 2008
Posts:
155
Plugin Contributions:
0

Stupid question about editing welcome text on main page

http://www.locomolife.com/store/
As you can see from the site, I have added a message
"THIS IS A DEMO SITE ONLY. NO REAL SALES CURRENTLY."

The site is now ready and I want to delete the message. However I forgot where I input the text! :bangin:

It is not even in the /includes/languages/english/TEMPLATE/index.php

any idea where I can edit it? thanks a ton!

15 Jan 2009, 4:04 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Stupid question about editing welcome text on main page

ADMIN>>>TOOLS>>>DEVELOPER TOOL KIT

Scroll down to last input field.

insert: THIS IS A DEMO SITE ONLY

Select CATALOGUE from next dropdown

Click button

If this is in a language or php file, the location will show.

If it is in a Defined Page, it won't show here, but then use the define pages editor to find it.

Unlikely to be in the dbase, but if the two options above fail, search for it using phpMyAdmin.

PS, you have to make sure that string is 100% correct, to do the search.

15 Jan 2009, 4:19 PM
#3
musicfreer avatar

musicfreer

Zen Follower

Join Date:
Jul 2008
Posts:
155
Plugin Contributions:
0

Re: Stupid question about editing welcome text on main page

schoolboy:

ADMIN>>>TOOLS>>>DEVELOPER TOOL KIT

Scroll down to last input field.

insert: THIS IS A DEMO SITE ONLY

Select CATALOGUE from next dropdown

Click button

If this is in a language or php file, the location will show.

If it is in a Defined Page, it won't show here, but then use the define pages editor to find it.

Unlikely to be in the dbase, but if the two options above fail, search for it using phpMyAdmin.

PS, you have to make sure that string is 100% correct, to do the search.

Hi schoolboy, thanks for your prompt reply
It works perfectly!!

I don't know why I put it at 'includes/templates/template_default/templates/tpl_index_default.php'
I forgot if I have edited other things on this page, I better copy it to my template to prevert future overide

thanks again!

15 Jan 2009, 4:34 PM
#4
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Stupid question about editing welcome text on main page

Can't tell you how many times I've done an edit to a template_default core file... then opened its counterpart in the override to try find it later.

Every time I do this I have a mild panic attack - did a hacker get in? Why's the thing not here? What the hell's happened... :eek:

Then I remember what I did.