By phollan1 on
I am looking at changing the upcoming event block so that it shows the date of the event rather than showing me how long till that event, but I cannot seem to see what and where I need to change, any ideas would be greatly appreciated
thanks
Comments
I need an answer for this
I need an answer for this also. I have looked in the modules/event/event.css and have found nothing.
here's what needs to be changed
First you make a copy of the module to install as "myevent" then - in the current 5 version of event module - you have to change:
function event_block_upcoming in event.module
I "hacked" the days to the event to equal the day of the event ....
$node->timeleft = format_date($node->event_start,'custom','F/d/Y');
function theme_event_upcoming_item in event.theme
this controls the output - I didn't want the node type to print out
and maybe if you want event.css
I made the date text-align left instead of right
There must be smarter ways but this works
Joe Moraca
http://www.moraca.org
potential enhancement
Check it out: http://drupal.org/node/78271