RSS

LuxCal Forum

The place for questions, suggestions and news about the LuxCal Event Calendar

User:   Password:   Remember Me?   
LuxCal Forum / General / Problems / Problem with 2.7.1
Posted:  25 Oct 2012 21:57
I just recently upgraded to 2.7.1 from 2.7.0 and I am using iframes here is my code
<iframe src="../cal1/?hdr=0&cP=4" width="95%" height="800px" scrolling="no"></iframe>
in 2.7.0 it still said Time, Sunday, Monday, Tuesday, Wednesday, ……. on the top of the page and now since I upgraded to 2.7.1 (by upgraded I mean I did a clean install with 2.7.1 and a new db) and the dates are gone on the top of the page gone the top of the page I started over again with 2.7.0 and the time and dates came back am I missing something on 2.7.1 that I had setup on 2.7.0?

with 2.7.0 (using the same <iframe src="../cal1/?hdr=0&cP=4" width="95%" height="800px" scrolling="no"></iframe>)
http://i1023.photobucket.com/albums/af354/travis_lindsay/2.jpg

with  2.7.1 (using the same <iframe src="../cal1/?hdr=0&cP=4" width="95%" height="800px" scrolling="no"></iframe>)
http://i1023.photobucket.com/albums/af354/travis_lindsay/1.jpg

please help
Posted:  26 Oct 2012 10:51
It looks like the header "October 21, 2012 - October 27, 2012 (Week 43)" is occupying an additional blank line, which pushes the line with the week days behind the calendar grid.
Could you send me the URL of your calendar (e.g via the Contact Us page) and give "view" rights (if not done yet) to the public user, so that I can have a look at the HTML source.
Roel
Posted:  26 Oct 2012 16:32
the link isn't an external link we are just using it for an internal staff calendar, I thought that maybe it had something to do with the changing the colour so I redownloaded 2.7.1.

here is what i got: (Nothing has been changed with this code)
2.7.0 Is on the top  2.7.1 is on the bottom.

http://i1023.photobucket.com/albums/af354/travis_lindsay/new.jpg


Here is my code form that picture

<!DOCTYPE html>
<html>

<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<title>LuxSoft Test Ver2.7.0 and 2.7.1</title>
</head>

<body>
<div style="text-align:center"><iframe src="270/?hdr=0&cP=4" width="95%" height="300px" scrolling="no"></iframe></div>
<div style="text-align:center"><iframe src="271/?hdr=0&cP=4" width="95%" height="300px" scrolling="no"></iframe></div>

</body>

</html>


I took a look at the code for 2.7.0 and 2.7.1 and I found something that was different 2.7.1 Has <div class="scrollBoxHead"> right before where it says the dates.

So I changed the file css.php Line 97

from
.scrollBoxHead {position:absolute; left:0; top:67px; right:0; padding:0 10px; overflow-y:scroll;}

to
.scrollBoxHead {position:absolute; left:0; top:auto; right:0; padding:0 10px; overflow-y:scroll;}

NOW EVERYTHING WORKS!!!!
http://i1023.photobucket.com/albums/af354/travis_lindsay/working.jpg

Roel if changing this line of code is going to break something else can you please let me know.
Posted:  26 Oct 2012 18:21   Last Edited By: Roel B.
Hi Travis,
I introduced the .scrollBoxHead style to make the calendar heading behave the same as the calendar grid when selecting the Print button in the Navigation bar. I gave the heading an absolute top position of 67px (line 97 in css.php) because the calendar grid is positioned at an absolute top position of 85px. So there should always be 85 - 67 = 18px space for the header.
Why this doesn't work for you puzzles me. I've re-installed a new 2.7.1 calendar and it works fine in Firefox, Opera, Chrome and IE9.

Your solution works fine, also the printing is okay.

I do however prefer the "top:67px" because it should avoid the header to be pushed down behind the calendar grid if there is something wrong in one of the top bars. It would be very interesting to know why it has the opposite effect in your 2.7.1 calendar.

What browser + version are you using?

I will run a few more test.
Roel
Posted:  26 Oct 2012 20:05
I am using IE9 and I have Compatibility View turned off.