Printed Dataface Pages Look Like Dookie In IE
Archived from the Xataface Users forum.
moj0rising — Fri Feb 02, 2007 12:19 pm
Now Kurtis and I over here are proud Firefox users but our boss has been using Internet Explorer 6 and he discovered a potential problem. When IE users go to our Dataface site and try to print, the page printed out looks very bad (and print preview looks the same) – like it would if the stylesheet was not found/ used.
I have searched the forums and haven’t seen anything on this. I have tried a couple different computers (all WinXP & IE6) with the same results.
We have to sort out this issue because a lot of the people using this application will likely be printing content from it with IE.
Thanks again!
Mike
shannah — Fri Feb 02, 2007 1:09 pm
Can you do a print preview and send me the screen shot so I can see what you mean.Ê Seems to be working ok on IE 6 for me (Windows XP).
-Steve
generatedname — Fri Feb 02, 2007 1:16 pm
http://70.98.54.35/~bmmcom/screenshots/ss1.JPG
http://70.98.54.35/~bmmcom/screenshots/ss2.JPG
those should work
shannah — Fri Feb 02, 2007 4:58 pm
This will take some looking into.Ê Since my apps seem to be working for me on IE, any chance you can give me the link to your app so I can try printing it myself (so at least I have the problem to play with).
-Steve
moj0rising — Fri Feb 02, 2007 5:26 pm
Absolutely!
http://70.98.54.35/~bmmcom/torpedo
UID: nevada
PW: dataface
shannah — Fri Feb 02, 2007 5:46 pm
OK..Ê Here’s the problem (i think).Ê I don’t know why it is even working correctly in the browser - it shouldn’t be.Ê The path that your app is putting in for the stylesheets is “/dataface/plone.css” - i.e. it is specifying a stylesheet that should be located at:http://70.98.54.35/dataface/plone.css.
But it isn’t located there.
This is likely caused by an incorrect 2nd parameter in your call to df_init in your index.php.Ê It should be the URL path to the dataface folder.Ê In your case it should be either ‘/~bmmcom/dataface’ or ‘../dataface’
-Steve
moj0rising — Fri Feb 02, 2007 6:05 pm
Yay! That fixed it. I just changed the path to ../dataface.
Thank you!
Mike