I have the thought (that many may share) that the calendar doesn't fit with long event title or with day with a lot of events.
As I use mycalendar3 to share music events in my town, i have simplified the calendar page (mycalendar_body.html) do get a one month list of day within events. (have a look : mycalendar )
Note that I have a forum for each musical style and one more for festivals therefore i added the forum's name before the name of the event thanx to a little change in mycalendar3.php :
- Code: Select all
"line337 file mycalendar.php"
$template->assign_block_vars('day_infos.date_event', array(
'POPUP' => $event,
'U_EVENT' => $topic['forum_name'] . ' ' . ' ' . $link . $topic_text,
'DAY_BLOCK_BEGIN' => ($block == 1),
'DAY_BLOCK_END' => ($block == 2),
'U_EVENT_END' => $can_read ? '</a>' : '</i>',
the problem is that when i have a event longer than one day (in february = février i have the festival "entre les mondes" supposed to last from the 21th to the 27th ) it doesn't work. Indeed, it doesn't fit anymore to use picture named "arrow****.gif" to show that the event go through some days. I just need to have the name of the event to be repeated each day of the event's lasting period.
But I just see that the name of the event is not repeated at all after the first day of its lasting period. However, the forum's name is repeated meaning that the php process knows that an event is present that day...
Any, i'am a newbie in php and it gaves me headache to understand why it doesn't works. If someone has time to check how to display events as i am tring to do, it could make this MOD more popular or at least it could fit some needs as mine.
cheers guys













