Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello All,
Bellow are the dates ,I need to show in calendar(using calendar module + date module) to a particular user :
1.The dates of upcoming events.
2.The dates of purchasing product(using ubercart for shopping) of a particular user .
If any one have the solution,please reply it as soon as possible.
Thanks in advance.
Comments
Comment #1
rwilson0429 CreditAttribution: rwilson0429 commentedAdd a contextual filter of Date: Date (node) and, under the Date Field section, select the content types containing the dates that you want to appear on the calendar.
Add another contextual filter for Content: Author UID. When the filter value is NOT in the URL : Provide default value: Type : User ID from logged in user.
That's what worked for me.
Comment #2
rabindrakumar CreditAttribution: rabindrakumar commentedI did not get your second addition of contextual filter for content as it means to only for particular user .
I need to show the dates of the purchased product also along with upcoming events(content type).
Please share the image of views for the same so that it will give more visualization to me.
Thanks again.
Comment #3
rabindrakumar CreditAttribution: rabindrakumar commentedPlease ,Provide me the solution to show the date of purchase product of a particular user in calendar views.
Thanks.
Comment #4
rabindrakumar CreditAttribution: rabindrakumar commentedHello All,
Please ,provide me the solution to show the date of purchase product (ubercart) on calendar of a particular user.
Thank you
Comment #5
rabindrakumar CreditAttribution: rabindrakumar commented