Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Edit "Welcome to osCommerce!"


pulpfriction

Recommended Posts

Posted

Hi all, hopefully a quick fix for this. I want to change the text "Welcome to osCommerce!"..but for the life of me cannot find where or how to make the change.

 

Thanks in advance.

 

Regards

W

Posted
Hi all, hopefully a quick fix for this. I want to change the text "Welcome to osCommerce!"..but for the life of me cannot find where or how to make the change.

 

Thanks in advance.

 

Regards

W

 

I do not recall where the default install says welcome to osCommerce but you look in either your

 

includes/languages/english.php

 

or

 

includes/languages/english/index.php

 

depending on exactly which text you are wanting to change.

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

Posted

Thanks for that. I can view the source code of the web page and see:

<td class="pageHeading">Welcome to osCommerce!</td>

 

But no idea where that is coming from

 

Regards

W

Posted
Thanks for that. I can view the source code of the web page and see:

<td class="pageHeading">Welcome to osCommerce!</td>

 

But no idea where that is coming from

 

Regards

W

 

Probably in your

 

includes/languages/english/index.php file

The Knowledge Base is a wonderful thing.

Do you have a problem? Have you checked out Common Problems?

There are many very useful osC Contributions

Are you having trouble with a installed contribution? Have you checked out the support thread found Here

BACKUP BACKUP BACKUP!!! You did backup, right??

  • 1 year later...
Posted
Thanks for that. I can view the source code of the web page and see:

<td class="pageHeading">Welcome to osCommerce!</td>

 

But no idea where that is coming from

 

Regards

W

 

Ok right know i want to know what OsCommerce "declare" on "class=pageHeading" but i dont find any line/page that contain that declaration for that class. Can someone guide me to find it. Thanxs

 

~*newbies*~

Posted

Ok i found it on directory_path\catalog\stylesheet.php on line 171 contains this code:

 

TD.pageHeading, DIV.pageHeading {
 font-family: Verdana, Arial, sans-serif;
 font-size: 20px;
 font-weight: bold;
 color: #9a9a9a;
}

 

Thanxs dude.

Posted

can I just ask, in relation to this, how to change the style of this heading on only the first page? I want to make my header bit a girly cursive font but it won't suit the other pages.

Posted

First, if someone goes to your website and doesn't have the font you specify they will not see it so it is best to use an image.

 

Second, if you really want to do it with a font then make a new class in the stylesheet. You can use the pageheading class as a sample, rename it to something else like pagehadingindex then change the class name on the index.php

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Posted

Open your index.php and add the code for an image.

I would change

<?php echo HEADING_TITLE; ?>

to something like

<img src="urltopic/picname.jpg" width="100" height="100">

If it is the "Let\'s See What We Have Here" text you want to replace.

OR you could open the includes/languages/english/index.php (or whichever language(s) you are using and change

define('HEADING_TITLE', 'What\'s New Here?');

to

define('HEADING_TITLE', '<img src="urltopic/picname.jpg" width="100" height="100">');

 

don't forget to change the width and height to the correct sizes.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Posted

I'll have to have the pic hosted somewhere though... can I upload the pic to a folder and link it to that somehow? sorry, I don't know how to do these things at all, but surely that is a better way to do it? or is it too complex?

Posted

You can upload the image to anywhere you want to then call for it like the code I posted above changing the url, pic name and size to match where your image is and the image itself.

 

Like if you upload an image named mypic.jpg that is 100 pixesl wide by 100 pixels tall to your images folder the code would be

<img src="images/mypic.jpg" width="100" height="100">

or

<img src="http://yourdomain.com/images/mypic.jpg" width="100" height="100">

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Archived

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

×
×
  • Create New...