Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-03-26 08:43:01

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Is textpattern visible with ie8b?

I’ve been using netrenderer to check some minor css changes to my site. As from recently they also provide screenshots from an ie8b1 browser.

All of my sites (see signature:) returned a white screen so I thought of checking other ones just in case.

Google was rendered just fine and so was this forum.

textpattern.com, .org and the textbook returned a white screen.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#2 2008-03-26 09:44:33

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Is textpattern visible with ie8b?

Completely invisible :) All of my sites return blank screens as well. If it’s any comfort, so do WP sites and wordpress.com…

Offline

#3 2008-03-26 10:31:31

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: Is textpattern visible with ie8b?

I discovered this just the other day and have been ignoring it, after all it’s IE. Good to know I’m not alone though :-)

Offline

#4 2008-03-26 11:58:45

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Is textpattern visible with ie8b?

Must be a feature :)

Offline

#5 2008-03-26 13:02:08

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,470
Website

Re: Is textpattern visible with ie8b?

It seems to not like images on a site. Try sites without images and it renders them OK.


BB6 Band My band
Gud One My blog

Offline

#6 2008-03-26 13:04:49

variaas
Plugin Author
From: Chicago
Registered: 2005-01-16
Posts: 402
Website

Re: Is textpattern visible with ie8b?

I’m running IE8B1 and while txp.com isn’t rendered properly, it still does show all the content.

Offline

#7 2008-03-26 13:18:51

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: Is textpattern visible with ie8b?

zero wrote:

It seems to not like images on a site. Try sites without images and it renders them OK.

Hi peter, I do not think that this is the case as google renders just fine

Last edited by colak (2008-03-26 13:19:10)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#8 2008-03-26 14:03:19

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,470
Website

Re: Is textpattern visible with ie8b?

I checked 01010.org and it’s fine. It uses no images. I checked 01010.org/minim/ and it is whitescreen. It uses images. I checked 01010.org/texty/ and it is fine. It uses no images.

So it’s not down to the url. I checked my other sites and get the same results relating to images or not.

Google.com uses no doctype and has 50 validation errors (if you can stomach it, look at the source. Not for the faint-hearted). I removed the doctype from 01010.org/minim and now it renders!
Go figure!


BB6 Band My band
Gud One My blog

Offline

#9 2008-03-26 14:31:45

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: Is textpattern visible with ie8b?

zero wrote:

I removed the doctype from 01010.org/minim and now it renders!

You cracked it! It just doesn’t like the doctype!

It also does not recognise margin: 0 auto 0 auto; making central div alignments to fail miserably. I guess this is an early beta and I hope that they will fix it. I thought that when upgrading a software you build on top of existing code. Maybe ms is trying to re-invent the wheel each time they release a new version.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#10 2008-03-28 20:01:35

masa
Member
From: Asturias, Spain
Registered: 2005-11-25
Posts: 1,091

Re: Is textpattern visible with ie8b?

I have a feeling this might be caused by IE8’s “super-standards mode” as described here.

Offline

#11 2008-03-29 08:50:48

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: Is textpattern visible with ie8b?

So… How can we go round it for now?

Searching the net I found:

<?php 
// this would be a simple ns4 test, say to protect 
//some page code that will not work in Netscape 4x
if ( browser_detection('browser') == 'ns4' ) { execute some code;  } 
else { execute some other code; }
?>

Can this be modified to

<txp:php> 
// this would be a simple ie8 test, say to protect 
//some page code that will not work in explorer 8
if ( browser_detection('browser') == 'ie8' ) { null  } 
else { <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> }
</txp:php>

Using another little script found here all seems to work

<txp:php>
if (!(strpos($HTTP_USER_AGENT,'iewin/8') === true)) {
 echo("null");
} else {
 echo("<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">");
}
</txp:php>

Except it returns the error “Parse error: syntax error, unexpected $end in /users/home/xxx/web/public/textpattern/publish/taghandlers.php(2804) : eval()’d code on line 8”

My php is non existent so any input here might help the community.

Last edited by colak (2008-03-29 09:12:53)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#12 2008-03-29 13:42:41

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Is textpattern visible with ie8b?

Isn’t this why they call it a beta version?

Offline

Board footer

Powered by FluxBB