osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

How to edit <head>

This is a discussion on How to edit <head> within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I need to add some meta tags, another stylesheet link, more tags to the body tag, etc. Where do I ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 12-17-2002, 04:15 PM
Lurker
 
Join Date: Dec 2002
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
pgowder
Default How to edit <head>

I need to add some meta tags, another stylesheet link, more tags to the body tag, etc.

Where do I edit that from?

Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 12-18-2002, 10:31 AM
Member
 
Join Date: Nov 2002
Location: Pennsylvania
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
|3ackdraft
Default

If you want to edit the head content, just open the page specifically,

this is not using a template system, therefore each page has the head information.

for example the first page displayed is the default.php, approx line 37 starts the head tag

hth
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 12-18-2002, 10:44 AM
Anonymous
Guest
 
Posts: n/a
Default

So if I want to, for example, add a background image, I have to add it to every php file?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 12-18-2002, 04:11 PM
Member
 
Join Date: Nov 2002
Location: Pennsylvania
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
|3ackdraft
Default

Unfortunatly thats the way osCommerce is written, there are template programs out there that with some customizing will work, but they have a tendancy to slow osCommerce.

Now you can include the background image in the css, and you would not have to change anything except the one css file.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 01-01-2003, 05:44 PM
Lurker
 
Join Date: Jan 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
LukeMilton
Default CSS sheet only works for colors... ?

I have tried over and over to get a background image to appear using css- this is the entry:

BODY {
padding:0; background-position: center; background-image: url('http://sales.hoistwarehouse.com/www/back_drop.gif');
margin: 0px; background-repeat:repeat; background-attachment:fixed
}

What am I doing wrong?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 01-03-2003, 08:00 AM
Member
 
Join Date: Nov 2002
Location: Pennsylvania
Posts: 93
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
|3ackdraft
Default

You CSS is a little difficult to understand.

I think what you are trying to accomplish is place a background image in the center of your page. and have it stay there even though the page scrolls.


try this:
Code:
body {  background-attachment: fixed; background-image:  url(http://sales.hoistwarehouse.com/www/back_drop.gif); background-repeat: no-repeat; background-position: center center}
if this is not your goal, please tell me what it is you are trying to accomplish

I visited your site, I think one of your problems, is you have this as the location of your image: http://sales.hoistwarehouse.com/www/back_drop.gif

I could not locate the image.
I even tried
http://sales.hoistwarehouse.com/images/back_drop.gif
http://sales.hoistwarehouse.com/back_drop.gif
http://www.hoistwarehouse.com/www/back_drop.gif
http://www.hoistwarehouse.com/images/back_drop.gif
http://www.hoistwarehouse.com/back_drop.gif

Make sure the image is loaded to the server

Mike
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Edit Orders Bug davem osCMax v2 Features Discussion 0 12-30-2006 06:28 PM
Edit attributes - Something Something isn't right Anonymous osCMax v1.7 Discussion 4 02-08-2005 02:16 PM
move title up in code? should be right after <head> fridgemags osCMax v1.7 Discussion 1 06-09-2004 11:46 AM
Limiting one item per customer - narrowed to actions in head Anonymous osCommerce 2.2 Modification Help 3 03-29-2004 12:33 AM
Beating head on keyboard missing php stasha osCommerce 2.2 Installation Help 2 03-29-2003 06:19 PM


All times are GMT -8. The time now is 01:21 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax