PDA

View Full Version : 43 events ~ Only 30 showing


wisecat
05-03-2007, 01:43 PM
We have 43 events for May, viewable in admin, yet only 30 of them are showing up for public view on the Calendar.

I've read in another thread that there is no limit on the number of events displaying per month, so can anyone figure out what is going wrong?

Any setting we need to change?

Calendar version: 6.3.24

URL: http://www.kingslynnonline.com/kings-lynn-events.php

Brian
05-03-2007, 01:56 PM
What's missing? Date and event information?

In the Normal Mode calendar, the List Mode or both?

wisecat
05-03-2007, 05:48 PM
Date and event info is missing in Normal Mode.

However, when you hover over the dates on the calendar, the events can still be seen.

Brian
05-03-2007, 06:07 PM
As far as I can tell, everything is there (unless you can give me specific dates and events information that is missing).

You may want the mouseover window wider using the Setup Manager to allow more information to appear. It's scroll off the page as it is now.

wisecat
05-04-2007, 03:07 AM
If you scroll down to the bottom of the page, the last event we can see is "Rhyme & Storytime" for 14 May.

We cannot see the next event "Car Rally" for the 15 May, or any of the following 11 events for May.

Is there a "page 2" that we cannot see for some reason?

All events are viewable on the scroll over at the top of the page, and can be accessed via the admin section.

ve9gra
05-04-2007, 06:31 AM
What are you using in the section with $LIST=1? Do you have any of $listEvents, $listDays, $list*anything* set?

If you do, remove them. Those are parameters that are used to limit what's displayed. If you remove all of them, the default behaviour is to show all events in the month displayed (or the current month if there is no calendar on the page).

wisecat
05-04-2007, 12:29 PM
The only references to $LIST I can find in the code are:

$LIST==1 (on line 156 of calendar.php)

$LIST!=1 (on line 156 of calendar.php)

Also this on line 162:

// UNSET MODE VARIABLES
unset ($CSS,$PCSS,$OL,$LIST,$TOC,$MULTI,$MULTIX,$EPCAJAX );

Brian
05-04-2007, 02:31 PM
If you're talking about the List Mode not showing all of the events, there are ways to configure how many events it will show. If you want to display all events for the month, there should be no special List Mode configuration. It seems there is...

If you can zip and attach your http://www.kingslynnonline.com/kings-lynn-events.php file, I can take a look and see what may be happening. If you don't want to post it here, please do so using the support ticket system on the Support page.

wisecat
05-05-2007, 03:11 AM
No need to send the file now. Thanks to your help I have solved the problem. :classic:

I looked at the code in kings-lynn-events.php, and found:
$listEvents = 30

Re-set it to $listEvents = 60

A maximum of 60 events should be sufficient for us, but how would I set it for unlimited events? Just removing the $listEvents causes a parse error.

Brian
05-05-2007, 07:54 AM
Removing that line should not cause a parse error... unless it wasn't completely removed.

If you change listEvents to listMonths = 1 then it will always display events for the displayed month. This is also what happens by default (listMonths = 1 is not required, but there can be no other list options).

wisecat
05-06-2007, 03:29 AM
Have replaced $listEvents=60 with $istMonths = 1, and all seems to be working fine.

Many thanks for your speedy and helpful replies.