View Full Version : filter OUT a category from a list
greenhodge
03-13-2008, 04:54 PM
Hello, I have an event list and I'd like to not show a particular category. I can't find the answer here in the forums though I've looked.
Here is the page:
http://beth-jacob.org/
See the event list underneath the minicalendar? I'd like to not show the "Daily Minyan" category, but show everything else.
How do I do that?
Thanks,
april
Brian
03-13-2008, 05:12 PM
Use the $showCat option and the Event Manager to set up your filter. This is detailed in the instructions under Customize/Command-line variables.
greenhodge
03-19-2008, 12:27 PM
Thanks for your reply. However, this doesn't work.
I did the advanced filter in the event manager, as instructed. The yellow filter bar says:
Filter: [Any] | Social Events | Holidays | Special EventsI added the $showCat line to my code:
$showCat="Social Events | Holidays | Special Events";
require("epcalendar/calendar.php");I also tried a variety of other things:
Social Events|Holidays|Special Events
[Any] | Social Events | Holidays | Special Events
Holidays | Special Eventseven, as a test:
HolidaysNothing works. The calendar says there are no events.
What am I doing wrong?
Brian
03-19-2008, 03:09 PM
You're almost there, but you should click the yellow bar then copy the number code from the end of the yellow box and not the text. It'll look something like 3|6|.
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.