Hi.
I checked source of your site and it seems that file:
ROOT/components/com_community/assets/joms.jquery-1.8.1.min.js
is not loaded. Please, check if file is present in your system.
Hi.
Ok, then please, update your first post and add FTP credentials. I assign developer to this thread.
ok, details updated
Hi,
This issue not caused by jomsocial, this is caused by your own modification code I think, because by default we dont have "jomsQuery" we only have "joms.JQuery".
I just helped you by fixing the code.
thank you
Hi,
we are sorry, but we are not aware of any code modification in relation with JomSocial group feature, we are not enough aware about php code.
Now we still have an error with message:
TypeError: joms.JQuery is not a function
jax.call('community', 'groups,ajaxUpdateCount', 'discussion', 3 );
Instead of ReferenceError: jomsQuery is not defined
Is it in relation with:
www.jomsocial.com/forum/technical-issues...is-not-defined#66954
Cheers,
L
Ah you right you right, you remind me to the past.. I will mark this issue as bug
No problem.
should we apply your recommendations from:
www.jomsocial.com/forum/technical-issues...is-not-defined#66954
yeah you can remove it from now..
just to be sure:
is it all this part, at the end ?:
<script>
// When people are viewing the 'discussion' page longer than 5 seconds,'
jomsQuery('#community-group-dicussion').parent().bind('onAfterShow', function() {
jax.call('community', 'groups,ajaxUpdateCount', 'discussion', <?php echo $group->id; ?> );
});
// When people are viewing the 'discussion' page longer than 5 seconds,'
jomsQuery('#community-group-news').parent().bind('onAfterShow', function() {
jax.call('community', 'groups,ajaxUpdateCount', 'bulletin', <?php echo $group->id; ?> );
});
// expand / collapse about section
jomsQuery(".btn-about").click(function () {
jomsQuery(".cFocus-definition").slideToggle();
});
// override config setting
joms || (joms = {});
joms.constants || (joms.constants = {});
joms.constants.conf || (joms.constants.conf = {});
joms.constants.groupid = <?php echo $group->id; ?>;
joms.constants.conf.enablephotos = <?php echo ( isset($showPhotos) && $showPhotos == 1 && (( $isAdmin && $photoPermission == 1 ) || ( $isMember && $photoPermission == 2 )) ) ? 1 : 0 ; ?>;
joms.constants.conf.enablevideos = <?php echo ( isset($showVideos) && $showVideos == 1 && (( $isAdmin && $videoPermission == 1 ) || ( $isMember && $videoPermission == 2 )) ) ? 1 : 0 ; ?>;
joms.constants.conf.enablevideosupload = <?php echo $config->get('enablevideosupload');?>;
joms.constants.conf.enableevents = <?php echo ( isset($showEvents) && $showEvents == 1 && (( $isAdmin && $eventPermission == 1 ) || ( $isMember && $eventPermission == 2 )) ) ? 1 : 0 ; ?>;
</script>
just delete only this code :
// When people are viewing the 'discussion' page longer than 5 seconds,'
jomsQuery('#community-group-dicussion').parent().bind('onAfterShow', function() {
jax.call('community', 'groups,ajaxUpdateCount', 'discussion', <?php echo $group->id; ?> );
});
// When people are viewing the 'discussion' page longer than 5 seconds,'
jomsQuery('#community-group-news').parent().bind('onAfterShow', function() {
jax.call('community', 'groups,ajaxUpdateCount', 'bulletin', <?php echo $group->id; ?> );
});
// expand / collapse about section
jomsQuery(".btn-about").click(function () {
jomsQuery(".cFocus-definition").slideToggle();
});
OK.
Error is not displayed anymore.
Thank you,
L
you're welcome