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

Events Filtered Display
Old 10-10-2005, 01:39 PM   #1
jpaulcscr
Calendar User
 
jpaulcscr is offline
Join Date: Oct 2005
Posts: 11
Default Events Filtered Display

I going to include several types of events in the calendar system,

Is any way that i can include the following option filtered:
<?php $OL=1; require("calendar/calendar.php"); ?> Lets say I have soccer fixtures from different leagues, and I create a category for every league, is there anyway that i can display just that league in one page,withoud the people having to filter the list manually.

Thank You.

Paul
 

Old 10-10-2005, 01:52 PM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Sure! Just use the $showCat variable to set the category you want displayed:

http://docs.easyphpcalendar.com/Cust...Variables.htm\

__________________
-- Brian

Questions?

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

Error
Old 10-10-2005, 07:55 PM   #3
jpaulcscr
Calendar User
 
jpaulcscr is offline
Join Date: Oct 2005
Posts: 11
Default Error

I try to add the code to display categories on the demo.php page, but i always get the following error

Warning: main(calendar/plugins/filter.php) [function.main]: failed to open stream: No such file or directory in /sites/clients/www.wagerweb.com/www/pages/events/soccer/calendar/demo.php on line 40

Fatal error: main() [function.require]: Failed opening required 'calendar/plugins/filter.php' (include_path='.:/usr/local/php/lib/php') in /sites/clients/www.wagerweb.com/www/pages/events/soccer/calendar/demo.php on line 40

Thank you for you help now and before.

Paul
 

Old 10-10-2005, 07:59 PM   #4
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Are you using the latest release?

Did you adjust the paths to the filter.php file?
__________________
-- Brian

Questions?

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

Error
Old 10-10-2005, 08:09 PM   #5
jpaulcscr
Calendar User
 
jpaulcscr is offline
Join Date: Oct 2005
Posts: 11
Default Error

Yes I am using the latest release, just installed

id the system is installed in

www.website.com/events/soccer/calendar/

I just Change the path, and now it works, but it just show me one category, and i have several

http://www.wagerweb.com/events/soccer/calendar/demo.php

Thank You

Paul
 

Old 10-10-2005, 08:11 PM   #6
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

I see 2 categories: friendly matches and world cup...
__________________
-- Brian

Questions?

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

Yes, but inside the
Old 10-10-2005, 08:14 PM   #7
jpaulcscr
Calendar User
 
jpaulcscr is offline
Join Date: Oct 2005
Posts: 11
Default Yes, but inside the

Yes but inside the setup manager i have like 15, and some of them have several selections

Thanks
 

Old 10-10-2005, 08:22 PM   #8
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

The filter plug-in can only display the main category. You can use the $showCat variable and the Event Manager to create filters for other categories and their selections.
__________________
-- Brian

Questions?

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

Remove
Old 10-10-2005, 08:38 PM   #9
jpaulcscr
Calendar User
 
jpaulcscr is offline
Join Date: Oct 2005
Posts: 11
Default Remove

Thanks Works Fine

so I can remove the line
<?php require("calendar/plugins/filter.php"); ?>


And just use the events manager filter option to display the informacion I need.



And What files I need to edit to change the order of the information in the list mode,
right now is:


Testing Filters The America’s: Brazil Serie A
Testing Properties of the filter


Thank you, Paul
 

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

Yes. You can remove the filter plugin.

The list mode is ordered automatically first by date, then by time and then by title.
__________________
-- 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
How do I display the Year in Events Listing? cbworks General Support 4 01-21-2005 01:12 PM
display events under date gsbe General Support 3 11-04-2004 03:08 PM
Display Events for the present day only! LazaroWolf General Support 4 09-16-2004 09:01 PM
Events won't display gmckenzi General Support 1 08-30-2004 03:45 PM



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