View Full Version : Calendar searchable by category
idextrus
12-01-2005, 09:55 PM
I am looking at purchasing this for use for a private school. One of the main requirements is that the users on the front end site can search by category and/or display events for only a certain category. They have three divisions in the school and I would set up each division as a category to assign events to. The user would then be able to view events only for division X. Does this system provide this functionality on the front end?
It looks like it does for the Event Manager, but my understanding is that you use that to enter events, and I can't see it on the front end yet.
Thanks,
Chris
Brian
12-01-2005, 10:05 PM
You need to use the filter plugin on the front end to allow users to select the category to view.
http://docs.easyphpcalendar.com/source/Plugins/Filter.htm
:)
idextrus
12-01-2005, 10:09 PM
Hey great. Thanks for the quick reply. I will check it out.
:)
Brian
12-01-2005, 10:15 PM
You also have the option to use the $showCat function to hard-code categories into pages:
$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 (click Find / Filter then Advanced in the Event Manager), at the end of the yellow Filter table is a code. Add this code 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");
malfers
01-22-2006, 07:12 PM
have the need to filter on both location and category, i.e. sundy schools within Charleston. Doable?:1book:
Brian
01-22-2006, 08:14 PM
See the quote in post #4 above. :)
(Instructions: http://docs.easyphpcalendar.com/source/Customize/CommandLineVariables.htm)
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.