Page 1 of 1

lightbox etc. does not work anymore

Posted: Wed Mar 07, 2007 10:15 pm
by stm999999999
hello,

I have a great problem:

On all my s9y-blogs:

http://blog.stephan.manske-net.de/archi ... spiel.html
http://www.sankt-joseph-siemensstadt.de ... irche.html (both own s9y-installations)
http://blog.defo.info/archives/180-Wahl ... daten.html (a supersized.org-Blog)

the images do not use lightbox, greybox, etc. - a click on the picture gives the
picture in the whole window and no overlay picture!

the two own installations have the newest lightbox-Plugin-Version, the supersized is unkown to me.

The error occurs on two different computers and with Opera 9.02 and 9.10 and Firefox 2.0.2

Only with the IE7 it works fine!

1) Can someone confirm the problem? On my blogs and/or on other s9y-blogs?

2) Any idea?

Posted: Thu Mar 08, 2007 2:24 am
by modules
Its also broken here (Serendipity 1.1.2).

Seems like the internal variable for js or css is not correctly parsed. Have a look in the header of your blogs html code.

But seems like you have fixed it?

Posted: Thu Mar 08, 2007 2:30 am
by stm999999999
Do you have a link to your blog?

And yes, it looks being fixed in the moment - but I did not do anything!?!?

Posted: Thu Mar 08, 2007 2:39 am
by modules
I disabled the plugin on my blog, but this was the error:

Code: Select all

<script type="text/javascript">var thickbox_path = "http://mybl0g.com/plugins/serendipity_event_lightbox/thickbox";</script>

Posted: Thu Mar 08, 2007 10:14 am
by garvinhicking
Hi!

Did you maybe use the 1.2 snapshot? Might be related to that entryproperties bugin we're discussing in a parallel thread.

Regards,
Garvin

Posted: Thu Mar 08, 2007 12:13 pm
by modules
No, i use Serendipity 1.1.2, as long as this informationen in the bottom of my blog is right :)

Posted: Thu Mar 08, 2007 12:14 pm
by garvinhicking
Hi modules!

What's your URL?

Regards,
Garvin

Posted: Thu Mar 08, 2007 8:35 pm
by stm999999999
garvinhicking wrote: Did you maybe use the 1.2 snapshot? Might be related to that entryproperties bugin we're discussing in a parallel thread.
Do you mean me? I dont believe that itis a problem with this plugin: 1) now it works fine without any changes and all three blogs uses different s9y-versions.

Posted: Sat Mar 10, 2007 9:20 pm
by modules
Tried again with a fresh installation.

http://s9y-forum.paupau.org/

Posted: Sat Mar 10, 2007 11:51 pm
by stm999999999
it works there - for me.

Posted: Sun Mar 11, 2007 12:18 pm
by modules
Its working for me too. But only in Safari.
On Firefox it seems to be broken.

Posted: Sun Mar 11, 2007 2:09 pm
by garvinhicking
Hi!

I believe this happens because of 2 reasons:

1. The thickbox plugin does emit invalid HTML:

Code: Select all

<link rel="stylesheet" type="text/css media="screen" href="/plugins/serendipity_event_lightbox/thickbox/thickbox.css" />
Note that the "type" is not closed with double quotes. I just fixed that in version 1.3 of the plugin that should be avaialble in the next day.

Then the other issue is this in your HTML output of the page:

Code: Select all

<a href="/index.php?/archives/1-unknown.html"><div ...</a>
This seems to stem from faulty HTML markup in your entries.tpl file - did you edit that? I wonder where the "<div..." comes from?

The same happens with this:

Code: Select all

<div class="serendipity_imageComment_img"><a class='thickbox'  class='serendipity_image_link' ...</a>
Note the unclosed <a> tag here. I wonder where those "..." come from?? Did you enter those? Did you modify any files? Maybe any other event plugins that rewrite some input, like glossary or the 'Content-rewrite' plugin?

Regards,
Garvin

Posted: Sun Mar 11, 2007 4:53 pm
by modules
garvinhicking wrote:
This seems to stem from faulty HTML markup in your entries.tpl file - did you edit that? I wonder where the "<div..." comes from?

...

Note the unclosed <a> tag here. I wonder where those "..." come from?? Did you enter those? Did you modify any files?
No, i made no modifications. Its a fresh installation.
Maybe any other event plugins that rewrite some input, like glossary or the 'Content-rewrite' plugin?
Here is a list of installed plugins:

Sidebar plugins:
* Calendar
* Quicksearch
* Archives
* Categories
* Syndicate This Blog
* Blog Administration
* Powered by

Event plugins:
* Markup: Serendipity
* Markup: Emoticate
* Markup: NL2BR
* Browser Compatibility
* Spam Protector
* Spartacus
* Lightbox/Thickbox JS/Graybox

I will try to update thickbox plugin to 1.3 in the next days.

Posted: Tue Mar 13, 2007 1:09 pm
by modules
garvinhicking wrote:I just fixed that in version 1.3 of the plugin that should be avaialble in the next day.
Thx garvinhicking, its working now.