Skip to main content

Tooltips on Profile edition icons

More
14 years 5 months ago - 14 years 5 months ago #46891 by codewarrior
Hi,
to avoid view overriding for a such detail, it would be nice to add tooltips in Hikashop, for My informations / Profile edit and delete icons, like in the checkout cart
The icons are quite small and similar.



Thanks by advance
Last edit: 14 years 5 months ago by codewarrior.

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #47026 by Xavier
Hi codewarrior,

Yes tooltips can be useful in that case.
This may already be changed, awaiting our update.

Go in HikaShop > display > Views - edit the file "address / listing.php" in the good template, and add title for the images:
add:
Code:
title="<?php echo JText::_('HIKA_DELETE'); ?>" AND title="<?php echo JText::_('HIKA_EDIT'); ?>"
in the <img> tags
Code:
<a href="<?php echo hikashop_completeLink('address&task=delete&address_id='.$address->address_id.'&'.JUtility::getToken().'=1&Itemid='.$Itemid);?>"><img src="<?php echo HIKASHOP_IMAGES; ?>delete.png" alt="<?php echo JText::_('HIKA_DELETE'); ?>" /></a> <a class="modal" rel="{handler: 'iframe', size: {x: 450, y: 480}}" href="<?php echo hikashop_completeLink('address&task=edit&address_id='.$address->address_id.'&Itemid='.$Itemid,true);?>"><img src="<?php echo HIKASHOP_IMAGES; ?>edit.png" alt="<?php echo JText::_('HIKA_EDIT'); ?>" /></a>
The following user(s) said Thank You: codewarrior

Please Log in or Create an account to join the conversation.

More
14 years 5 months ago #47063 by codewarrior
Thanks for the file.
Works fine.
Don't forget someting to see updates for overwrited files.

Maybe add also something to switch between overwrite and not...

Regards

Please Log in or Create an account to join the conversation.

Time to create page: 0.198 seconds
Powered by Kunena Forum