Does anyone maybe know how to change the head prev title and the head next title in cal_default?
I want to be able to change the text: title="Vorige maand september 2009"
Thanks a lot.
Printable View
Does anyone maybe know how to change the head prev title and the head next title in cal_default?
I want to be able to change the text: title="Vorige maand september 2009"
Thanks a lot.
Hi Lostrisq --
Copy cal_default to the /templates/ folder and pop it open. You should see a line here towards the top:
Change this portion:
to this:Code:title="<?php echo $this->prevTitle; ?>"
And that should do what you want. Then you would do the same for the next link, which is right below it.Code:title="Vorige maand <?php echo $this->prevTitle; ?>"
...or if text title = link (anchor) text you can use this:
Hi guys,
Thanks so much for the answers, but it does not really get me where I would like to go.
When using the "vorige maand" title, it only puts out in title, but not on screen.
Strange thing is, the title normally is "november 2009" but the output is "vorige maand november 2009"
When is change PrevTitle to PrevLink it changes the title in "vorige maand november 2009", so same as the output.
I would like to manipulate the output. Is this maybe in the translation? Where can i find these translations? I can only find translated files for the backend.
Thanks again!
Have a look at the files in system/modules/calendar/languages
I cannot find all the translations in modules->calendar->translations.
Where are the translations for the months for instance?
I have solved the problem sort of, by changing prevLink to prevTitle. It now shows the month only.