Buy One OpenCart Theme, Download One for Free!
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: html tags in title images

html tags in title images 7 years, 5 months ago #2503

  • hotgomer
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
Hi!
good module. but, why when you hover the mouse cursor on the image display HTML tags?
its no good
how to fix it?
thanks

Re: html tags in title images 7 years, 5 months ago #2521

  • admin
  • OFFLINE
  • Administrator
  • Posts: 1081
  • Karma: 14
Dear Kirill Khatkevich

with theme 1, please open modules\mod_sj_vm_slickslider\tmpl\theme1.php file, find this code:
<img src="<?php echo Ytools::resize($item['image'], $big_image_config);?>" alt="<?php echo $item['link'];?>" title="<?php echo YTools::truncate($item['title'], $options->limit_title)."&lt;/br>";
                     if((int)$options->show_price == 1){
                        if($item['price']['discountAmount'] > 0){
                        $price_before_discount = $item['price']['salesPrice'] + $item['price']['discountAmount'] ;
                        echo "&lt;span style='color:".$options->price_color.";font-size: 20px; font-family: Georgia;'>";
                        echo "&lt;s>". $vm_currency_display->priceDisplay($price_before_discount)."&lt;/s>&nbsp;&nbsp;&nbsp;&nbsp;";
                        echo "&lt;/span>";
                        }
                        echo "&lt;span style='color:".$options->price_color_salesPrice.";font-size: 20px; font-family: Georgia;'>";
                            echo $vm_currency_display->priceDisplay($item['price']['salesPrice']); 
                        echo "&lt;/span>";
                    }                   
                    ?>"
                    width="<?php echo $options->big_item_image_width?>px;" height="<?php echo $options->big_item_image_height?>px;"/>


and change to:

<img src="<?php echo Ytools::resize($item['image'], $big_image_config);?>" alt="<?php echo $item['link'];?>" title="<?php echo YTools::truncate($item['title'], $options->limit_title)?>"
                    width="<?php echo $options->big_item_image_width?>px;" height="<?php echo $options->big_item_image_height?>px;"/>
Join our Clubs to download our extensions and templates
The following user(s) said Thank You: hotgomer, Virtuemart

Re: html tags in title images 7 years, 5 months ago #2546

  • hotgomer
  • OFFLINE
  • Single Product
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
it's great!!
thanks
  • Page:
  • 1
Time to create page: 0.37 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.

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