Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Day Numbers clickable #39

Closed
krambiorix opened this issue Jun 27, 2012 · 3 comments
Closed

Day Numbers clickable #39

krambiorix opened this issue Jun 27, 2012 · 3 comments

Comments

@krambiorix
Copy link

A great feature would be:

when the user clicks the day number in week or month view, that day is shown in day mode.

Agendav misses this feature and should have it soon.

@krambiorix
Copy link
Author

Does anyone have any idea how to do this?

@copiesofcopies
Copy link

I took a little look around the code, and I think I know how to do this (but maybe @adobo can correct me): the day numbers are generated by FullCalendar, not by AgenDAV, meaning you can't just change a template somewhere. I think the easiest ways to do this are 1) to modify the DOM somewhere in /web/public/js/app.js to wrap each number in an <a> element linking to the appropriate view (the elements you're looking for are of the class "fc-day-number"), or 2) to just add a "click" handler to those elements. If you went with the latter implementation, the days wouldn't appear clickable, because they wouldn't be links.

jorgelzpz added a commit that referenced this issue Feb 12, 2017
Now days and week numbers (when enabled) link to the day view and week view
respectively.
@jorgelzpz
Copy link
Collaborator

Day and week numbers will be clickable on next release 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants