Page 1 of 1
Preview doesn't render (Screenshot)
Posted: Thu Jun 22, 2006 11:13 pm
by TKS
Hiya all,
I've been testing the ol blog a bit more lately after the 1.0 upgrade and found somthing very odd that didn't work...the preview in admin.
Notice that it doesn't render the entire article (there's an extended section it is leaving out) in full.
Anyone have any thoughts?
Re: Preview doesn't render (Screenshot)
Posted: Fri Jun 23, 2006 10:33 am
by garvinhicking
Hi!
Which template are you using there? Does it have a custom preview_iframe.tpl file?
Which browser are you using?
Can you check your JS error console if it shows problems there?
Best regards,
Garvin
Re: Preview doesn't render (Screenshot)
Posted: Fri Jun 23, 2006 3:57 pm
by TKS
garvinhicking wrote:Hi!
Which template are you using there? Does it have a custom preview_iframe.tpl file?
Which browser are you using?
Can you check your JS error console if it shows problems there?
Best regards,
Garvin
Template I'm using is Andreas08. the preview_iframe.tpl file is not located inside the Andreas08 directory so I assume it goes back to the default one. During troubleshooting this, I replaced all files in the "default" template directory with s9y 1.0
I'm using Firefox 1.5.0.4
Errors in my JS console are as follows:
Code: Select all
Error: Unknown property 'behavior'. Declaration dropped.
Source File: http://linux-blog.org/index.php?/serendipity_admin.css
Line: 2
Error: Unknown property 'filter'. Declaration dropped.
Source File: http://linux-blog.org/htmlarea/htmlarea.css
Line: 45
Error: Expected color but found 'FieldFace'. Error in parsing value for property 'background'. Declaration dropped.
Source File: http://linux-blog.org/htmlarea/htmlarea.css
Line: 65
Error: Unknown property 'behavior'. Declaration dropped.
Source File: http://linux-blog.org/index.php?/serendipity.css
Line: 2
Posted: Mon Jun 26, 2006 12:22 am
by PerfectCr
I have the same problem in Firefox. The preview renders fine in IE 6.0, but not in Firefox 1.5.0.4. I am using Carl's 1024px template.
Posted: Mon Jun 26, 2006 4:52 am
by TKS
I'll direct carl to the thread and see what he thinks might be the culprit...
Posted: Mon Jun 26, 2006 9:15 pm
by carl_galloway
Hi guys, the preview function in serendipity works great if your design is table based and uses the css id 'mainpane' as the holding container for the conetent and sidebars. The two designs you're speaking of are both table-less, and neither of them uses 'mainpane'. In the case of andreas08 the preview_iframe.tpl file should work on both browsers, and I cannot explain the errors that TKS is getting.
PerfectCr, I can update 1024px and repost but you will need to give me a few days, I've been swamped with work for the last few weeks and even checking my emails has been difficult.
As an aside, I hate the way the preview function in serendipity works, and I've never had complete success with it. Every browser seems to handle css only designs differently when the preview function is used, even when I change style names so that I have a 'mainpane' it still causes problems in either FF or IE
Posted: Mon Jun 26, 2006 9:48 pm
by PerfectCr
carl_galloway wrote:PerfectCr, I can update 1024px and repost but you will need to give me a few days, I've been swamped with work for the last few weeks and even checking my emails has been difficult.
No problem at all!

I completely appreciate anything you can do. No rush at all. Like I said, preview works in IE, just not Firefox. I can use IE when posting new entries for now. I'll watch this thread for replies

Posted: Wed Jun 28, 2006 11:30 am
by fuzzy76
Using an entire CSS/HTML design within an IFRAME like that is probably begging for trouble to begin with. I think most people would've been content with at "styleless" preview. I only use preview for proofreading my post anyway.
For a temporary hack I edited templates/default/preview_iframe.tpl and changed scrolling from no to yes. This way, I can atleast scroll to see the rest of my post.
Posted: Wed Jun 28, 2006 2:06 pm
by PerfectCr
PerfectCr wrote:carl_galloway wrote:PerfectCr, I can update 1024px and repost but you will need to give me a few days, I've been swamped with work for the last few weeks and even checking my emails has been difficult.
No problem at all!

I completely appreciate anything you can do. No rush at all. Like I said, preview works in IE, just not Firefox. I can use IE when posting new entries for now. I'll watch this thread for replies

Carl, one more quick question. I use the Google Search code (from google as part of the adsense product) in my side bar. In Firefox, it renders correctly. In IE however, the Google search box is truncated and appears to have additional spaces between other sidebar content. I've looked at the code and I cannot figure out why it renders properly in Firefox but not IE.
Is this a more generic question for Garvin around Serendipity code or might this be specific to the template itself? Thanks!
Posted: Sun Jul 30, 2006 10:45 pm
by PerfectCr
Carl, were you able to address the preview issue for 1024px?

Posted: Fri Sep 01, 2006 5:58 pm
by PerfectCr
PerfectCr wrote:Carl, were you able to address the preview issue for 1024px?

Carl, any updates on this issue?
No preview at all
Posted: Mon Sep 25, 2006 8:36 pm
by guidol
From time to time I don't get a preview at all. When I hit the preview button a second or third time the preview will render correctly. This is not a very predictable behaviour and I don't understand why it is happening. When I'm lucky it will work the first time I hit preview...
Someone else experiencing the same?
Posted: Tue Sep 26, 2006 12:04 am
by judebert
I'm not having the same problem, but I've heard of this before. In that case, it was an overloaded database server, if I recall correctly.