Guest cbn Posted December 10, 2005 Posted December 10, 2005 After I add a new box, I follow the procedure added to index.tpl the below: <div class=â€boxTitleRightâ€>Payment</div> <div class=â€boxContentRightâ€> <div style=â€text-align: centerâ€> <img src=â€images/credit.gif†alt=â€â€> </div> </div> <div class="boxFootRight"> </div> And I got broken image. And the propertis for this image when right click on it was: http://www.mysite.com/store/?images/credit.gif? I am confused when I saw: ?images/credit.gif? How could I fix it? Thanks Quote
Guest Posted December 10, 2005 Posted December 10, 2005 url to the site pls to see the problem? have u tried pasting the url to image in browser window? http://www.mysite.com/store/images/credit.gif put the address to the image in browser and see if pic comes up. Quote
Guest aikdo Posted December 10, 2005 Posted December 10, 2005 it is because you are using the wrong speech marks i know this sound weird but it cant seem to find that caractor once its been fed throught the xTpl system and it just doesn't seem to work then... throwing up a ? in the place of the unknown charactor... try replacing the speack marks with ' << singe quote... in your example see the diffrence between †and " Quote
Guest aikdo Posted December 10, 2005 Posted December 10, 2005 i used make the same mistake and i learned then why ? where poping up everywhere... well it was either ? or [] NM... It a tip for the rest of you to watch out for... Quote
Guest cbn Posted December 10, 2005 Posted December 10, 2005 Thanks for the help, That solved the problem. Appreciated your help Quote
Guest aikdo Posted December 10, 2005 Posted December 10, 2005 can i ask did it acctualy work..? Quote
Guest cbn Posted December 10, 2005 Posted December 10, 2005 Yes that work very good. Thanks for the help again Aikdo. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.