UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

Refresh module

Fagault Eric · ·
5:13 AM Wednesday, 25 January 2017
None
Hello,
I would like to ask two questions about refreshment.

Where can I set the timing for refreshing notifications?

I would also like to refresh the modules on a regular basis
Mod_easysocial_users
mod_easysocial_friend_suggestions
Mod_easysocial_recentpolls
mod_easysocial_friend_suggestions


They are all in POSITION-7 of the Template, I thought that refreshing the position would suffice, I deposited a script in the index.php file of the Template (PROTOSTAR) just before reframing the tag </ body> No influence.

Here's the script, do you think this is a good method?

<script type="text/javascript">
jQuery(document).ready(function($) {
setInterval(function() {
$.ajax({
url: '<?php echo JURI::getInstance()->tostring() ?>',
success: function(a) {
$('#position-7').html($(a).find('#position-7').html());
}
});
}, 30000);
});
</script>

Best regards.

Eric
The replies under this section are restricted to logged in users or users with an active subscription with us