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

Category Specific Open with Filter.php
Old 06-15-2005, 04:08 PM   #1
ITWeb
Calendar User
 
ITWeb is offline
Join Date: Mar 2005
Posts: 23
Default Category Specific Open with Filter.php

Is it possible to add a command line to the end of a url that would open the calendar filtered to a specific category while maintaining the filter.php option so the viewer can change it if they wish?

Rick
 

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

It would be possible, but would require a bit of creative programming on your part.

For instance... If you always want category 1 to display, plus their selections, put this before requiring the calendar in the page:

$myCat = "1"; // This is the category you always want selected
$showCat = $myCat."|".$_REQUEST['showCat'];

This is untested, but would work in theory.
__________________
-- Brian

Questions?

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

Old 06-15-2005, 05:31 PM   #3
ITWeb
Calendar User
 
ITWeb is offline
Join Date: Mar 2005
Posts: 23
Default

OK, So I guess the answer is not to a simple add on to a URL.
I'll have to create different landing pages for all categories to use the suggested version. A solutions is a good thing

Rk



Quote:
Originally Posted by Brian
It would be possible, but would require a bit of creative programming on your part.

For instance... If you always want category 1 to display, plus their selections, put this before requiring the calendar in the page:

$myCat = "1"; // This is the category you always want selected
$showCat = $myCat."|".$_REQUEST['showCat'];

This is untested, but would work in theory.
 

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

You could pass your custom filter via URL and then change the code to this:

$myCat = $_REQUEST['myCat']; // This is the category you always want selected via URL
$showCat = $myCat."|".$_REQUEST['showCat'];

Of course you can change myCat to any variable name you may want.
__________________
-- Brian

Questions?

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

Old 08-12-2005, 05:07 PM   #5
bkwyrm
Calendar User
 
bkwyrm is offline
Join Date: Aug 2005
Posts: 3
Default

Sorry, but I was curious about what I think is the same thing: I was hoping to easily use this to keep calendars for all our meeting rooms in one place. I thought I could make each category/selection a different building/room but I wanted to link to them from a bitmapped map (as requested by my boss). Can I not make links to certain filtered results without having to create a new filter for each one? Can't the filter param be passed in the URL?
 

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

Yes. Just use something like http://www.domain.com/myPage.php?showCat=X
__________________
-- 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
Clarification on Category Filter Menu Options coppercup General Support 3 10-25-2006 06:02 PM
Error in Category in Event Manager mitchka General Support 4 09-14-2005 08:51 AM
displaying a single category problem Tod General Support 8 06-30-2005 08:46 AM
List Specific Categories SiliusNet General Support 2 06-14-2005 06:01 PM



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