Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

Intro image - link to article
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Intro image - link to article

Intro image - link to article 9 years, 6 months ago #23851

Hi, I would like to change setting of intro images from showing full image to opening the article. I tried to modify the intro_image.php but with no results. Please help.

Re: Intro image - link to article 9 years, 5 months ago #23860

SOLVED!!!
I have modified code in intro_image.php as follows:
<figure class="pull-<?php echo htmlspecialchars($imgfloat); ?> item-image" style="min-width:<?php echo $imgW ?>px;min-height:<?php echo $imgH ?>px">
		<a  data-rel="prettyPhoto"   title="<?php echo htmlspecialchars($images->image_intro_alt); ?>" href="<?php echo $full_img; ?>"  >
			<?php echo $thumb_img; ?>
		</a>
    </figure>


change to:

<figure class="pull-<?php echo htmlspecialchars($imgfloat); ?> item-image" style="min-width:<?php echo $imgW ?>px;min-height:<?php echo $imgH ?>px">
		<a title="<?php echo htmlspecialchars($images->image_intro_alt); ?>" href="<?php echo JRoute::_(ContentHelperRoute::getArticleRoute($displayData->slug, $displayData->catid)); ?>"  >
			<?php echo $thumb_img; ?>
		</a>
    </figure>


... and it works. Thanks guys for this great template !!!
  • Page:
  • 1
Time to create page: 0.19 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes