WFX: Different views in different folders

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
mtijanic
New Member
New Member
Posts: 1
Joined: 2021-06-25, 08:36 UTC

WFX: Different views in different folders

Post by *mtijanic »

Hi all,

I'm working on a filesystem plugin where the root lists different servers, and once you enter a given server you can browse the files.
I would like for the root view to show different columns from the non-root view. However, the FsContentGetDefaultView() does not take a path parameter, forcing the whole plugin to show the same view.

Is there some way to switch the default views based on the path? Perhaps some TC command I could execute on FsFindFirst() to switch the view?

Thanks!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: WFX: Different views in different folders

Post by *ghisler(Author) »

No, this cannot be requested from the plugin. But the user can define custom view modes depending on the directory.
Author of Total Commander
https://www.ghisler.com
Post Reply