Tata wrote:Have you experienced this? If I switch to multicalendar, ...
The small calendars are built without day names.
Hallo Tata, I am sorry to respond only now.
Calendar was my first real plugin several years ago and it is not very well programmed. I myself lost track of what I did then.
Now, I searched for this week day names problem and I found a solution
!!!
Lines 815 and 828 of calendar/includes/calendar.php add // at beginnings of line
Code: Select all
// 2nd row: weekday names
//===================
// if(!$extramonths && !$columns) {
$o .="<tr class='weekdaynames'>\n";
for($i=0; $i <= 6; $i++) {
if($startmon){$j = $i+1;} else {$j = $i;}
if($j==7)$j=0;
if($j==date('w') && $month==date('n') && $year==date('Y')) {
$o .= "<td class='calendar_daynames'><span class='today'>$dayarray[$j]</span></td>\n";
} else {
$o .= "<td class='calendar_daynames'><span>$dayarray[$j]</span></td>\n";
}
}
$o .= "</tr>\n";
// }
cmb wrote:That seems to be intentional, see svasti's demo. I assume that is to save some screen space.
It looks like, however I cannot remember why I did it.
Tata wrote:Another problem that I can't find any solution is, that on my localhost the events are saved wrongly (only start time is saved) and are not shown/linked in small calendar. Uploading them to my host everything works.
Could be a difference in the line endings? Or different php-versions ...
Tata wrote:2. How to fix the position of pop-ups such a way that they always use the full width of the section with the multicalendar? The section is fully responsive.
Not so simple, because the popups are relative to the date. So to get the same pop up from different week days you may have to define the pop up different for each week day.
If you set calendar>config>popup_direction_small_calendar to down you could edit the stylesheet.css to get the desired effect: the classes are
a.info_pop-up:hover span.down0 to
a.info_pop-up:hover span.down6 and you would have to enter a fitting value for every week day.
Calendar is very dated compared to our present XH. However I don't know when I'll be able to get out a new version.