1. sohopros
    Gold Member
  2. JEvents 3.4 (Free Access)
  3. Friday, 26 March 2021
Hi,

I just updated the resources, and I can't add recourses anymore. Can you fix it?
Attachments (1)
Accepted Answer
geraint
Support Team
Accepted Answer Pending Moderation
0
Votes
Undo
These changes are valid and will be included in the next release (though I will register jeventshelper in the landing jevpeople.php)

The problem was that we hadn't tested the managed people addon in isolation (i.e. without the managed locations and custom fields extensions enabled.

Sorry for the delayed responses
JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!
sohopros
Gold Member
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Again,

We hacked the jevents Resource plugin to make it work:

There are the 2 changes needed to make it work:

#1
This issue manifests as a JS error. The problem is that the jevents library that handles popups isn’t loaded in the php section so it never registers the js file to be loaded on the client.

The solution loads the module and the calls a method to register the script.


File: /administrator/components/com_jevents/views/icalevent/tmpl/edit_uikit.php


Line: ~49

Add:


JLoader::register('JevModal', JPATH_LIBRARIES . "/jevents/jevmodal/jevmodal.php");
JevModal::framework();

#2
This issue results in an error within the popup when selecting resources. The error message was something like “;JEventsHelper' class not found“.

The solution is to simply load the class.


File: \administrator\components\com_jevpeople\controllers\people.php


Line #: ~41

Add: (line after “PluginHelper …“)


JLoader::register('JEventsHelper', JPATH_ADMINISTRATOR . "/components/com_jevents/helpers/jevents.php");


We are going to the production with the hack, but can you fix it in the new release?
  1. more than a month ago
  2. JEvents 3.4 (Free Access)
  3. # 1
  • Page :
  • 1


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.