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

Displaying from multiple categories
Old 08-31-2005, 03:45 PM   #1
glhasse
Calendar User
 
glhasse is offline
Join Date: Aug 2005
Posts: 9
Default Displaying from multiple categories

I'm going to be using the calendar for our local (small) Boy Scout council's web site. The site I've got this set up on is: http://www.twinvalleybsa.org/calendar. As often is the case in Scouting, this is entirely a volunteer effort, so the purchase of the software was out of my own pocket, and all work is done for free.

So far the calendar's working great. I showed it to the office staff today, and they were ecstatic - they can maintain the calendar themselves! I hope to convert from our old static calendar to this calendar within the next week or so. I especially like the fact that I can import the information from a spreadsheet into the mySQL DB when we do our yearly plan, but changes can be made easily and immediately.

However, there's a couple of things I'd like to do that I haven't been able to figure out yet. I've searched through the forum, but couldn't find an answer to these. Sorry if I missed them.

Question #1

I've set up category for council events, plus a category for each of the district's events. I'd also like a category for holidays.

I'd like to be able to display the council events separately, but also display the council events each time a single district is filtered for. I'd like to do the same with holidays. For example:

Filter on Council only - display Council & Holidays
Filter on District #1 - display District #1, Council, & Holidays
Filter on District #2 - display District #2, Council, & Holidays
Etc.

Is this possible?

Question #2

I'd like to sort the event list by category. I tried to do this using the showCat variable (see http://www.twinvalleybsa.org/calendar/index1.php) but then the filter didn't work.

How is this list sorted today?

Thanks.
 

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

Quote:
Originally Posted by glhasse

Question #1

Filter on Council only - display Council & Holidays
Filter on District #1 - display District #1, Council, & Holidays
Filter on District #2 - display District #2, Council, & Holidays
Etc.

Is this possible?

Question #2

I'd like to sort the event list by category. I tried to do this using the showCat variable (see http://www.twinvalleybsa.org/calendar/index1.php) but then the filter didn't work.

How is this list sorted today?

Thanks.
1) Yes. This is from the instructions in the Customize/Command-line section:

$showCat="X";
Filter the list of events by category "X". Use the Advanced Filter option of the Event Manager to construct specific filters. While viewing the Advanced Filter screen after executing a filter, at the end of the yellow Filter table is the code to add to the showCat variable to perform this filter operation in your own pages. It will appear like "1|4|7 or a|2|5|9". Add this just before require("calendar/calendar.php");

2) In the TOC mode, events are sorted first by the category (in the order the category was added in the Setup Manager), then by time and then alphabetically. There are plans to include a function to re-order categories, but it will probably be Version 7 (next year) before this is added.
__________________
-- Brian

Questions?

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

Old 09-01-2005, 01:00 AM   #3
glhasse
Calendar User
 
glhasse is offline
Join Date: Aug 2005
Posts: 9
Default

#1.

I was able to force a category or two on the page, but I want to make it dynamic using the drop-down filter and not have all the categories show all the time (like they do now in http://www.twinvalleybsa.org/calendar/index1.php) Is this possible? Can I change the function of the drop-down filter?

#2.

I would like it to sort by category for the entire month, not just daily. e.g. ALL events for the month for category 1, followed by ALL events for the month for category 2, etc.

Thanks.
 

Old 09-01-2005, 08:42 AM   #4
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

1) There is built-in support for users to filter by the primary category using the filter plugin. Filtering by other category selections will require setup as described in the $showCat instructions. You can use this to create links with specific sub category selections to place on your page for users to click.

2) This is now a feature that is currently implemented.
__________________
-- Brian

Questions?

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

Old 09-01-2005, 08:47 AM   #5
glhasse
Calendar User
 
glhasse is offline
Join Date: Aug 2005
Posts: 9
Default

2) Then how do I make my list display by category by month instead of by category by day like it's doing today? (See http://www.twinvalleybsa.org/calendar)
 

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

Didn't I see it doing that on your site yesterday?
__________________
-- Brian

Questions?

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

Old 09-01-2005, 09:51 AM   #7
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

You might want to reenable the "Display empty lines" so that all your small calendars at the bottom are the same size...
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 09-02-2005, 04:13 PM   #8
dan_cameron
Calendar User
 
dan_cameron is offline
Join Date: Aug 2005
Posts: 4
Default

Quote:
Use the Advanced Filter option of the Event Manager to construct specific filters.
Where is this?
 

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

The instructions are in Post 2 of this topic and in the instructions under command-line variables.
__________________
-- Brian

Questions?

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

Old 09-02-2005, 05:38 PM   #10
dan_cameron
Calendar User
 
dan_cameron is offline
Join Date: Aug 2005
Posts: 4
Default

That doesn't answer my question.

Where do you find the Advanced Filter option of the Event Manager.

I'm looking in the event manager and I see nothing to the effect.

Everything says:
Quote:
the Advanced Filter screen
but I don't see that anywhere.
 

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

Sorry. After looking back now, I didn't relize you'd hijacked this thread.

Instructions for viewing the Advanced Filter in the Event Manager:

1) Log into the Event Manager.

2) Click the Find / Filter Button

3) Click the Advanced link.

__________________
-- 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
Multiple event color sblowes General Support 1 07-14-2005 08:53 AM
List Specific Categories SiliusNet General Support 2 06-14-2005 06:01 PM
Multiple different calendars on the same page anthony General Support 6 04-07-2005 06:48 PM
event categories oliver General 1 10-21-2004 11:13 AM



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