I cannot figure out how to simply display the From Date, on June 2, for instance, instead of having the From Date repeat every day until the To Date arrives (june 5)

My CCK is Datetime (Text Field with Date Pop-up Calendar)

My options allow a user to set From and Date Times.

Set CCK Display to only show From Field.

Set my Views Field to only display From Date.

But still, I get the June 2nd event showing on June 3, 4, 5. I would just like to display the event on the 1st day (From Date). I have set every possible option to display From date Only.

Don't know what I'm doing wrong.

Thank you for any help.

Is this the same issue as is being discussed here? http://drupal.org/node/593798
Similar issue but i think different from: http://drupal.org/node/250793

Comments

mariomc’s picture

I'd also like to know how to do this, if possible

I do know that when there's a case of a repeating event, you can make only the first event show by adding a delta = 0 filter to the argument field.

calefilm’s picture

Hi mariomc,

Try DATE SINGLE DAY: http://drupal.org/project/date_single_day

if you'd rather have a pop-up calendar appear with the use of a simple date box (without To or From) so that you just have 1 date show up on the node and none of the extra junk... then do this:

create date field

field type: datetime
widget type: Text Field with Date Pop-up and Repeat options

Default: Blank
Default value for To date:
Blank

input format: (optional) in order to edit any of these input formats, please see my "edits to Date Module" below

custom input format: m-d-Y

time increment: (optional)

To Date: Never

Granularity: select Year, Month, Day Hour and Minute together

Default display: any

repeat display: collapsed







OPTIONAL Edits to Date module

----------------

module: DATE
edit: Will get rid of that "ALL DAY" stamp that automatically shows up after creating one single date.

reference: http://drupal.org/node/367842
'theme_date_all_day_label'

folder: date/date/date.theme
line: 301
code: return '('. date_t('All day', 'datetime') .')';
change: return ''. date_t('', 'datetime') .'';

-----------

----------------------------------------------
module: DATE REPEAT MODULE (Within DATE MODULE)
Edit sites/all/modules/date/date_repeat/date_repeat_form.inc
edit: will not display 'Repeat' anymore (as I found the whole repeat function unnecessary)

Line 68:
$element['#title'] = t('Repeat');
change to: $element['#title'] = t('');
------------------------------------------------

DATE MODULE
Edit sites/all/modules/date/date_api_formats_list.inc
edit: Will allow you to create 2 custom date inputs/outputs: i.e. 09/12/2010

line 41
added these 2 entire arrays:
);
$formats[] = array(
'type' => 'short',
'format' => 'm/d/Y',
'locales' => array(),
);
$formats[] = array(
'type' => 'short',
'format' => 'g:ia',
'locales' => array(),

------------------------------------------------
DATE MODULE
sites/all/modules/date/date pop up/.module
edit: gets rid of 'Format: @date' instructions because I found them to be unnecessary for what I was doing

line 259: (deleted 'Format: @date')

$sub_element['#description'] = ' '. t('Format: @date', array('@date' => date($date_format, time())));
return $sub_element;

line 296: (deleted 'Format: @date')

$sub_element['#description'] = t('Format: @date', array('@date' => date($time_format, time())));
return ($sub_element);

marktheshark’s picture

I have the same issue.

Parties starting end of one day and ending early the next day take up two calendar slots.

I'd much rather have only a slot filled for the start date.

Has anyone solved this?

marktheshark’s picture

Priority: Normal » Major

Sorry for the bump, but this is a very fundamental problem.

It should definitely be possible to display the From date only.

Please advise. Thank you.

calefilm’s picture

Does the Date Single Day module not help you? I think, for the most part, I have resolved this in my case by using that add-on.

marktheshark’s picture

Thanks for the feedback, but no, it doesn't cover my case, because the events always end after midnight.

calefilm’s picture

I'm using the full calendar module. The way I have it set up and the way the snapshot looks on that page, http://drupal.org/project/fullcalendar i'm guessing it doesn't fulfill what you're looking for--probably take up two calendar slots. I could be wrong though.

But will be nice to see this module evolve over time to suit all of our needs! Please post any progress you have

marktheshark’s picture

It seems to me this is something to be fixed by Date / Calendar, not something that requires a separate module to work.

If the user specifies that the view should only display the From Date, the To Date should not be taken into account.

Having the event take up more slots in the Calendar because the To Date is erroneously considered does not make much sense.

brenes’s picture

I do have the same probleme: I only want the from date displayed in the calender and not all dates the event is spanning over. Imagine the event is a university project taking place from 1 Dec until 20 Jan, then the calendar is filled up with unimportant entries. And in this case it doesnt make sense to have the event repeated over and over, cause most students are only interested in the beginning date and the end date. It would be a great feature to have an option to choose if the event should be a) Only displayed on a single day, b) spanning from from date to to date, or c) single entry on from date and to date

calefilm’s picture

I agree Brenes. That sounds like a great idea. In my situation I would have wanted my users to select their dates individually on the node edit date field. . Say the 3rd, 6th and 7th, while skipping 4th and 5th. But this is probably more of a request for the date module. In any case, good thought.

brenes’s picture

Hmm still no acitvity on this question. Meanwhile I found something in the Date issue qeue, which is probably dealing with this question: http://drupal.org/node/250793
As far as I understand this thread it is about the possibility to choose in views, which date (from- or to Date), the generated view should take into account. I assume that the calendar module is not using the distinction, made in the views setting: Show "From" -Date only. Is there anybody who can shed some light on this.
Best regards

martin.l’s picture

Subscribing.

marktheshark’s picture

This is still a problem in 7.x as well.

It's a real blocker for calendar views displays...

ekidman’s picture

Category: support » bug

So I'm guessing there hasn't been a fix for this? I agree that this should not require another module to work. When you select "Show From Date Only", or select only the "From" field in the argument, you'd expect it to only show that data. But, as others have said, it still shows the event on every day from the "From" date to "End" date no matter what you choose. Changing this to a bug report.

apaderno’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

I am closing this issue, since it's for a Drupal version no longer supported.