I'm using calendar on my web page. For quite a while I'm try to figure it out, how to hide << prev. I don't want users to search for previous monts, i just want to have >> on my calendar view. Is there any way to do that?
Thanks for your help
Bostjan
<SOLVED> Hiding << prev in Calendar
<SOLVED> Hiding << prev in Calendar
Last edited by bmohor3 on Thu Mar 17, 2011 8:15 pm, edited 1 time in total.
Re: Hiding << prev in Calendar
Look at your calendar template. It's in the 'caption' section of the table if you're using the default template. Just remove what you don't want.
Code: Select all
<caption class="calendar-month"><span class="calendar-prev"><a href="{$navigation.prev}">«</a></span> {$month_names[$month]} {$year} <span class="calendar-next"><a href="{$navigation.next}">»</a></span></caption>
Re: Hiding << prev in Calendar
D**n, I must be blind. Thanks for your anwser.
Re: Hiding << prev in Calendar
If they go tot the next month of the calendar how will they get back to this month if you remove that?...
Re: Hiding << prev in Calendar
The back button in the browser? Or you can check to see if the month matches the current month, then remove the <<, else show it.