Results 1 to 10 of 10

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 ...

      
  1. #1
    Active Member
    Join Date
    Feb 2004
    Posts
    174
    Rep Power
    9


    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!

  2. #2
    Active Member
    Join Date
    Jan 2003
    Location
    Surrey, UK
    Posts
    126
    Rep Power
    0


    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

  3. #3
    Active Member
    Join Date
    Jan 2003
    Location
    Surrey, UK
    Posts
    126
    Rep Power
    0


    Default

    oh, and other browsers display broken links differently to MSIE, so that's why you only get the crosses in that.

  4. #4
    Active Member
    Join Date
    Feb 2004
    Posts
    174
    Rep Power
    9


    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!

  5. #5
    Active Member
    Join Date
    Jan 2003
    Location
    Surrey, UK
    Posts
    126
    Rep Power
    0


    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">

  6. #6
    Active Member
    Join Date
    Feb 2004
    Posts
    174
    Rep Power
    9


    Default

    Yes, I did find that code and took it out, but I've still got the x's
    Ack!

  7. #7
    Active Member
    Join Date
    Jan 2003
    Location
    Surrey, UK
    Posts
    126
    Rep Power
    0


    Default

    post your box.tpl.php here....

  8. #8
    Active Member
    Join Date
    Feb 2004
    Posts
    174
    Rep Power
    9


    Default

    <?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>

  9. #9
    Active Member
    Join Date
    Jan 2003
    Location
    Surrey, UK
    Posts
    126
    Rep Power
    0


    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

  10. #10
    Active Member
    Join Date
    Feb 2004
    Posts
    174
    Rep Power
    9


    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!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •