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


Go Back   Easy PHP Calendar > General Discussion > General Support

General Support Questions about using the Easy PHP Calendar. (Not installation or customizations)

Closed Thread
 
Thread Tools Search this Thread Display Modes

Display Events for the present day only!
Old 09-16-2004, 10:11 AM   #1
LazaroWolf
Calendar User
 
LazaroWolf is offline
Join Date: Sep 2004
Posts: 9
Default Display Events for the present day only!

Hello,

I have installed this particular calendar (http://www.ampelokipi.gr) and I would like to know if there is the possibility the event display to display only the vents of the present day.

Also, can the days, that have events stored in, a link so that the client to browse the events of the selected day?

Thank you in advance.
 

Old 09-16-2004, 10:34 AM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

For your first question, yes and it's easy to do so.

If you base yourself on the demo.php, here's the code you originally added to get the listing module

PHP Code:
<?php
$LIST
=1;
$DF "D - M d"
$template="monthly2.php";
require (
"showCalendar.php"); 
?>
what you need to do, is simply add two lines that will define which days the module can display. You should end up with this.

PHP Code:
<?php
$LIST
=1;
$noOld 1;
$listDays 1;
$DF "D - M d"
$template="monthly2.php";
require (
"showCalendar.php"); 
?>
The $noOld = 1 makes it so that all events that occured yesterday or before are not shown.

The $listDays = 1 makes it so that there's only 1 day from today that the events are shown... when you join both, only today's events are listed.

As for your second question, what you could do, is enable the on-click popup, or the on-mouseover popup and the popup would then have that day's events listed.

Hope this helps.
 

on-Click Popup
Old 09-16-2004, 04:46 PM   #3
LazaroWolf
Calendar User
 
LazaroWolf is offline
Join Date: Sep 2004
Posts: 9
Default on-Click Popup

Also, I would like to know which pages opens by clicking on the dates of the calendar. I am asking this, becase I would like to translate it to Greek and convert the Language Script. Thank you.
 

Old 09-16-2004, 08:00 PM   #4
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

Those files should be escalEV.php (on-click popup) and escalEVO.php (mouseover popup).

Once done, please send your files to Brian as he'll more than likely want to have your translation.
 

Old 09-16-2004, 09:01 PM   #5
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Everything in the pop-up files should be customized to the language in your setup manager. Did I overlook something?
__________________
-- 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
events display out of sequence in TOC mode RMJ General Support 8 11-02-2006 12:03 AM
Displaying events for a single day. Kevin Sours General Support 7 10-27-2006 06:39 AM
display events under date gsbe General Support 3 11-04-2004 03:08 PM
Multiple Events on the same day... robclay General Support 1 10-19-2004 05:31 PM
Events won't display gmckenzi General Support 1 08-30-2004 03:45 PM



All times are GMT -4. The time now is 01:27 PM.


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 |