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.
I copied calendar-month.tpl.php to my theme folder for customize reasons. Since that moment node links look like this:
<a href="/drupal/node/16" title="&amp;lt;a href=&amp;quot;/drupal/node/16&amp;quot; title=&amp;quot;Sommerferien&amp;quot; alt=&amp;quot;Sommerferien&amp;quot;&amp;gt;Lehrer- fortbildung&amp;lt;/a&amp;gt;" alt="&amp;lt;a href=&amp;quot;/drupal/node/16&amp;quot; title=&amp;quot;Sommerferien&amp;quot; alt=&amp;quot;Sommerferien&amp;quot;&amp;gt;Lehrer- fortbildung&amp;lt;/a&amp;gt;">Lehrer- fortbildung</a>
This is with the original calendar-month.tpl.php from calendar/theme/ !
And now how it looks like without this file in my theme folder:
<a href="/drupal/node/16" title="Sommerferien" alt="Sommerferien">Lehrer- fortbildung</a>
Does anyone have the same issue?
Comments
Comment #1
haggins CreditAttribution: haggins commentedwithout rewriting the node-title fields output to 'Lehrer- fortbildung' it looks even more terrible:
Comment #2
haggins CreditAttribution: haggins commentedI did a little research and found out that you need 'template_preprocess_calendar_month()' in your template.php to reproduce it.
Following steps should reproduce the problem:
1. use Garland theme
2. copy function 'template_preprocess_calendar_month(&$vars)' from calendar/theme/theme.inc to function 'phptemplate_preprocess_calendar_month(&$vars)' in template.php at Garlands folder
3. copy calendar-month.tpl.php from calendar/theme/ to Garland folder
Comment #3
haggins CreditAttribution: haggins commentedOk, I've got a solution. Maybe a maintainer should have a look over this issue whether this is a bug or not.
After you did everything mentioned in #2 do the following:
1. copy 'template_preprocess_calendar()' from calendar/theme/theme.inc to function 'phptemplate_preprocess_calendar()' in template.php at Garlands folder.
2. in your new phptemplate_preprocess_calendar() replace line
with
3. in your phptemplate_preprocess_calendar_month() replace line
with
Comment #4
solide-echt CreditAttribution: solide-echt at Solide BV commentedThe D6 branch is no longer supported so we're closing this issue. If you think this issue still exists in D7 you can open a new one.