pulpfriction Posted January 11, 2005 Posted January 11, 2005 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
ozcsys Posted January 11, 2005 Posted January 11, 2005 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 <{POST_SNAPBACK}> 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??
pulpfriction Posted January 11, 2005 Author Posted January 11, 2005 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
ozcsys Posted January 11, 2005 Posted January 11, 2005 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 <{POST_SNAPBACK}> 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??
pulpfriction Posted January 11, 2005 Author Posted January 11, 2005 Thanks, that fixed that...now onwards I go :'(
xdefconx Posted June 24, 2006 Posted June 24, 2006 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*~
xdefconx Posted June 24, 2006 Posted June 24, 2006 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.
my scrap shop G Posted June 25, 2006 Posted June 25, 2006 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.
Wendy James Posted June 25, 2006 Posted June 25, 2006 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.
my scrap shop G Posted June 25, 2006 Posted June 25, 2006 no, happier to make it an image... but how to put an image there instead of the welcome title?
Wendy James Posted June 25, 2006 Posted June 25, 2006 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.
my scrap shop G Posted June 25, 2006 Posted June 25, 2006 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?
Wendy James Posted June 25, 2006 Posted June 25, 2006 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.
my scrap shop G Posted July 1, 2006 Posted July 1, 2006 cool, I'll give that a go soon-ish, working on a more pressing issue now.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.