Mavent Posted December 8, 2011 Share Posted December 8, 2011 Hello all; My site is at: http://www.designtoprint.com The problem is that it looks great in everything but Internet Explorer. In I.E., it's utterly broken. I think this has a lot to do with the fact that the former developer who worked on it did everything in Smarty. I'm wondering if there's a way to automate the process of recombining all the Smarty pages back into normal .php files. Or barring that, if any of you smarter-than-me people know off the top of your heads why my site is breaking in I.E., but nothing else. Thanks! Kyle Quote Link to comment https://forums.phpfreaks.com/topic/252782-is-there-a-way-to-un-smarty/ Share on other sites More sharing options...
PFMaBiSmAd Posted December 8, 2011 Share Posted December 8, 2011 A template engine has absolutely nothing to do with how valid the resulting page is or how it looks in different browsers. It is still up to the programmer to make sure the html markup that he produces is valid and does what he wants in different browsers. The page at the link you posted has 67 errors and 32 warnings in the markup - http://validator.w3.org/check?uri=http%3A%2F%2Fwww.designtoprint.com%2F&charset=%28detect+automatically%29&doctype=Inline&group=0 All of those need to be corrected before you can ever worry about cross browser problems. Quote Link to comment https://forums.phpfreaks.com/topic/252782-is-there-a-way-to-un-smarty/#findComment-1295974 Share on other sites More sharing options...
Drongo_III Posted December 8, 2011 Share Posted December 8, 2011 I think you'd be quicker to start over! That's a mess. Hello all; My site is at: http://www.designtoprint.com The problem is that it looks great in everything but Internet Explorer. In I.E., it's utterly broken. I think this has a lot to do with the fact that the former developer who worked on it did everything in Smarty. I'm wondering if there's a way to automate the process of recombining all the Smarty pages back into normal .php files. Or barring that, if any of you smarter-than-me people know off the top of your heads why my site is breaking in I.E., but nothing else. Thanks! Kyle Quote Link to comment https://forums.phpfreaks.com/topic/252782-is-there-a-way-to-un-smarty/#findComment-1295976 Share on other sites More sharing options...
Mavent Posted December 8, 2011 Author Share Posted December 8, 2011 I think you'd be quicker to start over! That's a mess. My feelings exactly. In fact, I have started over, but unfortunately I'm a few weeks away from being able to replace the site, so I'm trying for a quick fix to at least get it running until I can re-write it. Quote Link to comment https://forums.phpfreaks.com/topic/252782-is-there-a-way-to-un-smarty/#findComment-1295978 Share on other sites More sharing options...
floridaflatlander Posted December 8, 2011 Share Posted December 8, 2011 With a little work it may work You have a lot of minor errors according to http://validator.w3.org/. Put your url in w3 and then look at your source html and find the problem in your php files. There is two mentions of open comment tags with no closing tags. There are escaping slashes in your JavaScript, meaning you used single quotes or something and then escaped the double quotes. Many are repeated errors, something wrong with your code not smarties . Get fire foxes fire bug and it will also help you find your problems. PS it will look d****n fine when your through Quote Link to comment https://forums.phpfreaks.com/topic/252782-is-there-a-way-to-un-smarty/#findComment-1295981 Share on other sites More sharing options...
Drongo_III Posted December 9, 2011 Share Posted December 9, 2011 Yeah it's a nice lookin' site in firefox I would probably try fix the main errors too cos that might repair a multitude of issues and with luck will spring everythnig back into life. With a little work it may work You have a lot of minor errors according to http://validator.w3.org/. Put your url in w3 and then look at your source html and find the problem in your php files. There is two mentions of open comment tags with no closing tags. There are escaping slashes in your JavaScript, meaning you used single quotes or something and then escaped the double quotes. Many are repeated errors, something wrong with your code not smarties . Get fire foxes fire bug and it will also help you find your problems. PS it will look d****n fine when your through Quote Link to comment https://forums.phpfreaks.com/topic/252782-is-there-a-way-to-un-smarty/#findComment-1296181 Share on other sites More sharing options...
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.