remove "All Day" in agenda view
Permalink Browser Info Environment
Hi -
is there a way to remove the words "ALL DAY" next to an event in the Agenda view -- however if someone selects a start /end times show the respective times?
THe upcoming template works this way- it doesn't show the words "ALL DAY" but shows start/end times if selected.
i hope i am making sense here...
some events in this website i',m doing are happening sometime during the day - but not all day .. . some have times.
thanks
is there a way to remove the words "ALL DAY" next to an event in the Agenda view -- however if someone selects a start /end times show the respective times?
THe upcoming template works this way- it doesn't show the words "ALL DAY" but shows start/end times if selected.
i hope i am making sense here...
some events in this website i',m doing are happening sometime during the day - but not all day .. . some have times.
thanks
Type: | Discussion |
---|---|
Status: | Archived |
hi
Actually its showing correctly. if i click all day it shows "ALL DAy" in the Agenda view.
I wanted to remove the words ALL Day from agenda view. it looks wierd.
BUT if there is an event with a time i would like that to show.
the upcoming view template works this way. It doesnt show the words "ALL DAY" in an all day event, but shows start/end time if it is an event that has that. However i dont want the upcoming template as i need to show today's event.
i hope i m not sounding fussy....
this website im doing is a political website they have meetings every week,they dont have (know) times but everyonme knows its after work sometime, they use facebook to show times but still need it on website. All day looks like the meeting starts at 6AM and finishes 12pm
Actually its showing correctly. if i click all day it shows "ALL DAy" in the Agenda view.
I wanted to remove the words ALL Day from agenda view. it looks wierd.
BUT if there is an event with a time i would like that to show.
the upcoming view template works this way. It doesnt show the words "ALL DAY" in an all day event, but shows start/end time if it is an event that has that. However i dont want the upcoming template as i need to show today's event.
i hope i m not sounding fussy....
this website im doing is a political website they have meetings every week,they dont have (know) times but everyonme knows its after work sometime, they use facebook to show times but still need it on website. All day looks like the meeting starts at 6AM and finishes 12pm
Ok, you just mean if it's an All Day Event you just want to show the Event and not "All Day" next to it. That seems reasonable.
That said, it is a bit complex to pull it out.
You could override the model by copying
/packages/calendar/models/calendar_event.php
to
/models/calendar_event.php
Then changing around like #78
to
Not sure, but might be worth a shot.
Best Wishes,
Mike
That said, it is a bit complex to pull it out.
You could override the model by copying
/packages/calendar/models/calendar_event.php
to
/models/calendar_event.php
Then changing around like #78
if ($this->isAllDayEvent()) { return t('All Day.'); }
to
if ($this->isAllDayEvent()) { return ''; }
Not sure, but might be worth a shot.
Best Wishes,
Mike
Excellent - - - it worked
cool..... thanks
cool..... thanks
Glad to hear it.
Best Wishes,
Mike
Best Wishes,
Mike
Attention: Since there has been no activity on this issue for two weeks, this issue has been automatically archived.
To re-open this issue, reply to this message.
To re-open this issue, reply to this message.
I'm not sure if I fully understand you.
Are you saying that the Agenda View is showing All Day even if "All Day" is unchecked?
Best Wishes,
Mike