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

Filter plugin customization
Old 05-14-2012, 03:12 PM   #1
N_Bellingham
Calendar User
 
N_Bellingham is offline
Join Date: Mar 2012
Posts: 12
Default Filter plugin customization

Hi,

Thanks for great scripts.

I have a working page with a list of this weeks events created by:-
<?php
$LIST=1;
$listWeeks = 1;
$DF = "D jS M";
$template="brides.php";
require("../calendar/calendar.php");
?>

then a mini calendar, legend and filter:-

<?php require("../calendar/calendar.php"); ?>
<?php $epcMultiCatShow=1; ?>
<?php require("../calendar/plugins/legend.php"); ?>
<?php require("../calendar/plugins/filter.php"); ?>

If I filter it only provides a list of events for the filtered category within the 1 week set by the first php statement. I would like the filter to list all events within a category, not just in the next week.

Any guidance would be most welcome.

many thanks, Neil
 

Old 05-14-2012, 04:07 PM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

You can't filter all events... you still have to define a length of time for the calendar to fetch the events.

I suggest you use the $noOld=1; setting to hide past events, and then modify the line that you have for $listWeeks to the following:

PHP Code:
if (isset($_REQUEST['showCat']) and $_REQUEST['showCat']!="") {
$listWeeks 12// this is the one when a category is selected
} else {
$listWeeks 1// this is the default one

Of course, adjust the values for $listWeeks to suit 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.
 

Old 05-14-2012, 04:48 PM   #3
N_Bellingham
Calendar User
 
N_Bellingham is offline
Join Date: Mar 2012
Posts: 12
Default

Thank you. That works perfectly.

I note in some forum posts that you have written plugins. Do you have a list of all your plugins and their features as some might be useful? Couldn't find this on your site.

Neil
 

Old 05-16-2012, 06:53 AM   #4
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,965
Default

I don't have an official list, as this all started from custom requests.

Here's a few examples:
- full-filter: shows a drop-down for all categories, not only the main one
- legend-filter: integrates the filter functionality in the legend plugin
- multi-filter: changes the selection mode from a drop-down to checkboxes, so that you can select multiple categories to display
- limited-filter: limits the categories shown in the filter (to hide private categories)
- constant-filter: keeps a category selected no matter what the user chooses; this was used with a "control category" like "Public" with only one selection of "Yes", it was meant to fill a need that version 7 now has built in with the new user management... so unless you're using V6 it's unlikely that you'd need this one

And then I have several combination of various filters together... like limited-full-filter, constant-full-filter, etc.

That's for plugins... I also have modules, where I manipulate the output of the calendar.
- blog-list: think blog-like display (all the day's events under one date header) but that displays several days... and customizable so you can define to fetch events from a few days ahead or back, how many days you want to fetch, and if you want to run the list in reverse (like an archive with the most recent at the top)
- RSS feed: this one takes the output of the list-mode and rearranges it into an RSS feed, either for direct user by your visitors, or syndication

I'm sure a few are escaping me right now. And like I said before these all started from custom requests, so if you think of something you'd like let me know and we'll see if it's possible.
__________________
-- 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adding filter Plugin is breaking onpopup event luvshack Wordpress 2 02-12-2010 11:48 AM
Filter plugin not working jaketone Customizations (Themes / Templates) 3 12-30-2009 08:06 PM
Filter Plugin rwatson626 General Support 1 12-19-2008 02:44 PM
Using Filter Plugin jlparker55 PHP-Nuke Integration 3 10-31-2006 04:23 PM
Adjusting spacing on filter plugin cbaisden Customizations (Themes / Templates) 10 10-27-2005 02:34 PM



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