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

Ability to supply date range and category
Old 09-17-2007, 11:44 AM   #1
abielski
Calendar User
 
abielski is offline
Join Date: Sep 2007
Location: Atlanta, GA
Posts: 7
Default Ability to supply date range and category

It would very helpful if we could specify a date range and category and have the result based on these parameters.
 

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

Altough you cannot give a date range, you can achieve similar results by setting $mo and $yr and $listDays/$listMonths/$listYears/etc... Along with $showCat, it should match what you need.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Thanks
Old 09-18-2007, 06:24 AM   #3
abielski
Calendar User
 
abielski is offline
Join Date: Sep 2007
Location: Atlanta, GA
Posts: 7
Default Thanks

Below is the code I ended up with.

This worked well. Thanks!

<?php
$LIST=1;
//$mo $yr $listDays $listMonths $listYears $showCat
$mo=1;
$yr=2007;
$listMonths=12;
$listYears=1;
$showCat=2;
$template="blog.php";
require("calendar.php");
?>
 

Old 09-18-2007, 06:26 AM   #4
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

It's probably best to use only one of the various $listX variables at a time. The ones available are,

$listEvents
$listDays
$listWeeks
$listMonths
$listYears
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 09-18-2007, 06:32 AM   #5
abielski
Calendar User
 
abielski is offline
Join Date: Sep 2007
Location: Atlanta, GA
Posts: 7
Default

Thanks! I removed $listYears=1;

I assume I could plug a specific event by providing the ID?
 

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

There is no facility to point to a specific event.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 
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



All times are GMT -4. The time now is 08:50 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 |