FEATURES ARTICLES IMAGE LINK

  • sidy
    Inactive member
  • Topic Author
  • Member
  • Member
More
7 years 10 months ago #46940 by sidy
HI Milos

Thank you for all your previous answers.I have an other problem for whom I request your help

Still on the website draft.wave-edu.org/ i would like to remove the link on the images or the features articles on frontpage.

exemple (HUMAN ACTION & WHITEFLIES)

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
7 years 10 months ago - 7 years 10 months ago #46941 by milos
Replied by milos on topic FEATURES ARTICLES IMAGE LINK
Hello,

Please edit file /templates/hot_luxury/html/com_content/featured/default_item.php and change this part:
Code:
<?php if (isset($images->image_intro) && !empty($images->image_intro)) : ?> <?php $imgfloat = (empty($images->float_intro)) ? $params->get('float_intro') : $images->float_intro; ?> <div class="pull-<?php echo htmlspecialchars($imgfloat); ?> item-image"><a href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($this->item->slug, $this->item->catid, $this->item->language)); ?>" itemprop="url"><img <?php if ($images->image_intro_caption): echo 'class="caption"' . ' title="' . htmlspecialchars($images->image_intro_caption) . '"'; endif; ?> src="<?php echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>"/></a></div> <?php endif; ?>

to this:
Code:
<?php if (isset($images->image_intro) && !empty($images->image_intro)) : ?> <?php $imgfloat = (empty($images->float_intro)) ? $params->get('float_intro') : $images->float_intro; ?> <div class="pull-<?php echo htmlspecialchars($imgfloat); ?> item-image"><img <?php if ($images->image_intro_caption): echo 'class="caption"' . ' title="' . htmlspecialchars($images->image_intro_caption) . '"'; endif; ?> src="<?php echo htmlspecialchars($images->image_intro); ?>" alt="<?php echo htmlspecialchars($images->image_intro_alt); ?>"/></div> <?php endif; ?>

Regards,
Milos
Last edit: 7 years 10 months ago by milos.

Please Log in to join the conversation.

Time to create page: 0.369 seconds
Powered by Kunena Forum