Events In Calendar Need To Smaller
| Project: | Event |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Here's my delemha. I'd like to be able to edit what is included on the month view on the calendar. There's to much information in each box, which makes each day that an event is listed in insanely tall, throwing the calendar of balance. I'd like to be able to edit the formatting of what is written. Perhaps, this could also be a feature you add. For now though, just give me the snippet of code in (event.module) where I can locate the location and remove say some concatenation or extra info that I don't want.
An Example:
Here's what one of my events listed inside a box on the month view says...
(event)
MamaMia!
Start:
12:10
am
End:
12:20
am
That's exactly how it looks visually just so you know.
I want to remove: EVERYTHING, except the name of the event.
Also, I could change the italic to normal.
Here's the page so you can see it: Test Calendar
Don't go signing up for anything, they're all fake, lol.
I'd appreciate a snippet of code, like this perhaps:
if ($type == 'node') {
// node links
if (event_enabled_state($node->type) == 'all') {
$links['event_calendar'] = array('title' => t('Calendar'), 'href' => 'event/'. format_date($node->event_start, 'custom', 'Y/m/d'));
}
elseif (event_enabled_state($node->type) == 'solo') {
$links['event_calendar'] = array('title' => t('Calendar'), 'href' => 'event/'. format_date($node->event_start, 'custom', 'Y/m/d') .'/month/'. $node->type);
}
}
Attached: Screenshot of my calendar.
[ in case my site changes ]
| Attachment | Size |
|---|---|
| Calendar.jpg | 23.35 KB |

#1
I would like to know how to do this, too.
#2
As a non-coder...I just edited the event.css file. Of course, you'll have to keep track of your changes for when the module gets updated.
#3
Indeed, theming is the answer.
With event.module 5.2 you can actually have a modified event.css file in your theme's directory.
#4
Automatically closed -- issue fixed for two weeks with no activity.
#5
This was before I didn't understand what "Assigned" meant. I still don't, but I know I'm not assigned to this :). Does anybody know who is or -- should be?
» Respectfully, GreenLED
»