XOOPS Paddling Computing Programming Internet Linux Drupal Networking Media Home Theater |
Calendar - piCal
piCal is the best general calendaring module that I have found. Recurring appointments and more. Permissions for submissions, editing, approving. Great for communities or single users, and supports the iCal format. Latest Version: 0.92 | Website FeaturesThe piCal module uses the iCal format to provide a multi-user, multi-category calendar that can be used for individuals or communities. Among its many features are:
InstallationInstallation and upgrades are an easy process. I've used this module since v0.7 on a number of sites and all the updates/upgrades have only required copying the files and updating the module in the Administrator. Note that there is a "common" directory added to the XOOPS root for this module, which includes jscalendar (a javascript calendar tool). ModificationsTemplatesAs usual, I've modified the the templates a little bit. Besides the XOOPS templates, there are also some "pattemplate" templates stored in the skin directory. The skin may be specified in the preferences -- the skin name is the name of the directory in the images directory. I recommend that you keep the default skin directory and copy a new one to another directory to prevent loss from overwrites. Unfortunately, as some of the display HTML is embedded in the code, to get things to look the way you want, you will have to delve into code some, too:
So, now for a short rant.... So, why do this? Is this a port of some other software, or something else? Blah! Great that it supports iCal formats, though, which, to me, is its biggest strengths, being able to manage a calendar more efficiently this way. I must admit, the more I got into changing this modules presentation output, the more I thought I ought to look at another module. Until I realized once again, all this module brings to the XOOPS solution. Sigh. To get the colors to work the way I thought they should in monthly view, I had to re-arrange a little bit of code related to the color stuff. Again, if using templates and solely passing data, then it would work a lot better. Defects/Enhancement RequestsSmarty TemplatesThe piCal module doesn't fully use the XOOPS smarty template system. Blah! It should, but likely a bit of programming involved. Minical Block Shows Target DateThe Minical(endar) Block shows the target date rather than the calendar date, so that calendar changes when someone is using the calendar. Since it's a cached block, then it shows the wrong month to users periodically. Seem strange. It would be nice to be able to choose, but apparently, this is a feature. I prefer it show the current date and not the "target_date". So, I added a couple lines in blocks/pical_mini_calendar.php to do such. WYSIWYGI'd like to have a WYSIWYG editor for this instead of the standard XOOPS DHTML editor. I found some instructions for Koivi, and adapted them for FCKeditor. This required two changes — one for editing (piCal.php) and one for displaying (piCal_xoops.php). In class/piCal.php around lines 2079-2084, find these:
replace with:
In class/piCal_xoops.php, around line 15 (in function textarea_sanitizer_for_show), find:
replace with:
Note: you may need to edit the location of fckeditor depending on which version you have implemented, and you may want to change the size of the text box using the $editor_configs variables passed. Description Empty on EditUpon editing an entry, the description box was empty (in XOOPS 2.3.2b). This was a XOOPS defect fixed in 2.3.3. Whew! Warning MyTextSanitizer::MakeTboxData4ShowI was getting some errors on installation in 2.3.x. I found an article that showed me how to fix it: pical/class/pical_xoops.php, line 33, change return $myts->makeTboxData4Show( $data ) ; to return $data; CSS Layout ProblemsFor some reason, I was having problems getting the jscalendar CSS to show correctly; I was having a conflict of some sort, which I thought was jQuery related, but it was CSS related. When I loaded the module header (with the calendar CSS) before the theme CSS, I was having major layout problems. Loaded after the theme CSS, I then was getting a transparent box. I ended up removing the
|
Login
Search
|