Folders: group items in the Theme Explorer

Posts: 785
Starting in version 1.29.9.0, I introduced an experimental useful feature where you can group items in the Theme Explorer in folders. This allows you to more easily keep track of items if you have a long list of many items.




Creating folders
To create a folder, you have to move at least one item into a folder. There is a new button on the Theme Explorer that invokes the "Move to folder" dialog. Enter a name for your folder and the selected item will move into that folder (or create a new folder if it does not yet exist). You cannot have empty folders.


Moving items between folders
To move an item into a folder, you can also drag and drop it in the Theme Explorer. You can drop it outside the folder to move it out.
Alternatively, you can find the Folder property on each item (now in the General information category) and change it there.


Deleting a folder
If you select a folder and hit delete, a warning will tell you that all items in that folder will be deleted. To delete a folder without deleting the contents, simply move all items out of the folder.


Limitations
  • You cannot nest folders, only one level of folders is supported at the moment.
  • The folders are purely for visual purposes and serve no other functionality.
  • You cannot have an empty folder.
  • Folders are not supported on nested items such as SubWidgets and Labels, only the top-level Widgets support folders.
  • Folders on items that correspond to actual files in your Contents folder (images, videos, fonts, etc) do not correspond to the real folder location. The files themselves must still remain in the root Contents folder and will not go in subfolders. Again, the folder in the Theme Explorer is a visual effect only useful for grouping but serves no other purpose.
  • In cases where the order of items is meaningful (for example: Widgets, where the order determines the Z-index, or which widget is on top), ordering of the items is only maintained within each folder. Meaning: folder "A" with 3 widgets has those 3 widgets ordered by Z-index, however a different folder "B" may be either above or below that folder. The widgets in folder "B" do not necessarily go above or below the widgets in folder "A". The Z-index is still decided on each widget, and moving the folders around does not change that.
Edited (2 times)
Posts: 287
Click right in Widget don't give Add Subwiget !
Posts: 785
Emmanuel Suter wrote:
Click right in Widget don't give Add Subwiget !
Thanks, I'll have to fix that. Meanwhile you can add it via the toolbar or menu.
Posts: 287
Is it possible to add a dropdown list of existing folder when you do right clic to Move to Folder? Cause when your Widget is in Zindex 1 and your Folder in Zindex 40 ... it's need to first change Zindex of Widget to put in Folder.
Edited (1 time)
Posts: 785
Emmanuel Suter wrote:
Is it possible to add a dropdown list of existing folder when you do right clic to Move to Folder?
I can see if that is easy to add. But you can already just drag and drop items so is this really adding much?

Emmanuel Suter wrote:
Cause when your Widget is in Zindex 1 and your Folder in Zindex 40 ... it's need to first change Zindex of Widget to put in Folder.
No, this is not correct. The Z-index should not be touched (unless you want to change it). You can put widgets with Z-index 1,5,10,12 in a folder, and have other widgets in another folder with Z-index 2,6,11,20 or something. Within a folder, you can re-arrange widgets by dragging and dropping and they will swap their Z-index.

There is no need to change the Z-index to group widgets in a folder.
Posts: 287
Nick Thissen wrote:
Emmanuel Suter wrote:
Is it possible to add a dropdown list of existing folder when you do right clic to Move to Folder?
I can see if that is easy to add. But you can already just drag and drop items so is this really adding much?

If you got a list of 40 widget, you can drag only on the visible part of widget. So you need to drag in middle and drag again until you can see Folder
Edit:
It is only for old Theme wich you want to put Widget on Folder
For me I change directly in XML if can't do in one step in Editor.

Edited (1 time)
Posts: 785
I see, you're saying the list is too long to drag in one time. In that case dragging doesn't really work no. You can still just use the Move to folder option or just set the folder directly from the properties.
Posts: 287
Ok I don't see the possibility in Properties, just think to copy Folder name before do the properties change (to put the good name).

Edit: I don't understand first if you put an existing name of folder it put in the good one cause label is New Name ;)
Edited (1 time)
Nick,
It often happens when I double click on a SubWidget in a group, that it goes out of the group.
Posts: 785
Thanks, these issues will be fixed in next update.
folder folders group grouping