Remove Time Stamp / Day & Week View

skanag
skanag
Offline
0
Our events are mostly full-day or even cover some days. Therefore the day and week view are a bit useless. I see that it is probably much work to deactivate these views completely, but is it possible to remove the time from the month and list view, as it only says 00:00:00?
Responses (6)
  • Accepted Answer

    Thursday, October 30 2014, 05:26 PM - #Permalink
    0
    well, it shouldn't be too difiicult to hide this, but you will need to change it by code.
    for example, for the list view:
    if you open /components/com_calendarplanner/views/events/tmpl/default.php and go to line 170 approx, you will see that the hour is printed. you would just need to get ride of it.
    The reply is currently minimized Show
  • Accepted Answer

    skanag
    skanag
    Offline
    Friday, October 31 2014, 07:22 AM - #Permalink
    0
    Thanks. That was really simple for the list view, but it's not that easy for the month view, as it's not acctually just printed out?! Could you tell me, where I can remove it there?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, October 31 2014, 11:16 AM - #Permalink
    0
    yes, in the month view it's in a different place. where you want to hide it, exactly? when you click on an event? or directly on the little color box shown?
    The reply is currently minimized Show
  • Accepted Answer

    skanag
    skanag
    Offline
    Friday, October 31 2014, 12:00 PM - #Permalink
    0
    These ;)
    Attachments:
    • skanag
      more than a month ago
      but, asked like this... it would make sense to not have the time shown in that detailfield as well.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, October 31 2014, 08:03 PM - #Permalink
    0
    the best way to do it in that case is just hide it using CSS.
    add this to your template CSS:

    .hour_start{
    display:none;
    }
    The reply is currently minimized Show
  • Accepted Answer

    skanag
    skanag
    Offline
    Monday, November 03 2014, 07:31 AM - #Permalink
    0
    This works, thank you!
    The reply is currently minimized Show
Your Reply