Happy Children's Day 2020! Up to 50% OFF Storewide!
0
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum

We are here to serve :)

Our support team is currently online to solve your issues.

Our support team is currently offline

Our support heroes might not be around this hour. Please expect some delays.

Our support is available from

Monday - Friday 8am - 5:30pm GMT+7

Your time: 00:00:00
Our time: 00:00:00

Welcome, Guest
  • Page:
  • 1

TOPIC: Remove image

Remove image 3 years, 7 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 3 years, 7 months ago #29304

  • thuyltt
  • OFFLINE
  • Administrator
  • Posts: 1096
  • Karma: 10
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 3 years, 7 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 3 years, 7 months ago #29311

  • thuyltt
  • OFFLINE
  • Administrator
  • Posts: 1096
  • Karma: 10
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 3 years, 7 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 3 years, 7 months ago #29317

  • thuyltt
  • OFFLINE
  • Administrator
  • Posts: 1096
  • Karma: 10
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.41 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.
Happy Children's Day 2020! Up to 50% OFF Storewide

Suggested Posts

(/)
Result not found!

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
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes