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

TOPIC: Read More link

Read More link 10 years, 11 months ago #15173

  • anndemeyer
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Karma: 0
Hi, Is there a possibility to add a Read More link to the small items.

Re: Read More link 10 years, 11 months ago #15217

Dear Ann Demeyer,

Please go to your_site\modules\mod_sj_news_frontpage\tmpl\default_theme1.php and find:
<?php if( (int)$params->get('small_item_description_display', 1) ){ ?>
					<div class="small-item-description">
						<?php echo NewsFrontpageHelper::truncate($item->introtext, (int)$params->get('small_item_description_max_characters', 32));?>
					</div>
				<?php } ?>

=>

<?php if( (int)$params->get('small_item_description_display', 1) ){ ?>
					<div class="small-item-description">
						<?php echo NewsFrontpageHelper::truncate($item->introtext, (int)$params->get('small_item_description_max_characters', 32));?>
					</div>
				<?php } ?>
				
				<div class="small-item-readmore">
						<a href="<?php echo $item->link; ?>" <?php echo NewsFrontpageHelper::parseTarget($params->get('target')); ?> >
							<?php echo $params->get('item_readmore_text', 'Product details'); ?>
						</a>
				</div>


Thanks!
  • Page:
  • 1
Time to create page: 0.30 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