2016-06-20 5 views
-1

Wie automatisch aktualisieren nur eine modul in joomla?Wie automatisch nur ein Modul in Joomla aktualisieren?

<?php if ($this->countModules('parite')) : ?> 
        <section id="parite" > 

         <jdoc:include type="modules" name="parite" style="xhtml" /> 

        </section> 
     <?php endif; ?> 
+0

Was meinst du mit erfrischend? Könnten Sie uns bitte mehr Kontext geben? – itoctopus

Antwort

0

Das war die Antwort, die ich suchte.

<script type="text/javascript" src="https://code.jquery.com/jquery-1.8.3.min.js"></script> 

<script type="text/javascript"> 
var refreshId = setInterval(function() 
{ 
jQuery('#parite').load('<?php echo $this->baseurl ?>/modules/mod_parite/mod_parite.php');  

}, 1000); 
</script> 
<div id="parite"></div>