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: html tags in title images

html tags in title images 12 years, 8 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 12 years, 8 months ago #2521

  • David Hoang
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;"/>

Re: html tags in title images 12 years, 8 months ago #2546

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