By cmb on Saturday, 03 June 2023
Replies 3
Likes 0
Views 645
Votes 0
I am configuring JEvents version 3.6.56 Stable on a Joomla 3.10.11 website in preparation for the migration to Joomla 4. The PHP version is 8.1.12. Previously I used the Zap Calendar component to display an annual availability calendar but that extension is no longer being developed. I would like to use JEvents to replace it.

In the Frontend I navigate: Menus: Edit Item > Details tab > Menu Item Type > Select > JEvents - Core. Thirteen options are listed but not the one I seek. There is an option in the menu item configuration for "View by Month" but no "View by Year" option, only the "List by Year" option.

I performed a "view by year" exact phrase search herein. That returned 13 results. Unfortunately none of those threads applied to JEvents 3.6 nor led me to an answer.

Is it possible to show an annual calendar in the JEvents component?
IS this not what you want?

Screenshot from 2023-06-06 10-22-57.png
·
Tuesday, 06 June 2023 10:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Your screen shot shows List by Year. I seek View by Year. That will display the full year in a grid similar to the View by Month option.

I note that the language constant JEV_VIEWBYYEAR = "By Year" appears at line 169 of the /language/en-GB/en-GB.com_jevents.ini file.

That constant is referenced in several other files:
/components/com_jevents/views/default/helpers/defaultviewnavtablebar.php
/components/com_jevents/views/default/helpers/defaultviewnavtablebariconic.php
/components/com_jevents/views/ext/helpers/extviewnavtablebariconic.php
/components/com_jevents/views/flat/helpers/flatviewnavtablebariconic.php
/components/com_jevents/views/geraint/helpers/geraintviewnavtablebariconic.php
/components/com_jevents/libraries/jeventshtml.php

In contrast, the JEV_VIEWBYMONTH language constant appears in the locations listed above but also in the /components/com_jevents/views/alternative/helpers/alternativeviewnavtablebariconic.php file. Perhaps several lines of code to implement the View by Year are missing from that file.
cmb
·
Tuesday, 06 June 2023 14:28
·
0 Likes
·
0 Votes
·
0 Comments
·
·
Wednesday, 07 June 2023 00:23
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post