View previous topic :: View next topic |
Author |
Message |
winwintoo
Joined: 13 Sep 2004 Posts: 3
|
Posted: Mon Sep 13, 2004 11:24 pm Post subject: Calendar in b2 |
|
|
I notice there is a file called b2calendar.php in the distribution that I got but it doesn't show up on the default index.php page.
To use this calendar, do I just include it somewhere on the page or is there more to it.
Sorry if I sound dumb today, it's allergy season and my brain cells are having to work extra hard
thanks, Margaret |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 643 Location: Oslo, Norway
|
Posted: Tue Sep 14, 2004 8:52 am Post subject: |
|
|
Sorry about your allergies, always a drag, isn't it?
Now.
You include the b2calendar using <?php include("b2calendar.php") ?>. Note: If you don't add the following css to your preferred style sheet and change it to fit your custom design (if you are using such a thing), it may look a bit daft:
Quote: | You can customise this table with CSS classes:
.b2calendarmonth {}
the style that is used to display the month and year
.b2calendartable {}
the style of the <table> tag (border etc...)
.b2calendarrow {}
the style of the <tr> tag
.b2calendarheadercell {}
the style of the <td> tag that shows the weekdays on the top of the table
.b2calendarcell {}
the style of the <td> tags that show the days
.b2calendaremptycell {}
the style of the <td> tags that are empty
.b2calendarlinkpost {}
the style of the link to the post
.b2calendartoday {}
the style of the day if it is today
|
(I've had annoyed board users nailing me for referring to the readme, but once again I feel obliged to:) _________________ Sigg3 dot net - because you're worth it! | b2 Cafelog Resource Center |
|
Back to top |
|
 |
winwintoo
Joined: 13 Sep 2004 Posts: 3
|
Posted: Tue Sep 14, 2004 1:10 pm Post subject: |
|
|
Sigg3 wrote: | (I've had annoyed board users nailing me for referring to the readme, but once again I feel obliged to:) |
I used to write "readme" files according to instructions from above at my last job and they never said anything useful, so I tend not to read them, sorry about that
Thanks for the info,
Margaret |
|
Back to top |
|
 |
|