Hi
You can follow this way:
-
Go to file: ROOT/templates/ja_fixel/templateDetails.xml
Add a new position, ex. slideshow under tag
<position>slideshow</position>
- Create a new block:
Go to directory: ROOT/templates/ja_fixel/tpls/blocks/
Create a new PHP file called slideshow.php
Put the code below inside this new file:
<?php
defined('_JEXEC') or die;
?>
<?php if ($this->countModules('slideshow')) : ?>
<!-- Slideshow -->
<div class="ja-slideshow <?php $this->_c('slideshow') ?>">
<jdoc:include type="modules" name="<?php $this->_p('slideshow') ?>" style="raw" />
</div>
<!-- //Slideshow -->
<?php endif ?>
- Next, load this new slideshow block in home layout
Open the file: ROOT/templates/ja_fixel/tpls/home.php ( I assume you use this ‘home’ layout, if you use other layout, you should edit associated file)
Add a new line of code to call slideshow block as below:
<body class="<?php echo $resClass ?>"></li>
</ul>
<p><?php $this->loadBlock ('header') ?></p>
<p><?php $this->loadBlock ('slideshow') ?></p>
<p><?php $this->loadBlock ('home') ?></p>
<p><?php $this->loadBlock ('footer') ?></p>
<p><?php $this->loadBlock ('popup') ?>
Then go to Module manager in backend and assign your slideshow module to slideshow position.