Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Edit In Code?


porkchop

Recommended Posts

Do all page edits have to be done using or within the program code itself? Or, is there a user freindly way, for non-programmers, to edit pages.

 

For instance, I can open the header.php file, see the code, 'oscommerce.gif', 'osCommerce', but I do not know what the code means or how to change the image to my logo.

 

Thanks for any help. Searching the forum has thus far been unsuccessful.

Link to comment
Share on other sites

This link may help:

 

Change the osCommerce Logo

 

If you know HTML, editing the HTML portions of pages should be OK to try.

 

If you don't know PHP, editing those portions should be done with some kind of guidance from someone who does, or an example to work from.

 

I think the most important advice when it comes to editing can be found in my signature:

 

Before editing, MAKE BACKUPS!!!

:thumbsup:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Do all page edits have to be done using or within the program code itself? Or, is there a user freindly way, for non-programmers, to edit pages.

 

For instance, I can open the header.php file, see the code, 'oscommerce.gif', 'osCommerce', but I do not know what the code means or how to change the image to my logo.

 

Thanks for any help. Searching the forum has thus far been unsuccessful.

 

Thank you germ. That worked perfectly. Unfortunately I know no programmers, let alone anybody familiar with php.

 

is there nothing that let's me create a word document and then converts it to the proper code that i can cut and paste in? i am not an HTML guy either. I am a general manager with limited IT qualifications.

 

Thanks in adcance for anything that helps.

Link to comment
Share on other sites

is there nothing that let's me create a word document and then converts it to the proper code that i can cut and paste in?

About the closest I know of to achieve that is a free text editor called "Notetab Lite".

 

It has many HTML capabilities (like converting text to HTML), but you still really need to know something about HTML.

 

Go to Google.com and search for "Notetab Lite" if interested. I've used it for several years.

 

I'm sure someone else who reads this may have other suggestions for HTML modifications.

 

There are many contributions here for various modifications to the osCommerce code.

 

But when it get's right down to it, you'll have to:

 

1. Figure things out yourself.

2. Make posts here (or similar forums) and hope someone can solve your problem(s).

3. Get someone to do the programming for you.

4. Part or all of the above.

 

You know what they say, "When the only tool you have is a hammer, all your problems take the shape of a nail...."

:lol:

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

You can use Leap FTP to edit your code, but always make a back up! I also use EditPad Lite because you can see the code with line numbers and it makes it easier this way if you need to go back, you know what line you edited! ;)

Link to comment
Share on other sites

Crimson Editor. You wont regret it :). It does not add whitespaces like MS stuff, it is totally free and it also formats your php by making the commands, etc show in different colours.

 

You can also edit SQL with it and css, etc. Line numbered and a total breeze to work with. I have used it for many years and would not replace this with anything else. Its my core programming tool

 

http://www.crimsoneditor.com/

My Toolbox: Crimson Editor, Adobe Photoshop CS2.0, Expression Web, Macromedia Suite 8.0, Cinema 4D, Nvu.

Link to comment
Share on other sites

is there nothing that let's me create a word document

 

Noooooo!!!! Never ever ever edit code in anything created by MS. Microsoft programs add whitespace and hidden references in code that can cause formatting errors. They add these extras so that their word processors, etc can identify specific elements and format correctly. However, when using non MS stuff the additions just become errors. So, when programming in say "php" which is not an MS language you will find that errors appear that you cannot see, cannot find and will end up thinking "what on earth happened to my code"

 

Incidentally, I am not anti MS. I am profesionally trained on most MS products, just I do not recommend them for website coding or infact any coding other than VB or ASP.

My Toolbox: Crimson Editor, Adobe Photoshop CS2.0, Expression Web, Macromedia Suite 8.0, Cinema 4D, Nvu.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...