in D7 month in the title was a link to month views page.
in D8 monts in title dont have a link.
whether title to make a reference, if so, how?

CommentFileSizeAuthor
#13 title-mini-calendar-2679833-13.patch1.32 KBram4nd
#6 1.jpg126.62 KBfomenkoandrey
#6 2.jpg141.66 KBfomenkoandrey
#6 3.jpg75.67 KBfomenkoandrey
#3 month_in_title_of_mini-2679833-3.patch1.59 KBAnonymous (not verified)
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

fomenkoandrey created an issue. See original summary.

fomenkoandrey’s picture

how to solve?

Anonymous’s picture

Status: Active » Needs review
FileSize
1.59 KB

That link was provided by the date_views module, which isn't ported to D8 yet. In the attached patch, I tried to address the issue anyway. Can you check whether or not this fixes the issue for you?

fomenkoandrey’s picture

aply patch, but still no link in block title.

Anonymous’s picture

Status: Needs review » Postponed (maintainer needs more info)

Can you give more information on the steps I should take to reproduce the issue?

fomenkoandrey’s picture

FileSize
75.67 KB
141.66 KB
126.62 KB

In Drupal 7 it was so...

Month - is a link to the month page:

1

2

But Drupal 8 is not referenced.
I tried to put a patch, but it does not work, the link does not appear.

3

In addition, i can not change the text for prev|next month buttons, so head of the mini-calendar block looks bad.
I hope you pay attention to it.
Thank you.

Anonymous’s picture

Status: Postponed (maintainer needs more info) » Needs work
fomenkoandrey’s picture

is there any progress in this solution?

sukanya.ramakrishnan’s picture

Any progress in this solution?

regards
Sukanya

santiagoborja’s picture

I read this thread and I was able to create a very simple patch for my project based on your information, thank you!
Instead of modifying the file "calendar-header.html.twig" I modified: "calendar-mini.html.twig" (options.month_name)
I passed another field (options.month_name_link) from this file "calendar.theme.inc" and used the same if else twig modification.
I did not modify any other files.
My patch depends on the url format that my project uses, this is why I have not uploaded this patch to drupal.org but it is quite simple to implement.

Rassoni’s picture

Assigned: Unassigned » Rassoni
Rassoni’s picture

Assigned: Rassoni » Unassigned
ram4nd’s picture

Status: Needs work » Needs review
FileSize
1.32 KB

Not sure if this is the best way to get the month, but it works.