1

I have calendar installed on my site. I have created a content type named events. The events content type has three fields title, event time(time only not date and its of type time) and day.

I have modified the block of the calendar view. I have selected the week from calendar format settings so that it should display the week view.

Now I want to list all the events under the monday which have the monday selected in the day field, all the events under the tuesday which have the tuesday selected in the day field and so on.

Format:

Mon              tue               Wed              Thu Fri               Sat               Sun

event1          event2

Monday        Tuesday

2:30              2:30

1

Calendar module creates a node for each day.So all you need to do is create a field of type date in your content type and then create nodes.

Alternatively,you can try using jquery fullcalendar plugin(http://code.runnable.com/UfNTSnKMU1ZgAACt/how-to-add-calendar-using-jquery-and-fullcalendar) and provide data for each day programmatically.

0

You can try creating a view with. The FORMAT could be "Table" and you have to use on the setting "Grouping field Nr.1".

On Grouping field Nr.1 you can select your day field.

I hope it's what you are looking for.

  • No, I want to use the calendar module. And the current events which I have created will be repeated for all the weeks. And in the future there will be some events which will be displayed in their perspective week only. – Ahmad Sep 5 '12 at 14:36
  • Are you using date repeat? – Tyler Durden Sep 5 '12 at 14:40
  • Yes I have installed the the date repeat api module. But does not know how to modify the view to repeat the events. – Ahmad Sep 5 '12 at 15:00
  • On the date field of your content type you should give the option of the Repeating date – Tyler Durden Sep 5 '12 at 15:10
  • 2
    I think you should switch to date field in order to get what you want. There you can use the repeating option and get the calendar style. – Tyler Durden Sep 6 '12 at 13:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.