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

Passing showcat parameters via URL ?
Old 08-27-2007, 10:38 AM   #1
ignicoccus
Calendar User
 
ignicoccus is offline
Join Date: Jun 2007
Posts: 13
Default Passing showcat parameters via URL ?

Hi,

I realized, that it is possible, to pass certain parameters via the URL, like:

www.mycalendar.de/calendar.php?showcat=11&mo=6 and so on. I would like to submit an andvanced filter via the URL but this does not seem to work for me

www.mycalendar.de/calendar.php?showcat=11|12|&mo=6

Is this possible with easyphpcalendar ?

My problem is, that I have the main category for my events and another category for trainers. Now I want the user to be able to just see the events for category1 from trainer1 without creating a template for each event and trainer. If set the $showcat=11 (select Trainer1) in my template, every other showcat call is ignored.

Regards

Achim
 

Old 08-27-2007, 10:47 AM   #2
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Your template will override any URL variables. You should send them via the URL only.
__________________
-- Brian

Questions?

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

Old 08-27-2007, 10:50 AM   #3
ignicoccus
Calendar User
 
ignicoccus is offline
Join Date: Jun 2007
Posts: 13
Default

Quote:
Originally Posted by Brian View Post
Your template will override any URL variables. You should send them via the URL only.
Ok, but why does this :
www.mycalendar.de/calendar.php?showcat=11|12|&mo=6 (Filter from event mananger) not work ? Is there another way to pass the advanced filter via URL ?
 

Old 08-27-2007, 03:55 PM   #4
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

It should work...

What database type are you using and what version of the calendar?
__________________
-- Brian

Questions?

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

Old 08-27-2007, 04:45 PM   #5
ignicoccus
Calendar User
 
ignicoccus is offline
Join Date: Jun 2007
Posts: 13
Default

The database is MySQL 4.1.22 and the calendar is 6.3.24b
 

Old 08-27-2007, 04:48 PM   #6
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

Can you open a support ticket, dump and attach your database and your config.inc.php file so I can try to recreate what you're doing locally?
__________________
-- Brian

Questions?

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

Old 08-27-2007, 04:53 PM   #7
ignicoccus
Calendar User
 
ignicoccus is offline
Join Date: Jun 2007
Posts: 13
Default

I will do so
 

Old 08-29-2007, 10:36 AM   #8
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,878
Default

I took a look at everything and replied but haven't heard anything back. Here is my response:

You're missing part of the filter, specifically the a (for match all). Otherwise it will match any filter criteria.

showCat=a|10|11

Try that.
__________________
-- 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
passing showCat in URL no longer works? Jason Installation / Upgrade Questions 9 04-14-2006 10:43 AM
Url Parameters cberks General Support 1 03-24-2006 11:42 AM
Passing a URL variable into a PHP include? wakalapi PHP-Nuke Integration 6 11-12-2005 08:26 AM
passing the event date in a url stewart.campbell General Support 0 11-22-2004 04:55 PM
Canonical URL Issue david_osborne General Support 1 10-08-2004 03:33 PM



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