osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Little red X's in IE??

This is a discussion on Little red X's in IE?? within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; they aren't showing up in Netscape, but in IE I've got broken images on the right side of each info ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 02-22-2004, 02:09 PM
Active Member
 
Join Date: Feb 2004
Posts: 174
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
Kristine is an unknown quantity at this point
Default Little red X's in IE??

they aren't showing up in Netscape, but in IE I've got broken images on the right side of each info box heading, except the Catagories box? Where are they coming form? I've been looking and don't have a clue? when I right click on them and check out their properties all they say is: http://localhost/catalog/images/ so I have no idea where they are being called in from? There is also one in the left corner above the catatgory box under the breadcrumb?
Help please!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 02-22-2004, 02:50 PM
Active Member
 
Join Date: Jan 2003
Location: Surrey, UK
Posts: 126
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jonthewebb
Default

maybe your "corner_right" s aren't defined correctly.

In each of the boxes (eg best_sellers.php line 25) you will see

$corner_right = 'square';

or similar. The only two options available are "rounded" or "square". Anything else will not be understood (by the file templates/box.tpl.php) as there is no default case set (which is less than ideal...... :-# )

if it's not that then I don't know.... unless you've broken the box.tpl.php file in some way of course!


jon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 02-22-2004, 02:51 PM
Active Member
 
Join Date: Jan 2003
Location: Surrey, UK
Posts: 126
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jonthewebb
Default

oh, and other browsers display broken links differently to MSIE, so that's why you only get the crosses in that.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 02-22-2004, 05:53 PM
Active Member
 
Join Date: Feb 2004
Posts: 174
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
Kristine is an unknown quantity at this point
Default

I remember taking out all the corner .gifs I just deleted the file name from between the ' ' in the code. Where would I have done that? I've been looking in sooo many pages I'm starting to get lost!
Thanks for all your help to btw, I realy appreciate it!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 02-23-2004, 03:36 AM
Active Member
 
Join Date: Jan 2003
Location: Surrey, UK
Posts: 126
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jonthewebb
Default

You need to remove just one bit of code to stop all the right corner images:

file: templates/box.tpl.php
line: 8
code to remove: <img src="images/<?php switch ($corner_right) { case 'square': echo 'pixel_trans.gif'; break; case 'rounded': echo 'infobox/corner_right.gif'; break;} ?>" border="0" alt="" width="11" height="14">
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 02-23-2004, 05:00 AM
Active Member
 
Join Date: Feb 2004
Posts: 174
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
Kristine is an unknown quantity at this point
Default

Yes, I did find that code and took it out, but I've still got the x's
Ack!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 02-23-2004, 05:58 AM
Active Member
 
Join Date: Jan 2003
Location: Surrey, UK
Posts: 126
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jonthewebb
Default

post your box.tpl.php here....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 02-23-2004, 06:12 AM
Active Member
 
Join Date: Feb 2004
Posts: 174
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
Kristine is an unknown quantity at this point
Default

Quote:
<?php /* infobox template */ ?>
<tr>
<td>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td height="14" class="infoBoxHeading"></td>
<td width="100%" height="14" class="infoBoxHeading"><?php echo $boxHeading; ?></td>
<td height="14" class="infoBoxHeading" nowrap><?php echo $boxLink; ?></td>
</tr>
</table>
<table border="0" width="100%" cellspacing="0" cellpadding="1" class="infoBox">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="3" class="infoBoxContents">
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
</tr>
<tr>
<td class="boxText"<?php echo $boxContent_attributes; ?>><?php echo $boxContent; ?></td>
</tr>
<tr>
<td><img src="images/pixel_trans.gif" border="0" alt="" width="100%" height="1"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 02-23-2004, 11:35 AM
Active Member
 
Join Date: Jan 2003
Location: Surrey, UK
Posts: 126
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
jonthewebb
Default

hmm

I can't see anything wrong with that. Have you altered the $boxLink in the other files? That contains the arrow which is the only other image in there.

jon
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 02-23-2004, 05:49 PM
Active Member
 
Join Date: Feb 2004
Posts: 174
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
Kristine is an unknown quantity at this point
Default

I managed to find the problem today, after much looking!
It was in the box.php file ( I think?) I replaced the file with the original and then changed the little blue corner .gifs to the color I wanted for my headers and waaalaaa! Problem solved.
Thanks for your time!
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


All times are GMT -8. The time now is 03:37 AM.


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