fix stili home page
This commit is contained in:
@ -71,12 +71,14 @@ var swiper = new Swiper(".carosellofeatured", {
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="featured mt-5">
|
||||
<div class="featured my-5">
|
||||
<?php if ($this->params->get('show_page_heading') != 0) : ?>
|
||||
<div class="titolo-featured">
|
||||
<?php echo $this->escape($this->params->get('page_heading')); ?>
|
||||
<div class="titolo-featured mb-4">
|
||||
<div class="ps-5 ps-lg-3 container bg-white position-relative"><span class="h2"><?php echo $this->escape($this->params->get('page_heading')); ?></span></div>
|
||||
<div class="swiper-controls">
|
||||
<div class="swiper-button-next swiper-button-next"></div>
|
||||
<div class="swiper-button-prev swiper-button-prev"></div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<div class="container-jit">
|
||||
@ -112,11 +114,7 @@ var swiper = new Swiper(".carosellofeatured", {
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<div class="swiper-controls container">
|
||||
<div class="swiper-button-next swiper-button-next"></div>
|
||||
<div class="swiper-button-prev swiper-button-prev"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
@ -41,17 +41,7 @@ $isUnpublished = $this->item->state == ContentComponent::CONDITION_UNPUBLISH
|
||||
<div class="system-unpublished">
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($params->get('show_title')) : ?>
|
||||
<span class="item-title">
|
||||
<?php if ($params->get('link_titles') && $params->get('access-view')) : ?>
|
||||
<a href="<?php echo Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>">
|
||||
<?php echo $this->escape($this->item->title); ?>
|
||||
</a>
|
||||
<?php else : ?>
|
||||
<?php echo $this->escape($this->item->title); ?>
|
||||
<?php endif; ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<?php if ($this->item->state == ContentComponent::CONDITION_UNPUBLISHED) : ?>
|
||||
<span class="badge bg-warning text-light"><?php echo Text::_('JUNPUBLISHED'); ?></span>
|
||||
@ -83,8 +73,27 @@ $isUnpublished = $this->item->state == ContentComponent::CONDITION_UNPUBLISH
|
||||
|
||||
<?php // Content is generated by content plugin event "onContentBeforeDisplay" ?>
|
||||
<?php //echo $this->item->event->beforeDisplayContent; ?>
|
||||
|
||||
<?php if ($info == 1 || $info == 2) : ?>
|
||||
<?php if ($useDefList) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.info_block', ['item' => $this->item, 'params' => $params, 'position' => 'below']); ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($params->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.tags', $this->item->tags->itemTags); ?>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($params->get('show_title')) : ?>
|
||||
<span class="item-title">
|
||||
<?php if ($params->get('link_titles') && $params->get('access-view')) : ?>
|
||||
<a href="<?php echo Route::_(RouteHelper::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>">
|
||||
<?php echo $this->escape($this->item->title); ?>
|
||||
</a>
|
||||
<?php else : ?>
|
||||
<?php echo $this->escape($this->item->title); ?>
|
||||
<?php endif; ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
<?php echo $this->item->introtext; ?>
|
||||
|
||||
<?php
|
||||
/*$introtext = $this->item->introtext;
|
||||
|
||||
@ -102,14 +111,7 @@ $isUnpublished = $this->item->state == ContentComponent::CONDITION_UNPUBLISH
|
||||
|
||||
<?php //echo htmlspecialchars($limited_introtext); ?>
|
||||
|
||||
<?php if ($info == 1 || $info == 2) : ?>
|
||||
<?php if ($useDefList) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.info_block', ['item' => $this->item, 'params' => $params, 'position' => 'below']); ?>
|
||||
<?php endif; ?>
|
||||
<?php if ($params->get('show_tags', 1) && !empty($this->item->tags->itemTags)) : ?>
|
||||
<?php echo LayoutHelper::render('joomla.content.tags', $this->item->tags->itemTags); ?>
|
||||
<?php endif; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
|
||||
<?php if ($params->get('show_readmore') && $this->item->readmore) :
|
||||
if ($params->get('access-view')) :
|
||||
|
||||
Reference in New Issue
Block a user