Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

n's showing up with images on product page


sjuettn

Recommended Posts

Posted

Hello,

I am learning to get along quite well with OSC and PHP, however I am still learning.

 

Can someone help me find where I managed to have added the letter n that appears for each catagory image. If there are six catagories, six n's, four catagories, four n's

 

http://securitas-inc.com/catalog/index.php?cPath=22

 

I have looked at the source code for the web page and found it,

 

<td align="center" class="smallText" width="33%" valign="top"><a href="http://securitas-inc.com/catalog/index.php?cPath=22_32"><img src="images/fre3n1.jpg" border="0" alt="3-N-1" title=" 3-N-1 " width="125" height="64"><br>3-N-1</a></td>n <td align="center" class="smallText" width="33%" valign="top"><a href="http://securitas-inc.com/catalog/index.php?cPath=22_36"><img src="images/fredeo.jpg" border="0" alt="Deodorant" title=" Deodorant " width="125" height="64"><br>Deodorant</a></td>n <td align="center" class="smallText" width="33%" valign="top"><a href="http://securitas-inc.com/catalog/index.php?cPath=22_35"><img src="images/freshamp.jpg" border="0" alt="Shampoo" title=" Shampoo " width="125" height="64"><br>Shampoo</a></td>n </tr>

 

but that doesn't help me with the OSC files and where to find it...

Any hints would be appreciated.

Thanks,

Sandy

Posted

look in your catalog\index.php file. You should have the carriage returns there, typically at the end of html content lines, like "\n" and not "n"

Posted
Hello,

I am learning to get along quite well with OSC and PHP, however I am still learning.

 

Can someone help me find where I managed to have added the letter n that appears for each catagory image. If there are six catagories, six n's, four catagories, four n's

 

http://securitas-inc.com/catalog/index.php?cPath=22

 

I have looked at the source code for the web page and found it,

 

<td align="center" class="smallText" width="33%" valign="top"><a href="http://securitas-inc.com/catalog/index.php?cPath=22_32"><img src="images/fre3n1.jpg" border="0" alt="3-N-1" title=" 3-N-1 " width="125" height="64"><br>3-N-1</a></td>n <td align="center" class="smallText" width="33%" valign="top"><a href="http://securitas-inc.com/catalog/index.php?cPath=22_36"><img src="images/fredeo.jpg" border="0" alt="Deodorant" title=" Deodorant " width="125" height="64"><br>Deodorant</a></td>n <td align="center" class="smallText" width="33%" valign="top"><a href="http://securitas-inc.com/catalog/index.php?cPath=22_35"><img src="images/freshamp.jpg" border="0" alt="Shampoo" title=" Shampoo " width="125" height="64"><br>Shampoo</a></td>n </tr>

 

but that doesn't help me with the OSC files and where to find it...

Any hints would be appreciated.

Thanks,

Sandy

 

I might have found something in catalog\index.php

echo ' </tr>' . "n";

echo ' <tr>' . "n";

 

are these the little devils?

Sandy

Posted

yea they should been

 

echo ' </tr>' . "\n";

echo ' <tr>' . "\n";

Posted

The most likely reason they are there in the first place is that you used the file manager in admin. If that is the case and you want to continue to use it, you should install the secruity update, which has a fix for that problem.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted
The most likely reason they are there in the first place is that you used the file manager in admin. If that is the case and you want to continue to use it, you should install the secruity update, which has a fix for that problem.

 

Jack

You are right. I did use file manager to edit this particular file in the beginning and goofed things up. Now that you mention it-I learned through the forum that doing that strips some of the \'s out. So I use a php editor or the cpanel file manager now. Thanks for the reminder, I forgot why I was doing it that way.

Thanks again,

Sandy

Archived

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

×
×
  • Create New...