|
| Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more. |
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Posts: n/a
|
Editing /includes/languages/english/index.php
On the first page of the "store" there's a statement that you can edit the file manually (I know how to do that) or use the "administration tool with the languages... english... define or tools... file manager MODULES."
Can anyone point me down the path to those modules? I can't seem to find them. Thanks. |
|
|
#2 |
|
XPW
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
|
Don't go there. The File Manager in the admin panel will corrupt your files. In fact, you should delete catalog/admin/file_manager.php from your site - it is a security risk.
Download the files and edit them locally. Better, download your entire site so that you have all the files locally. Edit and upload changes as desired.
__________________
Steve |
|
|
|
|
#3 |
|
SEO For Hire!
Join Date: Jul 2003
Location: Chicago, IL
Posts: 694
Reputation: 61
|
It sounds to me like you are trying to edit the actual text on the page. You will find that on the Define Languages page in the Tools section. From there, just click on the page you are wishing to edit the copy for, so in your case index.php.
|
|
|
|
|
#4 |
|
XPW
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
|
Um, no, the text on the page is defined in catalog/includes/languages/english/index.php - you have to download the file and edit it.
__________________
Steve |
|
|
|
|
#5 |
|
Join Date: Dec 2003
Location: NC
Posts: 94
Reputation: 5
|
It's also a good idea to download the generic OS Commerce files before you make any modifications or edits with the administration tool and save them separately from your site files so when you mess up a particular file you'll have a backup file to start over with.
|
|
|
|
|
#6 |
|
XPW
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
|
Yes, I am very much in favor of this idea (and do it myself.)
__________________
Steve |
|
|
|
|
#7 |
|
Posts: n/a
|
I've got backups for my backups, plus the ultimate backup... uninstall/reinstall... and I'm only working on the layout so far, so I should be reasonably safe. I'm struggling with the recursive nature of OsCommerce. I find it hard to keep straight who's driving the bus. Seems like you can change the database in mysql and that updates php, or you can edit the php files and it updates mysql. Am I getting this? Maybe I don't even want to know.....
|
|
|
#8 |
|
XPW
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
|
Neither is the case. Changes in the database are reflected in what the PHP files display and do, but they don't actually change the PHP. The PHP contains many database queries, inserts and updates.
If you edit the PHP, that doesn't do anything to the database, unless you added or modified code that manipulates the database.
__________________
Steve |
|
|
![]() |
| Thread Tools | Search this Thread |
|
|