Image selector doesn't show the whole the filename

  • Posts: 584
  • Thank you received: 22
  • Hikaserial Subscription Hikashop Multisite
8 years 6 months ago #219253

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.4.4
-- PHP version -- : 5.6
-- Browser(s) name and version -- : FF 40.0.3

Hi Hikashop,

When you choose a image you can't see the filename.
So if you use the mouse over it doesn't show the whole image name (see screenshot), so you don't know which image to choose.

Can you please take a look at this issue.

Thank you!

Kind regards,
Lumiga


Kind regards,
Lumiga
Attachments:

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

  • Posts: 26017
  • Thank you received: 4004
  • MODERATOR
8 years 6 months ago #219258

Hi,

Please edit the view "backend / your-backend-template / upload / galleryimage" and replace

	foreach($this->dirContent as $k => $content) {
		$chk_uid = 'hikaGalleryChk_' . $k . '_' . uniqid();
?>
	<li class="hikaGalleryItem">
		<a class="hikaGalleryPhoto" href="#" onclick="return window.hikagallery.select(this, '<?php echo $chk_uid; ?>');">
By
	hikashop_loadJsLib('tooltip');
	foreach($this->dirContent as $k => $content) {
		$chk_uid = 'hikaGalleryChk_' . $k . '_' . uniqid();

		$tooltip = '';
		if(strlen($content->filename) > 15)
			$tooltip = ' data-toggle="hk-tooltip" data-title="'.htmlentities($content->filename).'"';
?>
	<li class="hikaGalleryItem">
		<a class="hikaGalleryPhoto" href="#" onclick="return window.hikagallery.select(this, '<?php echo $chk_uid; ?>');"<?php echo $tooltip; ?>>
It will add a tooltip on the element with too long file names.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: Lumiga

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

  • Posts: 584
  • Thank you received: 22
  • Hikaserial Subscription Hikashop Multisite
8 years 6 months ago #219305

Hi Jerome,

Thank you very much!
I think a lot of people have this problem so maby it's a good idea to make somethig in future releases.

Kind regards,
Lumiga


Kind regards,
Lumiga

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

  • Posts: 26017
  • Thank you received: 4004
  • MODERATOR
8 years 6 months ago #219318

Hi,

It was already submit in the repository for a approval in a future release :)

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: Lumiga

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

  • Posts: 584
  • Thank you received: 22
  • Hikaserial Subscription Hikashop Multisite
7 years 8 months ago #248906

Thanks!

I have seen the improvement in the release 2.6.3

;)


Kind regards,
Lumiga
Last edit: 7 years 8 months ago by Lumiga.

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

  • Posts: 81598
  • Thank you received: 13082
  • MODERATOR
7 years 8 months ago #248908

Hi,

This has already been included in HikaShop. If you use the latest version, you already have that patch.

The following user(s) said Thank You: Lumiga

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

Time to create page: 0.065 seconds
Powered by Kunena Forum