osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Box Help

This is a discussion on Box Help within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hello, The quick run down, I have spent like 3 days looking for the answer to my question ( How ...


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 11-16-2002, 01:22 PM
Lurker
 
Join Date: Nov 2002
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Eveywomyn
Default Box Help

Hello,
The quick run down, I have spent like 3 days looking for the answer to my question ( How can I put an image in the boxes and take out the arrow image)
Now I have 50% done, I have the image in there but I can not get the arrow(s) out without the page not showing up. I have read the guide but am not getting it. And is there a way to get the NEW images to the links like the arrows do?

Any help would be great. Thank you for your time.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 11-17-2002, 07:18 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,314
Thanks: 67
Thanked 321 Times in 304 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Here is how to...

Find the box in question, for instance:

/catalog/includes/boxes/whats_new.php

find this line:

Code:
new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_PRODUCTS_NEW, '', 'NONSSL'));
and change it to look like this:

Code:
new infoBoxHeading($info_box_contents, false, false);
And just like that, the little arrow is gone...

Oh, and to add a background image (from page 40 in the how to section):

Quote:
ADDING IMAGES INTO THE BOX HEADER
Q. How do you put an image into the box header?
A: Open up your stylesheet.css and edit it.
For example:
table.infoBoxHeading { background-image: url 'http://www.your.com/dir/to/your/image.gif'); background-repeat: no-repeat }
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 11-17-2002, 09:08 PM
Anonymous
Guest
 
Posts: n/a
Default Reply to msasek

Hi,
Thank you very much for your help, as soon as I get the site up I will put a link in so that you can see what your help has done.



Thank you once again!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 04-17-2004, 04:24 PM
New Member
 
Join Date: Apr 2004
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
robync
Default

I added the code in the css sheet to add an image to the box header but it did not work.

table.infoBoxHeading { background-image: url( 'http://www.116street.com/oscommerce/images/infobox/header.gif' ');
background-repeat: no-repeat
}

If you copy paste the image you will see it is the correct path - it's just no showing up on the box headers.

Am I missing something else?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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


All times are GMT -8. The time now is 02:22 AM.


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