News:

Looking for documentation? Take a look on our wiki

Main Menu

how to replace language text with a image? on vm 2.0

Started by diogoac, April 10, 2012, 05:20:47 AM

Previous topic - Next topic

diogoac

I did this very easy on virtuemart 1.x

But if I try the same thing on vm 2.0 doesnt work... how can I do it?

I used to do that way:

COM_VIRTUEMART_PRODUCT_DETAILS="Product Details"

-->COM_VIRTUEMART_PRODUCT_DETAILS="<img alt="Detalhes do Produto" src="images/productdetails.gif" style="width: 170px; height: 41px;" title="Product Details" />"

but wont work.. help please.

brentonking

Change to:
COM_VIRTUEMART_PRODUCT_DETAILS="<img alt='Detalhes do Produto' src='images/productdetails.gif' style='width: 170px; height: 41px;' title='Product Details' />"

I have replaced  the " inside with '. Once you put a " inside it basically cuts it off there. So what you were actually loading is just: COM_VIRTUEMART_PRODUCT_DETAILS="<img alt=" - hence why no image was showing.

Let me know how you go.