If this is your first visit, check our documentation. To post, register or login.

Cannot edit my tpl_footer.php file

Started by kittiemd on 21 Jan 2013, 6:53 PM · Views: 903

Results 1 to 8 of 8
21 Jan 2013, 6:53 PM
#1
kittiemd avatar

kittiemd

New Zenner

Join Date:
Mar 2008
Posts:
52
Plugin Contributions:
0

Post #1 by kittiemd

I have edited this file many, many times but this time it will not save the changes to the site. I am using /public_html/includes/templates/custom/common/tpl_footer.php

I have Zen Cart 1.3.8a (in the process of upgrading) and I am using Dreamweaver CS3.

Any help would be appreciated. Thanks!

21 Jan 2013, 7:31 PM
#2
schoolboy avatar

schoolboy

Totally Zenned

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

Post #2 by schoolboy

In what way are you using dreamweaver? Are you editing the PHP?

It is better to edit PHP in a plain text editor, and to use a stand-alone FTP program to send the edited file to the server.

20 years a Zencart User

21 Jan 2013, 7:47 PM
#3
kittiemd avatar

kittiemd

New Zenner

Join Date:
Mar 2008
Posts:
52
Plugin Contributions:
0

Post #3 by kittiemd

I always open the file in Dreamweaver, flip to the code, edit the code, save the file and then "put" the file to the server. I have always done it this way. It has worked for years but now it won't work. Not sure what has changed.

21 Jan 2013, 8:24 PM
#4
picandnix avatar

picandnix

Totally Zenned

Join Date:
Dec 2010
Location:
UK
Posts:
1,779
Plugin Contributions:
2

Post #4 by picandnix

KittieMD:

I always open the file in Dreamweaver, flip to the code, edit the code, save the file and then "put" the file to the server. I have always done it this way. It has worked for years but now it won't work. Not sure what has changed.

And what happens when you do it the way Schoolboy suggests??

21 Jan 2013, 8:41 PM
#5
kittiemd avatar

kittiemd

New Zenner

Join Date:
Mar 2008
Posts:
52
Plugin Contributions:
0

Post #5 by kittiemd

I'm not sure how to do it how he suggests.

21 Jan 2013, 8:49 PM
#6
schoolboy avatar

schoolboy

Totally Zenned

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

Post #6 by schoolboy

You need a plain text editor and a good ftp program.

I use CRIMSON editor (free on the www)

I use WS-FTP Pro from Ipswitch (a commercial, but very good FTP program). Some people use FILEZILLA which is also free on the WWW.

Once you have installed your editor (CRIMSON) and your FTP Program, you use the FTP program to bring the file from the server to your hard drive.

Then you edit it with CRIMSON and save it on your hard drive.

Then you use your FTP program to send that back to the server, to overwrite the original in the custom folder where it sits.

20 years a Zencart User

21 Jan 2013, 8:54 PM
#7
kittiemd avatar

kittiemd

New Zenner

Join Date:
Mar 2008
Posts:
52
Plugin Contributions:
0

Post #7 by kittiemd

Thank you for the directions. I already own WS-FTP Pro and I will look for Crimson. I will let you know what happens. :)

21 Jan 2013, 9:24 PM
#8
kittiemd avatar

kittiemd

New Zenner

Join Date:
Mar 2008
Posts:
52
Plugin Contributions:
0

Post #8 by kittiemd

Thank you, your solution worked. I had to go about it a bit differently but it still worked. I downloaded the file with WS-FTP Pro and I downloaded and installed Crimson. When I opened the file in Crimson, I was pretty sure that I had edited the code right but I rely on Dreamweaver to let me flip back and forth between code and design. So I opened the page in Dreamweaver, edited the code, double checked the design page and saved. Uploaded it with WS-FTP Pro and it's as good as new.

Thank you so much for your help and suggestions. I really appreciate it.