berti92 / mega_calendar

Plugin for redmine: Brings a better calendar and more opportunities to display issues and holidays
http://www.devbert.de/index.php/en/project/megacalendar/
MIT License
70 stars 51 forks source link

Q: Howto create link to specific calendar view? #97

Closed albrechtd closed 2 years ago

albrechtd commented 3 years ago

A really nice plugin!

As a (hopefully not too dumb) request for the FAQ's: I would like to hack the :top_menu to add a link to a specific mega calendar view. I.e. if the user clicks the link, the calendar url should be opened, but with a few pre-set items, e.g. “all tickets”, “week view”, and “filter id 3”.

Would this be possible? How?

berti92 commented 2 years ago

Hi @albrechtd,

thank you for your interest in one folder and sorry for my late response. As always with free projects, there is not much time to support them or write new features.

You could archive that really easy, just add a new line to the init.rb of this project right below https://github.com/berti92/mega_calendar/blob/8c7386a45a504473d3ad442aa8f32d78bbb6f4ec/init.rb#L15. Just copy that line and enter your desired location

I hope I helped you!

Best regards Berti