1. mauibay
  2. JEvents 1.5 Help
  3. Tuesday, 18 March 2008
The Event Details is missing the event date!

It's not very useful to click on an event from somewhere like the Latest Events module and then the event details content doesn't give the dates of the event. The 'Component 2' tab in configuration has a section for hiding/showing "Settings related to Event Detail" but it only has:

View mail No Yes
View "By" No Yes
View "Hits" No Yes
View Repeat and time

I need to "View Dates" as well, since event details without dates is rather confusing <!-- s:o --><img src="{SMILIES_PATH}/icon_e_surprised.gif" alt=":o" title="Surprised" /><!-- s:o --> What am I misunderstanding?

Also, is there a way to hide the VCAL link in the Event Details display? I have no need for that icon link, or the printer icon link either. Do I need to remove them in the source, or is there a setting to hide those as well?
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
What sort of event are you not seeing the date on? Also what layout are you using?
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
  1. more than a month ago
  2. JEvents 1.5 Help
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
All types of events. It doesn't matter which layout, but most of my testing has been with Default and EXT. It doesn't matter what method I use to display the event details, the date is never displayed.

For example, I can use any of "See by Month", "See by Year", "See by Week" etc. or the Latest Events module, or the search feature to find events. When I click on any event, the component displays the event details, which gives the contents of the fields activity, location, email, an extra info. But it doesn't show the date!

When using the "See by Year" it gives a nice list of all events grouped by month, but no dates. When I click on any event in the list it shows the details for that event, but _still_ doesn't show the date. So I only know what month the event is, since it was grouped in that month on the list, but I see no way for people to actually see what dates and event has without looking for the event on a monthly or weekly calendar view.

When displaying event details, the date should be displayed along with all the other fields, it shouldn't be assumed that the user knows the event date since there are several ways to view events without a date ever being visible.

Perhaps there is something wrong specific to my setup? Do you mean to tell me that on your system clicking on a single event displays the date along with the other detail fields? Perhaps somebody can give me a demo site where this happens so I know I'm not crazy?

Currently the only way I see to have the date shown with the rest of the event details is to manually type it into the activity or extra-info fields for the event, since those fields do get shown in the event details.
  1. more than a month ago
  2. JEvents 1.5 Help
  3. # 2
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
Ok I see it now. Most of my events are repeating events (which all show the date and time).

I'll get onto it.

Geraint
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
  1. more than a month ago
  2. JEvents 1.5 Help
  3. # 3
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
A trivial fix

In components/com_events/events.class.php function repeatSummary at line c. 1296 change

if ($this->_freq=="none"){
return;
}
to

if ($this->_freq=="none"){
return $sum;
}

I'll commit the fix to SVN now.

Geraint
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
  1. more than a month ago
  2. JEvents 1.5 Help
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks for the quick response! However, that patch doesn't appear to produce any different results for me.

I have several events, all non-repeating, some are single day timeless, and others span multiple days. (I found a problem with multiple-day events being set timeless, the end-date gets set incorrectly, but that's another story.)

Regardless of the event, the "Event Detail" view does not show the event date. Under the icon toolbar it displays the subject, location, and email, but that's all. (The activity and extra info fields are not displayed because they are empty in my case.)

The simplest method I have to reproduce it is to click on the "See by Year" toolbar icon, then click on any event in the list. (Note that dates are not displayed in that list, either.) When the event details are shown, there are no dates or times displayed at all. If you cannot reproduce this, then I must have a configuration issue that's resulting in the bug. I could email you a URL if you need to see it happen on my site.
  1. more than a month ago
  2. JEvents 1.5 Help
  3. # 5
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
Are these the new style iCal events or the deprecated old style events. The fix definately works for iCal events.

JEvents 1.5 is still alpha code so bug reports are very welcome and its unlikely that the problem is just your configuration. I'd be interested in heading about your multi-day timeless event problems in more detail

Geraint
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
  1. more than a month ago
  2. JEvents 1.5 Help
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
This is my first use of jevents, I've never used old style events and am using iCal events. (I create the events from the "Manage iCAL Events" icon on the control panel.

I just discovered that after adding that patch if I configure "View Repeat and time" to yes, the date(s) are now displayed. So that's much better.

However, I _don't_ want repeats and times to be displayed (which is why that was turned off) so now I just need to find a way to hide the times. (Since I don't actually have any repeating events, displaying repeats isn't much of an issue for me at this point.)

The reason I don't want to display times is because all the events are date-only and do not have specific times known in advance, so I prefer to avoid confusion by having to give times that may be incorrect. Which brings me to explaining the problem with timeless multi-day events:

When I create an event with different begin/end dates and mark it "All day Event or Unspecified time" and save it, the end-date is moved backward one day and the time set to 23:59.

For example, if I check the "All day Event or Unspecified time" box and set the start-date to April 4 and the end-date to April 5 then save the event, the resulting event's start-date is April 4 (which is correct) and the end-date is April 4, not April 5 as I specified.

I can work around this bug though by just setting timeless events to end one day later than intended, so that they get saved with the correct end-date. So I think I have everything I need working at this point with workarounds.

I also just noticed that although I have it set to show repeats and times, the times are only shown for multi-day events. Single-day timeless events do not display times, but multi-day timeless events do. So I just need to hide those to have it all the way I want.

Very nice component, and I know the community will appreciate the new version. Thanks!
  1. more than a month ago
  2. JEvents 1.5 Help
  3. # 7
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
Can you double check that your FTP upload of the modified file worked? The event detail should show the dates/times with this enabled

Re your all day event/unspecified time - the thinking behind this was for events that occur on a specific date but a non-specific time e.g. a birthday. It wasn't designed for multi-day non specific time events since it would only appear in the calendar once on the start day. I would recommend that you use a daily repeating all-day event for this type of situation.

Geraint
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
  1. more than a month ago
  2. JEvents 1.5 Help
  3. # 8
Accepted Answer Pending Moderation
0
Votes
Undo
Hello!

It is only when in year view and you clink on the link for an event, that you get no "banner/heading" showing the date for that event. You only get the description.

Also, I too am trying to get the date to be displayed in year view where it shows the month and then just a list of events. The events also need to be sorted by date in that view. Right now they are unordered.

Could you point me to the code section where I could add the date and also where it it pulled from database so I can add a sort statement on event start date asc?

Thanks!!

Mike
  1. more than a month ago
  2. JEvents 1.5 Help
  3. # 9
Accepted Answer Pending Moderation
0
Votes
Undo
Correction,

It seems when you go to ANY detail view from view_year,month,week you don't get the date or header, just the description

Also tried the fix for sorting by date it the next topic but that didn't change to unsorted events list for me either.

My events are all ical

Thanks!!

P.S. Thanks for this great mod! :)
  1. more than a month ago
  2. JEvents 1.5 Help
  3. # 10
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo

It is only when in year view and you clink on the link for an event, that you get no "banner/heading" showing the date for that event. You only get the description.

Can you give me the URL (I don't need the domain if this is private or on a test server - just the bit after the domain?

Also, I too am trying to get the date to be displayed in year view where it shows the month and then just a list of events. The events also need to be sorted by date in that view. Right now they are unordered.

This is true - I've added it to the list of things to fix.

Could you point me to the code section where I could add the date and also where it it pulled from database so I can add a sort statement on event start date asc?

Unfortunately this is not trivial to explain. If you're willing to dive in that far I'd recommend you get a PHP development environment and a debugger and single step through the code. There are some free and cheap commercial options out there.

Geraint
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
  1. more than a month ago
  2. JEvents 1.5 Help
  3. # 11
Accepted Answer Pending Moderation
0
Votes
Undo
Can you double check that your FTP upload of the modified file worked? The event detail should show the dates/times with this enabled
It's not a matter of my changes not making it to the server, I don't use FTP, and in any case I am editing the file from a shell on the server itself. The cause was my not realizing that hiding "repeats and times" would also hide dates as well. Times and Dates are different things, and the UI labelling in the options for Event Details says to hide times, not dates, yet does both. That option implies a feature that does not exist (which happened to be what I wanted) to hide repeats and times from the event detail summaries.
Re your all day event/unspecified time - the thinking behind this was for events that occur on a specific date but a non-specific time e.g. a birthday. It wasn't designed for multi-day non specific time events since it would only appear in the calendar once on the start day. I would recommend that you use a daily repeating all-day event for this type of situation.Geraint
I see. That isn't practical because then the date given for any day in a multi-day event would show it to be a single-day event when it's not. Your birthday example is in fact a single-day event that repeats, but there are many types of events that are in fact timeless multi-day but do not repeat. In my case, the events are art exhibitions where the artist's work is on display for a given range of dates. For example, if an exhibition runs from June 4 to June 11, I need it to give those dates for the start and end dates and have a single entry in the calendar since it is a single event. It wouldn't be right for the visitor to click to the event details and see it as a single-day event when it's not. Perhaps I'm misunderstanding how repeating single-day events work, so I'll play with that some more.

At a more basic level, I don't see in any case a reason for times to be displayed for any event that has been marked "All Day" and timeless. It doesn't make sense to have times showing 00:00:00-23:59:59 for such events, and it's inconsistent behavior for the times to be properly hidden for timeless single-day events yet not for multi-day events. It's a simple patch, too, since you can just add a test for $this->alldayevent before appending $this->start_time when building $sum in your output code for multi-day events. In my case I just removed adding the times to the string since there's no cases where I want them displayed.

Regardless, I had no difficulty patching out the source that adds the dates to multi-day events so now have my display appearing how I want. Thanks to opensource and your readable code! :)
  1. more than a month ago
  2. JEvents 1.5 Help
  3. # 12
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
I'll have another think about this whole issue - what is there at the moment doesn't quite work as it should.

Would you want the summary to say "daily from 13 March 2008 to 30 March 2008" of just "13 March 2008 - 30 March 2008"?

You would want the event to show on the calendar each day and not just on the first day wouldn't you?

Geraint
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
  1. more than a month ago
  2. JEvents 1.5 Help
  3. # 13
Accepted Answer Pending Moderation
0
Votes
Undo

Also, is there a way to hide the VCAL link in the Event Details display? I have no need for that icon link, or the printer icon link either. Do I need to remove them in the source, or is there a setting to hide those as well?


Was there any answer to this?
  1. more than a month ago
  2. JEvents 1.5 Help
  3. # 14
Accepted Answer Pending Moderation
0
Votes
Undo
I'll have another think about this whole issue - what is there at the moment doesn't quite work as it should.

Would you want the summary to say "daily from 13 March 2008 to 30 March 2008" of just "13 March 2008 - 30 March 2008"?

In my case I want it to display just as it currently does, just without any time after the dates. Only the dates are relevant since the event is timeless. So my answer would be as it is now, which is "From Thursday, March 13 2008 to Sunday, March 30 2008". Having the word "daily" in there doesn't make sense to me for a range of dates that are already "days", it would be redundant. It might make sense for events that have times though, since "daily at hh:mm am/pm" seems appropriate.


You would want the event to show on the calendar each day and not just on the first day wouldn't you?

Yes. As it currently works is fine for my current project where the event may be participated in on any day. However, I can easily imagine having a scenario where the events could only be attended from day one and so having only the start date on the month or week calendar view would be preferable. For example, if my events were multi-day professional training classes, I might want only the start-dates for each class to appear on the calendar to minimize confusion and clutter. The event details would show the dates, only the first day of class need be on the calendar views.

So I think it would be a good option to be able to hide/show all the dates after the first date on the calendar, although my current need works best if they are shown.
  1. more than a month ago
  2. JEvents 1.5 Help
  3. # 15
Accepted Answer Pending Moderation
0
Votes
Undo

Also, is there a way to hide the VCAL link in the Event Details display? I have no need for that icon link, or the printer icon link either. Do I need to remove them in the source, or is there a setting to hide those as well?


Was there any answer to this?

Not that I've noticed. My solution is to remove it from the display code. It confuses the typical users who have no idea what it is, don't understand the icon and have no need for that functionality. Personally I think it's potentially interesting as a feature, but I can't imagine any scenario where a visitor to one of my websites would both understand and have functional use for it. In my opinion it should be hidden by default, but in any case there should at least be an option to hide it. I also have no use for the print icon, but I suspect that might be a more popular and useful feature to many.
  1. more than a month ago
  2. JEvents 1.5 Help
  3. # 16
Accepted Answer Pending Moderation
0
Votes
Undo
My thoughts exactly.

Which file had that code in it. I have been searching for "vcal" but haven't found anything.
  1. more than a month ago
  2. JEvents 1.5 Help
  3. # 17
Accepted Answer Pending Moderation
0
Votes
Undo
My thoughts exactly.

Which file had that code in it. I have been searching for "vcal" but haven't found anything.

I grepped for 'vcal' and found the relevant display code in layouts/default/eventsView.php
  1. more than a month ago
  2. JEvents 1.5 Help
  3. # 18
Accepted Answer Pending Moderation
0
Votes
Undo
I grepped for 'vcal' and found the relevant display code in layouts/default/eventsView.php


Thanks. I found it. I have never used grep. May have to learn that...
  1. more than a month ago
  2. JEvents 1.5 Help
  3. # 19
Accepted Answer Pending Moderation
0
Votes
Undo
Joomla1.5alpha
Jevents 1.4.3SVN
legacy mode

First post on this forum.

I have the same (or similar) problem in that when I do a "see by year" the events are listed and grouped against each month but the individual event dates for each event are not showm.

Please note, when I select an event then I do see all of the details of the event (including date), however I need to see the date against each event in the main summary list of the year.

Can anybody explain how to configure this so that I can see the event date?

Even if the events were just listed (as in the "see by week" view) then that would be fine but obviously for the whole years events and not just the week. Maybe an alternative "fix" would be how to configure the "show by week" to cover the whole year?

I am new and no expert on any of this but it would be useful if someone could point me to the part of code which deals with this field formatting then I could compare how it is done for the "show by week" and compare with "show by year", that would be helpful.

Also, I have tried to paste an image of what I see below but as the image url is on a local test site I am not sure you will see it properly. Apologies if not.

[img]http://localhost/jevents-year-view.bmp[/img]

My intention is to use Jevents as the basis for my daughter's local football team site. If anybody has used it for similar sports events I would welcome to see some links for example presentation/formatting of Jevents for similar use.

Thanks
Paul.
  1. more than a month ago
  2. JEvents 1.5 Help
  3. # 20
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.