Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How can I replace osCommerce's logo in header with my own?


jinlu

Recommended Posts

  • 3 years later...
  • 10 months later...
  • 1 month later...
How do you change the size of the image?

 

I am also having trouble,

 

I have added my own image and labeled it oscommerce.gif however when i load my page www.absnell.com/shop it just come up with plain text...

 

What am i doing wrong?

 

Instead of the image being /image/x-generic its text/x-generic

 

How do i change this?

 

This seems to happen to all my files including the php ones, how do i make them the same as the rest.

 

Also can anyone recommend a good program to edit my code, im using an FTP but do not want to purcahse dreamweaver.

 

Many thanks

 

Adam

Link to comment
Share on other sites

The reason your image doesn't show is that in your PHP/HTML you're using this name:

 

shop/images/oscommerce.gif

 

In your image folder the file is named this:

 

oscommerce.GIF

 

Filenames ARE case-sensitive in the UNIX environment.

 

Either rename your file, or change the code to match the name and it should show up.

;)

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

The reason your image doesn't show is that in your PHP/HTML you're using this name:

 

shop/images/oscommerce.gif

 

In your image folder the file is named this:

 

oscommerce.GIF

 

Filenames ARE case-sensitive in the UNIX environment.

 

Either rename your file, or change the code to match the name and it should show up.

;)

 

Ah, how stupid of me..thanks

 

Any help with what to use to edit my code?

 

Also...

 

I'm trying to use the Basic Design Pack submitted by toyicebear,

 

I'm not sure how i go about doing this, do i have to input each file onto my ftp server individually or is there a way of extracting a folder so they are all put in the correct place automatically?

 

Cheers in advance

 

Adam

Link to comment
Share on other sites

I've not used "Basic Design Pack", so I'm clueless there.

 

Personally, I use a program called NoteTab Lite (free - just Google it) to edit PHP/HTML files.

 

Your "Top" link won't work on your site until you delete/rename the "index.htm" file in your main folder.

 

UNIX servers display them first (if found) when the link is like this: http://absnell.com/ (<-- That's your "Top" link)

;)

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

NIX my last post...

:blush:

 

You're installed in the /shop folder...

:huh:

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

I've not used "Basic Design Pack", so I'm clueless there.

 

Personally, I use a program called NoteTab Lite (free - just Google it) to edit PHP/HTML files.

 

Your "Top" link won't work on your site until you delete/rename the "index.htm" file in your main folder.

 

UNIX servers display them first (if found) when the link is like this: http://absnell.com/ (<-- That's your "Top" link)

;)

 

Do you mean the index which is located in /includes/Languages/English? What should i re-name it to?

 

If i was going to add a template for example would i have to upload each file on its own and replace them with whats currently there?

 

Cheers

Link to comment
Share on other sites

I changed my mind...

:lol:

 

Don't delete anything...

 

I don't do templates.

>_<

 

They should have install instructions included.

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

I changed my mind...

:lol:

 

Don't delete anything...

 

I don't do templates.

>_<

 

They should have install instructions included.

 

hah ok, i think i know how to do the templates, its quite fun reading through posts and learning..although i am now pondering over the fact that www.absnell.com doesn't work..not that i want it to as i don't have a site but how would i rectify this? You've been a great help :D

 

Still cant believe the image wouldn't work because of case sensitivity..never thourght that would be my downfall!

Link to comment
Share on other sites

although i am now pondering over the fact that www.absnell.com doesn't work..not that i want it to as i don't have a site but how would i rectify this?

You have four options:

 

1. Move all your files & folders from your /shop folder to the root (/) folder (and change your config files to match).

 

2. Put a .htaccess file in the root (/) folder to redirect to the /shop folder (don't ask me how - I don't know what to put in it :blush: ).

 

3. Make a fancy/shmancy index.htm file to replace the one in the root (/) folder that has a link to your /shop folder.

 

4. Re-install to the root (/) folder.

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

Archived

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

×
×
  • Create New...