You need to be logged in to view a user's profile.
  1. cms_topsites
  2. JEvents 1.4
  3. Friday, 17 July 2009
I been working on a project with JEvents 1.4 (and it does need to be JEvents 1.4) and I am having trouble trying to figure out how to limit records and add page navigation to the event list. So I just want to limit the number of events per page. And the events can be any type (one day, once a week, or any other possibility). I know Jevents knid-of has this function, but it does not work the way I want. I am willing to pay someone a $50 bounty (with paypal or wahtever) if they can help me get this working successfully.

If you want to know why I want this I have it setup so I can load pre-defined date ranges (ex 4th of July[07-04-09 to 07-04-09], a weekend [07-25-09 to 07-26-09] or maybe even summer [06-22-09 to 09-22-09] ). I plan (and hope) to possibly have 100s of events, so to save on the server's load and to increase page hits I want to implement a limiting/page nav system for events.

In a fresh install if the are 10 events for today and I click on "view today", it would list all 10 events. I would want Jevents to split it in to the correct amount of pages ( I think it would be done in showEventsByDateNEW and listEventsByDateNEW). If 5 was the max events per page then it would display 5 events on the first page and the 5 and the 2nd page.
[color=#FF0000]Example: Page 1
Event #1
Event #2
Event #3
Event #4
Event #5
«Start Prev 1 2 Next End»[/color]

[color=#0000BF]Example: Page 2
Event #6
Event #7
Event #8
Event #9
Event #10
«Start Prev 1 2 Next End»[/color]

I am not asking for someone to completely do the work but to help me get it working
If you are interested either PM me or post a reply and I can give you more contact info

There are the sample events I was using, so I would need it to work with the ones below.
INSERT INTO `jos_events` VALUES (1, 0, 34, 'TEST #1', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:26:28', 62, 'admin', '2009-07-16 23:44:17', 62, 0, '0000-00-00 00:00:00', '2009-07-16 08:00:00', '2009-08-31 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 1);
INSERT INTO `jos_events` VALUES (2, 0, 34, 'TEST #2', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:45:10', 62, 'admin', '2009-07-16 23:51:03', 62, 0, '0000-00-00 00:00:00', '2009-07-16 09:00:00', '2009-08-31 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 1);
INSERT INTO `jos_events` VALUES (3, 0, 34, 'TEST #3', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:50:42', 62, 'admin', '0000-00-00 00:00:00', 0, 0, '0000-00-00 00:00:00', '2009-07-16 08:00:00', '2009-09-30 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 0);
INSERT INTO `jos_events` VALUES (4, 0, 34, 'TEST #4', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:26:28', 62, 'admin', '2009-07-16 23:44:17', 62, 0, '0000-00-00 00:00:00', '2009-07-16 08:00:00', '2009-08-31 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 1);
INSERT INTO `jos_events` VALUES (5, 0, 34, 'TEST #5', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:45:10', 62, 'admin', '2009-07-16 23:51:03', 62, 0, '0000-00-00 00:00:00', '2009-07-16 09:00:00', '2009-08-31 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 1);
INSERT INTO `jos_events` VALUES (6, 0, 34, 'TEST #6', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:50:42', 62, 'admin', '0000-00-00 00:00:00', 0, 0, '0000-00-00 00:00:00', '2009-07-16 08:00:00', '2009-09-30 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 0);
INSERT INTO `jos_events` VALUES (7, 0, 34, 'TEST #7', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:26:28', 62, 'admin', '2009-07-16 23:44:17', 62, 0, '0000-00-00 00:00:00', '2009-07-16 08:00:00', '2009-08-31 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 1);
INSERT INTO `jos_events` VALUES (8, 0, 34, 'TEST #8', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:45:10', 62, 'admin', '2009-07-16 23:51:03', 62, 0, '0000-00-00 00:00:00', '2009-07-16 09:00:00', '2009-08-31 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 1);
INSERT INTO `jos_events` VALUES (9, 0, 34, 'TEST #9', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:50:42', 62, 'admin', '0000-00-00 00:00:00', 0, 0, '0000-00-00 00:00:00', '2009-07-16 08:00:00', '2009-09-30 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 0);
INSERT INTO `jos_events` VALUES (10, 0, 34, 'TEST #10', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:26:28', 62, 'admin', '2009-07-16 23:44:17', 62, 0, '0000-00-00 00:00:00', '2009-07-16 08:00:00', '2009-08-31 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 1);
INSERT INTO `jos_events` VALUES (11, 0, 34, 'TEST #11', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:45:10', 62, 'admin', '2009-07-16 23:51:03', 62, 0, '0000-00-00 00:00:00', '2009-07-16 09:00:00', '2009-08-31 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 1);
INSERT INTO `jos_events` VALUES (12, 0, 34, 'TEST #12', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:50:42', 62, 'admin', '0000-00-00 00:00:00', 0, 0, '0000-00-00 00:00:00', '2009-07-16 08:00:00', '2009-09-30 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 0);
INSERT INTO `jos_events` VALUES (13, 0, 34, 'TEST #13', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:26:28', 62, 'admin', '2009-07-16 23:44:17', 62, 0, '0000-00-00 00:00:00', '2009-07-16 08:00:00', '2009-08-31 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 1);
INSERT INTO `jos_events` VALUES (14, 0, 34, 'TEST #14', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:45:10', 62, 'admin', '2009-07-16 23:51:03', 62, 0, '0000-00-00 00:00:00', '2009-07-16 09:00:00', '2009-08-31 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 1);
INSERT INTO `jos_events` VALUES (15, 0, 34, 'TEST #15', '', '', '', '', '', 1, 1, 0, '2009-07-16 23:50:42', 62, 'admin', '0000-00-00 00:00:00', 0, 0, '0000-00-00 00:00:00', '2009-07-16 08:00:00', '2009-09-30 17:00:00', '', 0, '', '', '', 1, 0, 0, 0, 0);


There are no replies made for this post yet.
Be one of the first to reply to this post!

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.