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: Remove image

Remove image 7 years, 6 months ago #29299

I show modules with several items but I do not want to show image beside the item title. How can I do?

Re: Remove image 7 years, 6 months ago #29304

  • thuyltt
Dear anh.tran.admin@gmail.com,
Please remove this code in files: mod_sj_k2_mega_news/tmpl/theme_default1.php (theme_default2.php, theme_default3.php)
if ($img) {
?>
<div class="item-image">
<a href="<?php echo $item0->link; ?>"
title="<?php echo $item0->name ?>" <?php echo K2MegaNewsHelper::parseTarget($params->get('link_target')); ?> >
<?php echo K2MegaNewsHelper::imageTag($img, $first_image_config); ?>
</a>
</div>
<?php } ?>

Thanks.

Re: Remove image 7 years, 6 months ago #29308

thanks a lot. I see it has three theme but I want to create new theme. I declare it in file xml. It show name in list theme at backend. I choose this new name but the front page is error. How can I use the new one theme?

Re: Remove image 7 years, 6 months ago #29311

  • thuyltt
Dear anh.tran.admin@gmail.com,
Please create file name tmpl/default_theme4.php
and create in file .xml
<field name="theme" type="list" default="theme1" label="Select a Theme"
description="Please select a theme for the module">
<option value="theme1">Theme 1</option>
<option value="theme2">Theme 2</option>
<option value="theme3">Theme 3</option>
</field>
CHANGE TO:
<field name="theme" type="list" default="theme1" label="Select a Theme"
description="Please select a theme for the module">
<option value="theme1">Theme 1</option>
<option value="theme2">Theme 2</option>
<option value="theme3">Theme 3</option>
<option value="theme4">Theme 4</option>
</field>
Edit your content in file: tmpl/default_theme4.php

Thanks.

Re: Remove image 7 years, 6 months ago #29314

I create following this then copy theme 3 content to theme 4 but site has nothing. white page only

Re: Remove image 7 years, 6 months ago #29317

  • thuyltt
Dear anh.tran.admin@gmail.com,
Could you please feel free to post your question into our ticket system? We need more detail your information to check.

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