News:

Looking for documentation? Take a look on our wiki

Main Menu

Image Tooltip VM2 ?

Started by minh_br, March 06, 2012, 06:03:32 AM

Previous topic - Next topic

minh_br

is there anyone know how to add tooltip to image of virtuemart 2? I tried to search for this, but it all about virtuemart 1 :(

thanks all (sorry cause my bad english)

fastestpc

#1
Give me a cup off coffee  i will help you. Make tooltip image for module, and catogory virtuemar 2.0.
Demo: http://www.chupanhcuoidep.vn
           http://www.aodaihanoi.vn
           http://www.lorca.vn

Maxim Pishnyak

Just curious, Fastestpc.

How image tooltips could be useful for your customers when IPad or IPhone are used for viewing your web shop?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

fastestpc

Quote from: Maxim Pishnyak on July 26, 2013, 12:55:53 PM
Just curious, Fastestpc.

How image tooltips could be useful for your customers when IPad or IPhone are used for viewing your web shop?


If it not usefull, nobody asked it. Sometime your customer (who rend you code) need it. Maybe It is not useful,  In fact that Ipad and Iphone need different template. And Joomla 3.x direct to it. Hope Virtuemart 3.x will resolve it.

Maxim Pishnyak

Quote from: fastestpc on July 29, 2013, 21:51:30 PM
If it not usefull, nobody asked it. Sometime your customer (who rend you code) need it. Maybe It is not useful,  In fact that Ipad and Iphone need different template. And Joomla 3.x direct to it. Hope Virtuemart 3.x will resolve it.
Well, it's nice that you was already warned that tips are not mobile friendly.

Also I'm not agree that mobile device need different template nowadays. Template could stay the same. There're plenty mobile friendly designs for J2.5 and VM2 already around you.

As for resolving, could you find any example over Internet where image tips actually work?

Or post here html code where these tips are already configured somehow.

I made such tips a long ago for VM 1, but that web shop is dead now.

I have nothing to start with.
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

Maxim Pishnyak

Ah, found something from backup of my dead web shop.

Peace of code was (for VM1)

<div align=left class="ww">

{tip <img src="<?php echo IMAGEURL.'product/'.ps_product::get_field($product_id,'product_full_image'); ?>" class="vmxtooltipimage" >}<a href="<?php echo $product_flypage ?>" class="browse-product-title"> <?php echo $product_name ?></a>{/tip}

</div>


or this

$data[$row][] = '<a href="'.$product['product_flypage'].'">{tip <img src='.$product['product_full_image'].'  class=vmxtooltipimage}'.$product['product_name'].'{/tip}</a>';


.ww{display:inline}

and was used nonumber tooltip plugin

I'm not sure that you need further help from me, Fastestpc:
1. it's possible to find for tooltip any 3rd party custom system plugin for J2.5
2. possible to use plugin tags in the override for VM category
3. adjust to VM2 standards given php code for showing images as tooltips
4. use one css class in VM2 css file
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart