Skip to content

Instantly share code, notes, and snippets.

// no direct access
defined('_JEXEC') or die;
?>
<ul class="latestnews<?php echo $moduleclass_sfx; ?>">
<?php foreach ($list as $item) : ?>
<li>
<a href="<?php echo $item->link; ?>">
<?php echo $item->title; ?></a>
<?php //json decodes the image object and gets the intro image source. ?>
<ul class="accordion" data-accordion>
<li class="accordion-item" data-accordion-item>
<!-- Titulo del tab -->
<a href="#" class="accordion-title">Titulo 1</a>
<!-- Contenido del tab -->
<div class="accordion-content" data-tab-content>
<p>Contenindo</p>
</div>