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

list mode: filtering by catagory
Old 04-06-2010, 06:02 PM   #1
Trevsweb
Calendar User
 
Trevsweb is offline
Join Date: Mar 2010
Posts: 10
Default list mode: filtering by catagory

Is there a code I can add to my list mode code that will allow me to show only a specific catagory?

eg: $catagory ="london"

want to be able to show locatation/catagory based events on their specific pages..

Thanks Brian and anyone that helps loving EPC

Last edited by Trevsweb; 04-06-2010 at 06:04 PM.
 

Old 04-07-2010, 06:49 AM   #2
ve9gra
Support Team
 
ve9gra's Avatar
 
ve9gra is offline
Join Date: Jun 2003
Location: New Brunswick, Canada
Posts: 4,969
Default

Yes. See the documentation about Command-Line Variables, more specifically, the $showCat variable.
__________________
-- Gervais
EPC Tutorials... We're here to help!
Offering custom integration services. Contact me here.
* Not affiliated with EasyPHPCalendar or NashTech Inc.
 

Old 04-07-2010, 08:19 AM   #3
Trevsweb
Calendar User
 
Trevsweb is offline
Join Date: Mar 2010
Posts: 10
Default

ah brilliant thanks, was looking under customise > List mode... should be a link to the command-line page (if there is it wasn't obvious)

yay on to making super site i'll show all when i've finished

Right so $showCat="London"; should bring up my london catagory... does this work for selections under my main catagory too?

Last edited by Trevsweb; 04-07-2010 at 08:32 AM.
 

Old 04-07-2010, 09:54 AM   #4
Brian
EPC Developer
 
Brian's Avatar
 
Brian is offline
Join Date: Jun 2001
Location: Florida, USA
Posts: 10,907
Default

No, you should not use the name of the category. Read the instructions for showCat for the proper usage. There should be only numbers and | symbols.
__________________
-- Brian

Questions?

Instructions | FAQs | Errors FAQ | Forums | Support
| Web Site Hosting
 

Old 04-07-2010, 10:26 AM   #5
Trevsweb
Calendar User
 
Trevsweb is offline
Join Date: Mar 2010
Posts: 10
Default

was going to edit my post to say found that out but the 15 min anti-spam got me side tracked.


got it working now
 
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
Normal calendar with filter and List mode with specific catergories jcimb General Support 2 03-12-2009 01:02 PM
Hide today events in List Mode... crisware General Support 1 08-27-2008 04:14 PM
Integrating Blog Mode & List Mode | New Thought. mikec@technomediapei.com Customizations (Themes / Templates) 4 02-28-2008 01:21 PM
Any way to make list mode function as "headlines" JamesC Customizations (Themes / Templates) 11 10-08-2005 04:03 PM



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