Season schedule / Next game module

twoccer , January 28 2022, 08:03
T
twoccer 16
January 28 2022, 08:03 #212
Hi again,
I would like to have a section that shows the whole schedule of a season. At the moment a way to do this seems via the games module, but because there are 380 games in a season it loads them all at once which gives some issues.
Is there an option for pagination in this module perhaps? Or perhaps via the "Next games" menu item?
marco 400
January 28 2022, 11:43 #214
Hi
do you have there 380 games in one league?
For me i have for example the Calanda Broncos (https://calandabroncos.ch/) where the game plan is on the bottom of the homepage - there are in fact three leagues our teams play (Seniors / U19 / U16) for each of those tabs there will be a module instance - in the module itself i've set a filter for the league (leagues filter)...
I've never tough about that there could be that much games while creating this module but yeah i will add an option to only show the next x items aka pagination with the next update - thats a good point.
---------

Rate us on JED: https://extensions.joomla.org/profile/profile/details/379934

---------
marco 400
January 28 2022, 14:40 #215
Update
I've tried something - i have this Version 1.2 Beta Build and i have quickly added a frontend pagination - You will find the update in your downloads area it is listed as FootballManager Games Module for Joomla! Version 1.2 Beta.
You can have a look into the Module Settings >> Layout Tab - there you will find the pagination setup. It is just a "frontend" pagination which means it still loads all games - can you please tell me if the performance is good and if hte feature is usable like this?
kind regards
Marco
---------

Rate us on JED: https://extensions.joomla.org/profile/profile/details/379934

---------
T
twoccer 16
January 29 2022, 03:07 #216
do you have there 380 games in one league?
Yes, per league. So there are 20 teams that play home and away in a season. That is 380 games. For 3 leagues that is 1140 games.
Having those tabs as seen on oncecalandabroncos.ch would only work if it did not load all games at once.
Thanks for the module update, but the frontend pagination does not change anything as it still loads all games.
When it loads 380 games in the module the page crashes.
A load more button, Infinite scroll, or pagination would solve this I guess, but only if it loads parts of the total amount.
I'm basically trying to create something similar to this setup

https://www.premierleague.com/fixtures

fixtures / results / tables / full Schedule / clubs / players
Thanks
marco 400
January 30 2022, 06:30 #217
ok got it - i need to do some changes for that - i will have a look into it but it takes a few days.
---------

Rate us on JED: https://extensions.joomla.org/profile/profile/details/379934

---------
T
twoccer 16
January 31 2022, 00:37 #218
That would be amazing, thanks
marco 400
February 02 2022, 14:49 #221
Hi twoccer
I have released Version 1.2 Beta 2 - it is available in your Downloadcenter.
The Pagination now uses AJAX which means it loads only the first chunk of games on page load, when going to 2...3... and so on the module loads the other games async. You need to download & install this beta manually from within your downloads area here on nx-designs.
Could you please test Beta 2 and tell me if your problems are solved?
If not i probably require your exports (teams / locations / games) to have a look into it - maybe there is some data inconsistency idk. As far as i can see the module performance should be much better now when loading a lot of games.
kind regards
Marco
Attachments
FootballManager_Games_Module_new_Options.png
(103.07 KiB)
14 Downloads/Views
Pagination_Frontend.png
(617.92 KiB)
13 Downloads/Views
---------

Rate us on JED: https://extensions.joomla.org/profile/profile/details/379934

---------
T
twoccer 16
February 07 2022, 10:48 #225
Hi there,

Thanks for the update.

The pagination works great now.

An improvement I would suggest is in the numbering of the pages. It shows the number of every page. Perhaps it would be better to have 1-10 pages and maybe an option skip to the first or last page. Or an extra addition would be previous/next.
Screen_Shot_2022-02-07_at_11.27.53_PM.png
Screen_Shot_2022-02-07_at_11.34.19_PM.png

It would also be good to have anchors in the module. So the page will always jump directly to the top module so you see the beginning of the new page.

Thanks again for this update!
Attachments
Screen_Shot_2022-02-07_at_11.27.53_PM.png
(46.2 KiB)
16 Downloads/Views
Screen_Shot_2022-02-07_at_11.34.19_PM.png
(21.35 KiB)
16 Downloads/Views
marco 400
February 08 2022, 06:26 #228
Hi twoccer
First Thanks for your feedback!
Yes i'm still improving the beta, first it was necessary for me to know if it would work like this "in the real world" now i can go further and add the fancy things. Please stand by the next version will offer this options.
kind regards
Marco
---------

Rate us on JED: https://extensions.joomla.org/profile/profile/details/379934

---------
marco 400
February 19 2022, 15:22 #234
Hi twoccer
Version 1.2.1 of FootballManager Games Module has been released.
The module supports now Pagination with a limited amount of indexes to display - because of some usability restrictions you cannot limit the count of indexes below 3.
Please Note: You have to download the actual version manually from your Cockpit because the update server was not configured in the version 1.1.x
kind regards
Marco
Attachments
Bildschirmfoto_2022-02-19_um_16.21.34.png
(56.02 KiB)
10 Downloads/Views
---------

Rate us on JED: https://extensions.joomla.org/profile/profile/details/379934

---------
T
twoccer 16
February 22 2022, 00:33 #235
Hi Marco,
I've just installed and tested it. It's a great update and it works perfectly now.
Thanks!
T
twoccer 16
February 22 2022, 00:51 #236
Just one more question.
Once a game has ended it can show the score result. This is great.
I'm just wondering where the second score (below the main score) comes from, I assume it is the halftime score.
Is it possible to not show this second score?
Screen_Shot_2022-02-22_at_1.43.58_PM.png
Attachments
Screen_Shot_2022-02-22_at_1.43.58_PM.png
(7.57 KiB)
12 Downloads/Views
marco 400
February 22 2022, 12:02 #238
Oh nice!
No, this is the counter for "Touchdowns" - it is enabled by default but i added a backend control in version 1.2.2 (a few moments ago) to hide it if needed:
Make sure to update first to version 1.2.2 and then you will find it in ModuleSettings --> Layout --> Section "Eventdata" --> Show Touchdowns.
Thanks for pointing that out!
kind regards
Marco
---------

Rate us on JED: https://extensions.joomla.org/profile/profile/details/379934

---------
T
twoccer 16
February 23 2022, 06:22 #240
Thanks for the update.
Works great with this additional option.
T
twoccer 16
March 04 2022, 08:16 #244
Hi Marco,
I noticed with the new pagination in the module, the team logo's do not show after the first page.
They only show on the first page.
marco 400
March 07 2022, 06:07 #245
 1
I see, i will check why this happens and release a bugfix shortly
Edit:
The bugfix has now been released. It is solved in Version 1.2.3
kind regards
Marco
---------

Rate us on JED: https://extensions.joomla.org/profile/profile/details/379934

---------