Jump to content

Filemanager 6.4.2


Claudia

Recommended Posts

I am not familiar with that approach.

In admin, FileManager section, Images, the listing has changed a bit - from a vertical stack (CC629) to a horizontal flow (CC641+).

"I like how clicking on a folder shows thumbnails"

Am I to read that this new display seen in CC641+ is what you now like? Or were you expressing that you like how CC629 did it?

I made a comment about the horizontal flow (https://github.com/cubecart/v6/issues/2687). You would like to see the vertical accordion for the folders?

Link to comment
Share on other sites

Here's what it looks like now on the image filemanager page.

40169516_imagefolders6.4.2.PNG.09250457e2907da49a731ffb5be964db.PNG

I was wondering if you could have the option of showing them in an alphabetical list without the folder image.  But when you click on the individual folder the thumbnails still show like this. I have a folder for each of my products

image-item-folder-6.4.2.jpg.59d41134bc597684d471625c4dd1f8c3.jpg

.

 

Link to comment
Share on other sites

Let's try to work this out. You will need to be a bit more clear about what you want.

Take a look at the Downloads Filemanager page. Here, we see that the folders and files are in a simple vertical list.

So, how about showing the Images list showing only the folders as a simple vertical list (but not as wide as the whole page, of course), then the images as a flowing horizontal list?

Link to comment
Share on other sites

the main image folder doesn't have to show an image.  Just have a vertical list of the names of the folders (which happens to be my excel_name ). So It would look something like this - without the blue highlight or even the small folder images.

products.PNG.13454bd60dd30ee1d115a8dc8407d366.PNG

Then when you click and open say ATC-1000 ashtray-ceramic-breaker-363-car you get thumbnails of each image like it is in 6.4.2 now as seen in Essig Bros. ashtray capture above.  The way it is now in 6.4.2 it's too much scrolling because of the folder image size and if I chose the smallest image then the font is too small and I still have to scroll. But like I said I do like how it looks once the main folder for a product is opened with the thumbnails and all.

I really appreciate this Brian

Link to comment
Share on other sites

Let's try this:

In the admin template filemanager.index.php:

Near line 40, from:

      {/foreach}
      {/if}

      {if isset($FILES)}

To:

      {/foreach}
</div>
      {/if}

      {if isset($FILES)}

Near line 27, find:

      {if isset($FOLDERS)}
      {foreach from=$FOLDERS item=folder}
      <div {if $FILMANAGER_MODE == '1'}class="fm-item folder {$FM_SIZE}"{/if}>
      {if $FILMANAGER_MODE == '1'}<a href="{$folder.link}" class="thumbnail"><img src="{$SKIN_VARS.admin_folder}/skins/default/images/folder_large.png"/></a>{/if}
      <span class="actions">

To:

      {if isset($FOLDERS)}
<div style="border:1px solid green;float:left;min-width:160px;">
      {foreach from=$FOLDERS item=folder}
<div {if $FILMANAGER_MODE == '1'}class="folder {* $FM_SIZE *}" style="height:25px;"{/if}>
{if $FILMANAGER_MODE == '1'}<a href="{$folder.link}" class="thumbnail"><i class="fa fa-folder" aria-hidden="true" alt="{$folder.name}"></i>{* <img src="{$SKIN_VARS.admin_folder}/skins/default/images/folder_large.png"/> *}</a>{/if}
<span class="fa actions">

This is a rough draft, so be ready to make suggestions on tweaks.

Link to comment
Share on other sites

At the bottom of the list (which may be quite a ways down) is a red-lettered button that will delete all the checked items en mass. This includes all checked folders and files.

The green bordered box (you can adjust the styling applied to the <div> box -- see the new code) has a minimum width of 160px. It will get wider if the contents push it wider. (hopefully without wrapping the text - but these are folder names and shouldn't have spaces in them anyways).

 

 

Link to comment
Share on other sites

No red-lettered button?

I would say, let's check and compare with the online demo, but currently, the username and password seems to be borked.

 

I see what is happening.

Even though the folders have checkboxes to delete en mass, the button only shows if there are files listed.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...