Jump to content

Recommended Posts

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

Link to comment
https://forums.phpfreaks.com/topic/252782-is-there-a-way-to-un-smarty/
Share on other sites

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. 

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

 

 

 

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.

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

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.