In response to my own previous post about adding some features, I made the following mods to the script:
If you are interested in this mod, send me an email (click on my name under TOPIC STARTER), and I can send you the files.
OVERVIEW
--------
Added large calendar view
Added three simultaneous small calendar view
Added large calendar with two small calendars view
Changed the wording when hovering over an event
from "Record(s)" to "Event(s)"
Added the text "Click here for details" when hovering over an event
Changes were made to the following files:
index.php
styles.css
cp/config.php
MORE DETAILS
------------
Added 3 new display modes
-------------------------
See $display_mode variable in cp/config.php
You can now choose any of the following modes:
1) Single small calendar (original)
2) Two small calendars on top of one large calendar
-Large calendar shows current month
-Top left small calendar shows Previous Month
-Top right calendar shows Next Month)
3) Three small calendars side-by-side
-Previous Month then Current Month then Next Month)
4) Single large calendar
Calendar height can now be variable or fixed
--------------------------------------------
See $extra_row variable and $extra_row_large variable in cp/config.php
You can now choose whether you want each calendar month to display the same height or to be variable.
The original calendar would vary in height depending on the number of days, so some months would show with 4 rows, and some would show with 5 rows.
The default is off (variable height), but if you turn this feature on, it will add an extra 5th blank row to the bottom of any month that only has 4 rows, and therefor all months will have a fixed height.
You can change the width of the large calendar and the cell size
----------------------------------------------------------------
See styles.css file
To change the width of the large calendar, change the following:
.mainTableLarge width: (minimum width should be 360px)
For proper display in Firefox browsers, change the following:
.smallTablesInFirefox width: (set the same as .mainTableLarge)
If you want each cell to look square, change the following:
.rowsLarge height: (set to 10% of table width)
Known Issues
------------
(1)
Because I set this up with the user being able to change the width of the large calendar, I could not get Internet Explorer and Firefox to display the two small tables above the large calendar the same way, so I had to put seperate formatting in for each. Basically, if it can determine that the browser being used is Firefox, it will use one set of formatting. If it is not (or can't determine) if it's Firefox, it will use the other formatting. I tested it on IE 6 and IE 7 and Firefox 2, and it appears to work fine. It may need to be tweeaked with other browsers, but I haven't tested any others.
(2)
The code is a bit "bloated", because I copied and pasted most of the original code three more times, and created functions for each month type (month_previous, month_current, month_current_large, and month_next). Most of the code in these four functions is duplicated, since it only took a few changes to make to each to make it work correctly, but I did not have time combine all the similar code into functions so they coulf be shared.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Jeff:
Not sure if you are receiving messages posted here.
I came across your post here on Sourceforge (2007-10-12 17:03) and I am quite interested in your modded version of Midgard's Eggdrop Calendar script. I am most interested in your modifications and would like to get a ZIP of your files. You noted you were willing to share them. I'd like to have a full-sized month-view of this project too.
I've just modified and "chopped" it to co-exist with a great little CMS project I work on over at snewscms-dot-com. My "port" is a smaller add-on package for sNews 1.6. I consolidated several files, eliminating the "liblary" folder & its files, as well as the Admins Manager and login panel since the Events Manager is now accessible from with the sNews Admin area. I will eventually release it in both the full and this chopped version for use with sNews.
Ideally, I would like to have the Events Manager Panels open within the sNews Admin area within the existing sNews template but I have not yet managed to integrate it that way yet. Have you managed to convert the script so it's cp/index.php script can run from with a standalone php function?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In response to my own previous post about adding some features, I made the following mods to the script:
If you are interested in this mod, send me an email (click on my name under TOPIC STARTER), and I can send you the files.
OVERVIEW
--------
Added large calendar view
Added three simultaneous small calendar view
Added large calendar with two small calendars view
Changed the wording when hovering over an event
from "Record(s)" to "Event(s)"
Added the text "Click here for details" when hovering over an event
Changes were made to the following files:
index.php
styles.css
cp/config.php
MORE DETAILS
------------
Added 3 new display modes
-------------------------
See $display_mode variable in cp/config.php
You can now choose any of the following modes:
1) Single small calendar (original)
2) Two small calendars on top of one large calendar
-Large calendar shows current month
-Top left small calendar shows Previous Month
-Top right calendar shows Next Month)
3) Three small calendars side-by-side
-Previous Month then Current Month then Next Month)
4) Single large calendar
Calendar height can now be variable or fixed
--------------------------------------------
See $extra_row variable and $extra_row_large variable in cp/config.php
You can now choose whether you want each calendar month to display the same height or to be variable.
The original calendar would vary in height depending on the number of days, so some months would show with 4 rows, and some would show with 5 rows.
The default is off (variable height), but if you turn this feature on, it will add an extra 5th blank row to the bottom of any month that only has 4 rows, and therefor all months will have a fixed height.
You can change the width of the large calendar and the cell size
----------------------------------------------------------------
See styles.css file
To change the width of the large calendar, change the following:
.mainTableLarge width: (minimum width should be 360px)
For proper display in Firefox browsers, change the following:
.smallTablesInFirefox width: (set the same as .mainTableLarge)
If you want each cell to look square, change the following:
.rowsLarge height: (set to 10% of table width)
Known Issues
------------
(1)
Because I set this up with the user being able to change the width of the large calendar, I could not get Internet Explorer and Firefox to display the two small tables above the large calendar the same way, so I had to put seperate formatting in for each. Basically, if it can determine that the browser being used is Firefox, it will use one set of formatting. If it is not (or can't determine) if it's Firefox, it will use the other formatting. I tested it on IE 6 and IE 7 and Firefox 2, and it appears to work fine. It may need to be tweeaked with other browsers, but I haven't tested any others.
(2)
The code is a bit "bloated", because I copied and pasted most of the original code three more times, and created functions for each month type (month_previous, month_current, month_current_large, and month_next). Most of the code in these four functions is duplicated, since it only took a few changes to make to each to make it work correctly, but I did not have time combine all the similar code into functions so they coulf be shared.
Jeff:
Not sure if you are receiving messages posted here.
I came across your post here on Sourceforge (2007-10-12 17:03) and I am quite interested in your modded version of Midgard's Eggdrop Calendar script. I am most interested in your modifications and would like to get a ZIP of your files. You noted you were willing to share them. I'd like to have a full-sized month-view of this project too.
I've just modified and "chopped" it to co-exist with a great little CMS project I work on over at snewscms-dot-com. My "port" is a smaller add-on package for sNews 1.6. I consolidated several files, eliminating the "liblary" folder & its files, as well as the Admins Manager and login panel since the Events Manager is now accessible from with the sNews Admin area. I will eventually release it in both the full and this chopped version for use with sNews.
Ideally, I would like to have the Events Manager Panels open within the sNews Admin area within the existing sNews template but I have not yet managed to integrate it that way yet. Have you managed to convert the script so it's cp/index.php script can run from with a standalone php function?
I am looking for this also. If you could emaail me the extra content to tmelton@cocc.edu that would be wonderful.
Thanks
Tyler
This is exactly what I need. Could you email me the files at matthew @ syxton .com? Thanks