Use case:
When I'm looking at a particular month on the calendar page or an event, I might want to reset the dates on the mini-calendar to match the dates in the URL args. When a hook_calendar_block implementation gets invoked via ajax, the request path is always "calendar_block_ajax", instead of e.g. "calendar/2010/03/29"
The attached one-liner adds the current request URL to the data array in the ajax request.
| Comment | File | Size | Author |
|---|---|---|---|
| calendar_block-include_request_url.patch | 354 bytes | aaronbauman |
Comments
Comment #1
c4rl commentedUpcoming dev release of calendar block will have a GET request with the month and year in the URL.
Comment #2
c4rl commentedDue to mis-communication among the maintainers, the dev release has been rolled-back and this issue shall remain pending as the maintainers determine a way forward.