boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Calendar in b2

 
Post new topic   Reply to topic    boardom Forum Index -> How to ?
View previous topic :: View next topic  
Author Message
winwintoo



Joined: 13 Sep 2004
Posts: 3

PostPosted: Mon Sep 13, 2004 11:24 pm    Post subject: Calendar in b2 Reply with quote

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
View user's profile Send private message Visit poster's website
Sigg3



Joined: 03 Jul 2003
Posts: 643
Location: Oslo, Norway

PostPosted: Tue Sep 14, 2004 8:52 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
winwintoo



Joined: 13 Sep 2004
Posts: 3

PostPosted: Tue Sep 14, 2004 1:10 pm    Post subject: Reply with quote

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 Very Happy Very Happy

Thanks for the info,

Margaret
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> How to ? All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group