Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Hard coded Contact Us page

Hard coded Contact Us page

Views: 1,312

Results 1 to 5 of 5
23 Nov 2012, 3:19 AM
#1
mudpit avatar

mudpit

New Zenner

Join Date:
Jul 2004
Posts:
10
Plugin Contributions:
0

Hard coded Contact Us page

Hi,

Need some help here. I hard coded address and contact numbers to show up on the Contact Us page above the form. I need to modify the details and now know that I should have edited define_contact_us.php in the define pages editor.....anyhooo I didn't and now I cannot find which file I hard coded the details in. Can anyone assist - I've looked everywhere and cannot find it.

cheers,

23 Nov 2012, 4:11 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Hard coded Contact Us page

Use the developers tool kit under tools in your admin and search for the text

23 Nov 2012, 4:30 AM
#3
mudpit avatar

mudpit

New Zenner

Join Date:
Jul 2004
Posts:
10
Plugin Contributions:
0

Re: Hard coded Contact Us page

Thanks Kobra, unfortunately it found nothing. Here's the link so you'll see what i mean - http://www.apdrp.net/index.php?main_page=contact_us.

I've looked in all the obvious files - templates, languages etc but cannot for the life of me find where I did it...!!?

23 Nov 2012, 6:11 AM
#4
mudpit avatar

mudpit

New Zenner

Join Date:
Jul 2004
Posts:
10
Plugin Contributions:
0

Re: Hard coded Contact Us page

Problem solved. It was actually a database entry with the db var STORE_NAME_ADDRESS in tpl_contact_us_default.php. Thanks for your help.

23 Nov 2012, 6:13 AM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Hard coded Contact Us page

STORE_NAME_ADDRESS
So you did not hard code this
A link initially would have taken the guess work out of this