Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks
Author Message
zqmp987
New Member
New Member


Joined: Apr 04, 2006
Posts: 9

PostPosted: Sat Dec 09, 2006 11:09 am Reply with quote

I've tried beta, current and old versions of the sommaire block. In IE and Opera it displays closed or collapsed.

In Firefox, it always displays in the expanded mode to a long list, it won't collapse.

Any thoughts?
 
View user's profile Send private message
hitwalker
Sells PC To Pay For Divorce


Joined:
Posts: 5661

PostPosted: Sat Dec 09, 2006 12:29 pm Reply with quote

so in firefox...
when you go here...http://marcoledingue.free.fr
does that work?
 
View user's profile Send private message
zqmp987
PostPosted: Sat Dec 09, 2006 10:15 pm Reply with quote

good point....yes it does.

obviously it's something somewhere in my code.

I reloaded the sommaire block 3.01 beta, it expands completely in Opera, but 2.1 and 2.11 doesn't, they remain collapsed. All 3 expand completely in firefox.

anything?
 
hitwalker
PostPosted: Sun Dec 10, 2006 5:47 am Reply with quote

only reason i can think of that it conflicts with some code on your site..
 
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6383

PostPosted: Sun Dec 10, 2006 8:20 am Reply with quote

The approach used in earlier versions of Sommaire (e.g. 2.1 and 2.11) may have conflicted with Opera. I thought it had address issues with Firefox, too, but maybe not. Which version of FF are you using?

_________________
I google, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
zqmp987
PostPosted: Sun Dec 10, 2006 3:39 pm Reply with quote

FF 2.0, Opera 9.02 & IE7

It's weird that Sommaire (2.1 & 2.11) behaves in Opera 9 & IE7, but not FF2.
 
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6793
Location: Ha Noi, Viet Nam

PostPosted: Sun Dec 10, 2006 4:17 pm Reply with quote

I don't think it would have been tested with FF2 as it was probably released after Sommaire but yes it is rather strange.
 
View user's profile Send private message Send e-mail
kguske
PostPosted: Mon Dec 11, 2006 11:49 am Reply with quote

Sounds like FCKeditor... There were issues with FCKeditor 2.3.1 with FF 2.0, which hopefully were addressed in 2.3.2, which we are testing now.
 
zqmp987
PostPosted: Mon Dec 11, 2006 12:06 pm Reply with quote

I finally got it to behave dynamically correct in all 3 browsers, using Sommaire v212beta6

Looking over the code it appears that this version has different mozilla references on about lines 34-36... starting with "detectMozilla" (2 lines)

Anyway mystery solved.
THANKS FOR ALL THE HELP.
 
kguske
PostPosted: Mon Dec 11, 2006 12:45 pm Reply with quote

Interesting - so it had browser-specific code that caused this. If I remember correctly, FCKeditor had the same thing. At any rate, glad it is working now - thanks for the update.
 
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Wed Dec 13, 2006 2:56 pm Reply with quote

zqmp987, would you please post the code fixes here so that others may benefit? Thanks!

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
zqmp987
PostPosted: Wed Dec 13, 2006 9:36 pm Reply with quote

I use PSPad to compare text differences between 2 files. PSPad highlighted several code differences between v212beta6 and v211, but the one I keyed on was

line 34 $detectMozilla =0;

it started with "detectMozilla", so I figured browser!...I'm not a coder, but since v212beta6 had this reference and it worked in all 3 browsers and 2.1 and 2.11 didn't have it or was commented out, it was the line causing my problem.

Bottom line - use Sommaire v212beta6, if you're have similar problems with dynamic function not working in a collapsed state.
 
montego
PostPosted: Thu Dec 14, 2006 6:43 am Reply with quote

Oh, I see. I missed the point earlier. I was thinking that you had to make a change to the beta code.

BTW, is "v212beta6" the same as "Sommaire Paramétrable v3.0 04 october 2005"?
 
zqmp987
PostPosted: Thu Dec 14, 2006 6:54 am Reply with quote

if you mean v30b1, no v212beta6 has many code differences.

in particular (v30b1), line34 is commented out //$detectMozilla = (eregi("Mozilla",$_SERVER['H...
 
montego
PostPosted: Thu Dec 14, 2006 7:13 am Reply with quote

Interesting. I'll have to look at that closer and see if 3.0b1 works or not, or have you already tested it. I vaguelly recall seeing some comments in the code around issues with some functions on some browsers and that he was yet to fix them... been too long ago, though, to remember, and I didn't take notes.
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> Blocks

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©