sumario Posted May 27, 2006 Posted May 27, 2006 im using this contribution: http://www.oscommerce.com/community/contri...search,category i followed all intructions properly and certain aspects do work as the image it self, the roll over image works but when you click the catergory, it goes to the catergory page but the image for that catergory- it cannot find. It cant find the image as it puts a %22 at the end of the image name. E.g. /images/nav1_over.gif%22 Can some one help me figure out why this happens. Thank you.
jasonabc Posted May 27, 2006 Posted May 27, 2006 Hi there, %22 is a space so you must've inserted a space somewhere in the code? Check the categories.php file (around line 47) and make sure there is no space inserted in the bit below (I've bolded it) <img src="/~myaccount/images/navigation/nav' . $counter . '_over.gif" width="170" height="21" name="nav' . $counter . '">'; Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix
sumario Posted May 27, 2006 Author Posted May 27, 2006 i thought %20 was a space, but i will have a look now, thanks.
sumario Posted May 27, 2006 Author Posted May 27, 2006 Hi, from what i see in the code, there is no space after the _over.gif: ......./nav' . $counter . '_over.gif" width="170" height="21" name="nav' . $counter . '">'; weird, have any other ideas or other places to check in the files? Thanks.
jasonabc Posted May 27, 2006 Posted May 27, 2006 i thought %20 was a space, but i will have a look now, thanks. ooops - yeah you;re right sorry - still trying to wake up this morning...! ;-) %22 is a quotation mark. You must've added a rogue one into the code. Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix
sumario Posted May 27, 2006 Author Posted May 27, 2006 but where lmao :lol: ill do some trial an error stuff. if you have any ideas please do tell. Thanks.
jasonabc Posted May 27, 2006 Posted May 27, 2006 I'm not sure - I tested the files thoroughly before I submitted the contribution so I know it's bug free. I can see the extra apostrophe in the screengrab you posted above so you're inserting it somewhere. Sorry I can't be of more help... Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix
sumario Posted May 28, 2006 Author Posted May 28, 2006 no problem, ill do some testing on it to fix it when i get the chance. Thanks for the help.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.