View previous topic :: View next topic |
Author |
Message |
maimiti
Joined: 16 Sep 2003 Posts: 11
|
Posted: Mon Feb 09, 2004 9:16 pm Post subject: Remove year display |
|
|
I don't want the calendar to display the year, only the month and the arrows to previous months. How do I do that? |
|
Back to top |
|
 |
Timi
Joined: 23 Jul 2003 Posts: 70 Location: Hungary
|
Posted: Tue Feb 10, 2004 6:03 pm Post subject: |
|
|
Go into your index.php or b2.php whichever is your blog, and take out the necessary parts of your PHP script. |
|
Back to top |
|
 |
maimiti
Joined: 16 Sep 2003 Posts: 11
|
Posted: Tue Feb 10, 2004 9:51 pm Post subject: |
|
|
no can do. it's not the index.php that needs to be modified but the b2calendar.php witch creates the calendar. i just don't know wich part of the code that controls the display of the year.
at this point it looks like this << february 2004 >>, but i only want it to show the month and the arrows, not the year. |
|
Back to top |
|
 |
Timi
Joined: 23 Jul 2003 Posts: 70 Location: Hungary
|
Posted: Wed Feb 11, 2004 4:58 pm Post subject: |
|
|
Oh sorry, I misread it...
Try this
In line 29 there's something like
Code: | $calendarmonthformat = 'F Y'; |
Remove Y, that marks the year in PHP. |
|
Back to top |
|
 |
maimiti
Joined: 16 Sep 2003 Posts: 11
|
Posted: Mon Feb 16, 2004 1:08 pm Post subject: |
|
|
Thanks :o) |
|
Back to top |
|
 |
|