M
M
Matvey Tomilov2018-11-11 05:02:32
Joomla
Matvey Tomilov, 2018-11-11 05:02:32

How to fix joomla slider after update?

I didn’t work with Joomla myself, but after updating to 3.8.13 from 3.6,
the site
slider stopped working. As I understand it, it substitutes the image path in the wrong place, it seems to have found a file in the template that is responsible for this, but I’m not sure about it
What can I do to fix the slider?

<?php 

$mod = array("rotator" => array(
  
  "background-01" => $params->get('mod-background-01'),
  "icon-01" => $params->get('mod-icon-01'),
  "title-01" => $params->get('mod-title-01'),
  "link-01" => $params->get('mod-link-01'),
  "description-01" => $params->get('mod-description-01'),
  
  "background-02" => $params->get('mod-background-02'),
  "icon-02" => $params->get('mod-icon-02'),
  "title-02" => $params->get('mod-title-02'),
  "link-02" => $params->get('mod-link-02'),
  "description-02" => $params->get('mod-description-02'),
  
  "background-03" => $params->get('mod-background-03'),
  "icon-03" => $params->get('mod-icon-03'),
  "title-03" => $params->get('mod-title-03'),
  "link-03" => $params->get('mod-link-03'),
  "description-03" => $params->get('mod-description-03'),
  
  "background-04" => $params->get('mod-background-04'),
  "icon-04" => $params->get('mod-icon-04'),
  "title-04" => $params->get('mod-title-04'),
  "link-04" => $params->get('mod-link-04'),
  "description-04" => $params->get('mod-description-04'),
  
  "background-05" => $params->get('mod-background-05'),
  "icon-05" => $params->get('mod-icon-05'),
  "title-05" => $params->get('mod-title-05'),
  "link-05" => $params->get('mod-link-05'),
  "description-05" => $params->get('mod-description-05')

  )
);

?>
<div class="block-rotator">
  <ul class="rotator-content">
    <?php if($mod["rotator"]["background-01"]): ?>
    <li style="background-image: url("<?php echo $mod["rotator"]["background-01"]; ?>");">
      <div class="item-rotator">
        <?php if($mod["rotator"]["icon-01"]): ?>
          <a class="item-icon"<?php if($mod["rotator"]["link-01"]): ?> href="<?php echo $mod["rotator"]["link-01"]; ?>"<?php endif; ?> style="background-image: url("<?php echo $mod["rotator"]["icon-01"]; ?>");">
            <span><?php echo $mod["rotator"]["title-01"]; ?></span>
          </a>
        <?php endif; ?>
        <?php if($mod["rotator"]["description-01"]): ?>
        <div class="item-description">
          <?php echo $mod["rotator"]["description-01"]; ?>
        </div>
        <?php endif; ?>
      </div>
    </li>
    <?php endif; ?>
    <?php if($mod["rotator"]["background-02"]): ?>
    <li style="background-image: url("<?php echo $mod["rotator"]["background-02"]; ?>");">
      <div class="item-rotator">
        <?php if($mod["rotator"]["icon-02"]): ?>
          <a class="item-icon"<?php if($mod["rotator"]["link-02"]): ?> href="<?php echo $mod["rotator"]["link-02"]; ?>"<?php endif; ?> style="background-image: url("<?php echo $mod["rotator"]["icon-02"]; ?>");">
            <span><?php echo $mod["rotator"]["title-02"]; ?></span>
          </a>
        <?php endif; ?>
        <?php if($mod["rotator"]["description-02"]): ?>
        <div class="item-description">
          <?php echo $mod["rotator"]["description-02"]; ?>
        </div>
        <?php endif; ?>
      </div>
    </li>
    <?php endif; ?>
    <?php if($mod["rotator"]["background-03"]): ?>
    <li style="background-image: url("<?php echo $mod["rotator"]["background-03"]; ?>");">
      <div class="item-rotator">
        <?php if($mod["rotator"]["icon-03"]): ?>
          <a class="item-icon"<?php if($mod["rotator"]["link-03"]): ?> href="<?php echo $mod["rotator"]["link-03"]; ?>"<?php endif; ?> style="background-image: url("<?php echo $mod["rotator"]["icon-03"]; ?>");">
            <span><?php echo $mod["rotator"]["title-03"]; ?></span>
          </a>
        <?php endif; ?>
        <?php if($mod["rotator"]["description-03"]): ?>
        <div class="item-description">
          <?php echo $mod["rotator"]["description-03"]; ?>
        </div>
        <?php endif; ?>
      </div>
    </li>
    <?php endif; ?>
    <?php if($mod["rotator"]["background-04"]): ?>
    <li style="background-image: url("<?php echo $mod["rotator"]["background-04"]; ?>");">
      <div class="item-rotator">
        <?php if($mod["rotator"]["icon-04"]): ?>
          <a class="item-icon"<?php if($mod["rotator"]["link-04"]): ?> href="<?php echo $mod["rotator"]["link-04"]; ?>"<?php endif; ?> style="background-image: url("<?php echo $mod["rotator"]["icon-04"]; ?>");">
            <span><?php echo $mod["rotator"]["title-04"]; ?></span>
          </a>
        <?php endif; ?>
        <?php if($mod["rotator"]["description-04"]): ?>
        <div class="item-description">
          <?php echo $mod["rotator"]["description-04"]; ?>
        </div>
        <?php endif; ?>
      </div>
    </li>
    <?php endif; ?>
    <?php if($mod["rotator"]["background-05"]): ?>
    <li style="background-image: url("<?php echo $mod["rotator"]["background-05"]; ?>");">
      <div class="item-rotator">
        <?php if($mod["rotator"]["icon-05"]): ?>
          <a class="item-icon"<?php if($mod["rotator"]["link-05"]): ?> href="<?php echo $mod["rotator"]["link-05"]; ?>"<?php endif; ?> style="background-image: url("<?php echo $mod["rotator"]["icon-05"]; ?>");">
            <span><?php echo $mod["rotator"]["title-05"]; ?></span>
          </a>
        <?php endif; ?>
        <?php if($mod["rotator"]["description-05"]): ?>
        <div class="item-description">
          <?php echo $mod["rotator"]["description-05"]; ?>
        </div>
        <?php endif; ?>
      </div>
    </li>
    <?php endif; ?>
  </ul>
<div class="clr"></div>
</div>

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question