Skip to main content

Image selector doesn't show the whole the filename

More
10 years 10 months ago #219253 by Lumiga
-- 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

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

More
10 years 10 months ago #219258 by Jerome
Hi,

Please edit the view "backend / your-backend-template / upload / galleryimage" and replace
Code:
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
Code:
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.
The following user(s) said Thank You: Lumiga

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

More
10 years 10 months ago #219305 by Lumiga
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.

More
10 years 10 months ago #219318 by Jerome
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.
The following user(s) said Thank You: Lumiga

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

More
10 years 1 month ago - 10 years 1 month ago #248906 by Lumiga
Thanks!

I have seen the improvement in the release 2.6.3

;)

Kind regards,
Lumiga
Last edit: 10 years 1 month ago by Lumiga.

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

More
10 years 1 month ago #248908 by nicolas
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.152 seconds
Powered by Kunena Forum