Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

use HTML in header instead of osCommerce.gif?


Iniquityclothing

Recommended Posts

hi folks how is it possible to use an HTML "bar" as the header to my website. I have searched around and found this info but i constantly get errors on my website. and yes I have changed to filename accordingly but still i get errors. this is the info i have followed

 

Then in includes/header.php in your store, find

 

CODE

 

<td valign="middle"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce') . '</a>'; ?></td>

 

 

 

You can change this to something like

 

CODE

 

<td valign="middle"><?php include 'images/myheader/header.html'; ?>

 

</td>

 

 

changing it of course to what folder and file names you will use.

Is this the correct way to go about using an HTML header bar, cos I cant work out, any help would be greatly appreciated,

Cheers

View recent 'helpfull' threads:

 

403 Error problems | Ultimate SEO (contribution support)

Link to comment
Share on other sites

thanks for the help i have now noticed that is said header.HTML and mine is header.HTM !! anyway maybe you could help me how can i change the alignment of the html header?

take a look at my site to see what i mean,

www.iniquityclothing.com

View recent 'helpfull' threads:

 

403 Error problems | Ultimate SEO (contribution support)

Link to comment
Share on other sites

i have dream weaver if its easier to use that?

this is the code of the html page:

 

<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns="http://www.w3.org/TR/REC-html40">

 

<head>

<meta http-equiv="Content-Language" content="en-gb">

<meta name="GENERATOR" content="Microsoft FrontPage 6.0">

<meta name="ProgId" content="FrontPage.Editor.Document">

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">

 

 

<link rel="File-List" href="header_files/filelist.xml">

 

 

 

<!--[if !mso]>

<style>

v\:* { behavior: url(#default#VML) }

o\:* { behavior: url(#default#VML) }

.shape { behavior: url(#default#VML) }

</style>

<![endif]--><!--[if gte mso 9]>

<xml><o:shapedefaults v:ext="edit" spidmax="1027"/>

</xml><![endif]-->

 

 

 

 

<body bgcolor="#000000">

 

<p><!--[if gte vml 1]><v:rect id="_x0000_s1029"

alt="" style='position:absolute;left:114pt;top:6.75pt;width:720.75pt;height:126pt;

z-index:1' filled="f" strokecolor="white" strokeweight="9pt"/><![endif]--><![if !vml]><span

style='mso-ignore:vglayout;position:absolute;z-index:1;left:146px;top:3px;

width:973px;height:180px'><img width=973 height=180

src="header19_files/image001.gif" v:shapes="_x0000_s1029"></span><![endif]></p>

 

</body>

 

</html>

View recent 'helpfull' threads:

 

403 Error problems | Ultimate SEO (contribution support)

Link to comment
Share on other sites

would this be correct to use? i have deleted the head and meta tags and pasted it into notepad,

 

<html>

 

 

<body bgcolor="#000000">

 

<p><!--[if gte vml 1]><v:rect id="_x0000_s1029"

alt="" style='position:absolute;left:114pt;top:6.75pt;width:720.75pt;height:126pt;

z-index:1' filled="f" strokecolor="white" strokeweight="9pt"/><![endif]--><![if !vml]><span

style='mso-ignore:vglayout;position:absolute;z-index:1;left:146px;top:3px;

width:973px;height:180px'><img width=973 height=180

src="header19_files/image001.gif" v:shapes="_x0000_s1029"></span><![endif]></p>

 

</body>

 

</html>

View recent 'helpfull' threads:

 

403 Error problems | Ultimate SEO (contribution support)

Link to comment
Share on other sites

If you have dreamweaver, I'd suggest scrapping what you have and recreating it in dreamweaver. MS products add a whole lot of junk that make them both inoperable with non-MS products and extremely difficult to read. Dreamweaver adds it's own share of junk, but much less of it, so it's easier to read and maintain. ;)

Contributions

 

Discount Coupon Codes

Donations

Link to comment
Share on other sites

That's part of why I think you should not use frontpage. It created that image with absolute positioning (don't know whether you told it to or not), which will make it overlap anything else in that area. I'm not familiar with frontpage, but that was a whole heck of a lot of markup code just to display one image. Keep it simple.

Contributions

 

Discount Coupon Codes

Donations

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...