Claudia Posted December 15, 2020 Share Posted December 15, 2020 Is there any way to show the main folders in a list as before? I like how clicking on a folder shows thumbnails, I'm just talking about the main folders. Thanks in advance, Claudia Link to comment Share on other sites More sharing options...
bsmither Posted December 15, 2020 Share Posted December 15, 2020 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 More sharing options...
Claudia Posted December 15, 2020 Author Share Posted December 15, 2020 Here's what it looks like now on the image filemanager page. 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 . Link to comment Share on other sites More sharing options...
bsmither Posted December 15, 2020 Share Posted December 15, 2020 Currently, there is no administratively selectable option on how to display the folder hierarchy. As such, skin edits will be required to get what you want. Link to comment Share on other sites More sharing options...
Claudia Posted December 15, 2020 Author Share Posted December 15, 2020 I've asked too much of you Brian. I'm not going to ask you what skin edits. I'll just manage as is. Thanks for responding. Link to comment Share on other sites More sharing options...
bsmither Posted December 15, 2020 Share Posted December 15, 2020 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 More sharing options...
Claudia Posted December 15, 2020 Author Share Posted December 15, 2020 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. 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 More sharing options...
bsmither Posted December 16, 2020 Share Posted December 16, 2020 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 More sharing options...
Claudia Posted December 16, 2020 Author Share Posted December 16, 2020 That works like I wanted but what does the checkbox do? And can I make the box wider because I want to make the font a little bigger. Thanks Brian Link to comment Share on other sites More sharing options...
bsmither Posted December 16, 2020 Share Posted December 16, 2020 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 More sharing options...
Claudia Posted December 16, 2020 Author Share Posted December 16, 2020 I don't have a red-lettered button at the bottom of the list. My folder names don't have spaces so I should be fine there. Link to comment Share on other sites More sharing options...
bsmither Posted December 16, 2020 Share Posted December 16, 2020 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 More sharing options...
Claudia Posted December 16, 2020 Author Share Posted December 16, 2020 I don't think I would ever use that feature anyway - delete en mass. So if you think everything is ok then I am good. Thank you Brian Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.