View Full Version : List mode question
adama
12-07-2006, 12:12 PM
hi, i've gone through the documentation but am still unsure of something..
can I restrict the List mode to only show events of a certain category? or not display one category type?
any help is greatly appreciated. thanks
adama
12-07-2006, 01:30 PM
well after some morereading ive found that what i need to use is showCat but im unclear where to use it. I have an individual page that shows calendar events only in list mode. On this page I want to only show a specfic category. Do I add the showCat variable here?:
<?php
// SHOW LISTINGS MODULE
// $epcListMouseover=1; // WILL USE THE MOUSE-OVER POPUPS FOR LIST MODE
$listDays = 30;
$LIST=1;
$DF = "M jS, Y (D)";
$template="modern.php";
$showCat="X";
require("calendar.php");
?>
placing it here did not work. what am I doing wrong?
ve9gra
12-07-2006, 06:42 PM
That is where you need it, but you need to adjust what the variable will be. If you go in your Event Manager and click the Filter button, adjust the filter that you want applied and then view what the resulting filter string is. It'll look something like "a|1|4" (without the quotes). That's what you'll want to put in the $showCat instead of the "X".
Hi guys,
I LOVE the text on Calendar mode, it is going to work beautifully for a new client! I do have a question, as usual. ;-)
Can you have the TOC mode, AND have the list of that day's events (found underneath the normal small calendar in the default view) underneath the TOC calendar? I am PHP challenged, so forgive me if this is an ignorant question! ;-)
Thanks,
Suzanne
Brian
02-07-2007, 10:36 AM
(You should start a new thread instead of replying to threads that are several months old...)
You can use the $listDays=1; feature of the List Mode (see the List Mode section of the instructions for all available options and implementation.)
(You should start a new thread instead of replying to threads that are several months old...)
You can use the $listDays=1; feature of the List Mode (see the List Mode section of the instructions for all available options and implementation.)
Brian, I am so sorry! Some want you NOT to start too many new threads, so I was trying to find something related. Sorry! ;-)
Thanks, so much for the info!!
By the way, has the timeout changed? I am having to log back in after even 5 minutes of inactivity.
Thanks,
Suzanne
Brian
02-07-2007, 10:42 AM
Timeout for the calendar or the forums?
FWIW, the calendar is based on your server's PHP session settings. The forums should not expire.
Timeout for the calendar or the forums?
FWIW, the calendar is based on your server's PHP session settings. The forums should not expire.
Brian, time out in the forums, sorry. Should have been clearer.
This morning, I have had to log back in 3-4 times in the last 2 hours. I haven't seen this in the past, but I am back to the forums for the first time since last October, so I thought something may have changed?
Thanks,
Suzanne
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.