Easy PHP Calendar - We really take care of your dates!


Go Back   Easy PHP Calendar > General Discussion > Customizations (Themes / Templates)

Customizations (Themes / Templates) Help with customizing the themes and templates. Post your own custom themes for others to enjoy.

Closed Thread
 
Thread Tools Search this Thread Display Modes

hide current month in multi display
Old 03-13-2006, 12:59 PM   #1
northof49
Calendar User
 
northof49 is offline
Join Date: Mar 2006
Posts: 1
Default hide current month in multi display

I want to use the multi display calander, however I want to know how to hide the current month. So if I want 3 months displayed lets say April-May-June for example, all I want to see is those three months. I dont want to see the current month, and then the three months.

X <-- how do I hide the current month

X Y Z <-- this is April May June

thank you!
 

Old 03-13-2006, 03:16 PM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Just before requiring the multi-mode calendar, add this:

<?php
$mo++;
if ($mo>12) {
$mo=1;
$yr++;
}
?>
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 04-24-2006, 03:22 PM   #3
matthewgorlando
Calendar User
 
matthewgorlando is offline
Join Date: Apr 2006
Posts: 30
Default

When I do this with the multi-calendar, toc, and list modes displayed, the list mode then shows events for the next month. How do I fix this?
 

Old 04-24-2006, 03:26 PM   #4
matthewgorlando
Calendar User
 
matthewgorlando is offline
Join Date: Apr 2006
Posts: 30
Default

Also...is there any way to make the multi calendar smaller? I tried changing the $epcMultiWidth = "600px" but it didn't seem to do anything.
 

Old 04-24-2006, 03:58 PM   #5
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Quote:
Originally Posted by matthewgorlando
When I do this with the multi-calendar, toc, and list modes displayed, the list mode then shows events for the next month. How do I fix this?
Reverse the operation just beofre the List Mode:

<?php
$mo--;
if ($mo<1) {
$mo=12;
$yr--;
}
?>
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 

Old 04-24-2006, 03:58 PM   #6
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Quote:
Originally Posted by matthewgorlando
Also...is there any way to make the multi calendar smaller? I tried changing the $epcMultiWidth = "600px" but it didn't seem to do anything.
If you want the actual calendar smaller, edit the CSS of the theme you're using to make it smaller.
__________________
-- Brian

Questions?

Instructions: Version 6 - Version 7 | FAQ | Errors FAQ | Paths FAQ | Forums | Support
| Web Site Hosting
 
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
current date display oss General Support 4 06-06-2005 02:19 PM
Categories fail outside of current month lynne General Support 7 04-30-2005 08:39 PM
V5 and the 6 month display code tthome General Support 8 06-23-2004 04:52 PM
display back/same/next month same page payola General Support 7 11-26-2003 01:58 PM
how to display 12 month? caballonegro General Support 2 09-16-2002 12:55 AM



All times are GMT -4. The time now is 05:21 AM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright 2009 NashTech, Inc.

| Home | Register | Today's Posts | Search | New Posts |