2015-12-26, 13:06
(2015-12-22, 01:37)metal450 Wrote: This skin is amazing. Worlds better than plain old Confluence!
One minor question/issue: I love the ability to add "file node" shortcuts to the main menu, to go straight to a specific location (Settings-->Skin-->Home Menu, select an item, Videos Menu-->Video - Nodes). However, doing so has the side effect of letting the user browse farther upwards (via "..") than the selected node, all the way up to the root of the filesystem. The same is true if the menu item is added as "Videos - Folder" rather than "Video - Nodes." Is there any way to prevent this?
(Note: I know you can add "Files" as a menu item, and then add a given folder as a videos source - but that isn't quite what I'm after. I'd like to directly add a folder to the main menu, as is possible via "Video - Nodes," but then have the user limited to that folder and subfolders - not be able to elevate themselves out of the directory & browse the full filesystem.)
Any ideas?
Hi,
I'm afraid what you want is not possible (or you have to make a scripts that has this behavior). Selecting the folder makes use of the built-in function Skin.SetPath and it's behavior cannot be changed. You can try SetImage or SetFile, but that function only allows you to select one single file. However going back further than the start folder is not allowed.
Helly.