Folder widget

Hi

I'm using widget folderbrowser2.widget in our external app.

  var browser = new FolderBrowserWidget2(

      {

        connection: serverConnection,

        start: {id: folderID }

      });


    browser.show({placeholder: '#folderwidget'});


Is it possible to hide Up navigation (screenshot)?


Tagged:

Comments

  • Hi Uldis,

    I think this is the purpose of the stop property in the breadcrumb object you can define in the FolderBrowser2 object.


    I haven't tried this, but would seem a logical candidate to try.

    Regards,

    David

  • Large Folders makes your phone's launcher home screen easy to navigate by organizing apps into one Large Folder and quickly accessing the corresponding app ...Foldery - Multicon Folder Widget is an app for designing widgets of apps spacebar counter folders on the desktop of your device. Designed for the purpose of having more ...There are three alternatives to Folder Organizer for Android and Android Tablet. The best alternative is JINA, which is free. Other great apps like Folder Organizer are Glextor AppManager and Smart Drawer Start by either tapping and holding on a blank space on your Android smartphone's Home Screen or by pinching the Home Screen with two (or more) fingers. Next, tap on the Widgets icon at the bottom of the screen. You can now see a list of apps. Each app has one or more available widgets

  • Hi

    Thanks for help. But the breadcrumb does not affect the UP button

    breadcrumb: {
    stop: { id: **** }
    }
  • 'conws/utils/commands/navigate/navigateup': {enabled:false} did the trick ;)

  • Hey Uldis - care to post your final code showing others benefit of your finding? :)

  • Uldis
    Uldis Member
    edited February 22, 2023 #7

    Here you go

    
    

  • An excellent example for others to beneift from :)

  • Yes, it is possible to hide the Up navigation button in the FolderBrowserWidget2. The FolderBrowserWidget2 class may have a property or method that allows you to control the visibility of the Up navigation button. However, without specific information about the FolderBrowserWidget2 implementation or the documentation for that widget, I cannot provide you with the exact code or method to achieve this.

  • I think this is the purpose of the stop property in the breadcrumb object you can define in the FolderBrowser2 object.


  • Yo,

    This has been discussed before, by me, but the best way to open a BWS in a leading application is in a IFrame and not all this horrid Smart Widget stuff.

    You should you know there are two Smart UI App. Of course there is llisapi.dll/app but there is also /llisapi.dll/xecm


    The xecm "app" is ready to go and hides all the stuff.

  • Yes, it is possible to hide the Up navigation in the FolderBrowserWidget2. However, the specific method to achieve this may depend on the implementation details of the FolderBrowserWidget2 and the options it provides for customization.

    Based on the provided code snippet, it seems that you are using the FolderBrowserWidget2 in your external app. To hide the Up navigation, you may need to modify the widget's configuration or apply custom CSS styles.

    Here are a few possible approaches you can try:

    • Check the Widget Drift Boss : Review the documentation or official resources for the FolderBrowserWidget2 to see if there are any specific options or methods available to hide the Up navigation. This can provide insights into the widget's capabilities and customization options.
    • Modify the Widget Configuration: Explore the configuration options of the FolderBrowserWidget2 to see if there is a specific setting that allows you to hide the Up navigation. Look for properties or methods related to navigation or toolbar customization.

    Apply Custom CSS: If the FolderBrowserWidget2 does not provide a built-in option to hide the Up navigation, you can try applying custom CSS styles to hide or modify the appearance of the navigation elements. Inspect the HTML structure of the widget using browser developer tools to identify the relevant CSS selectors and properties that can be targeted for customization. 

  • sammyromanx09
    sammyromanx09 New User
    edited December 21 #13

    Yes, it's possible to hide the "Up" navigation in the FolderBrowserWidget2 widget. While the exact implementation depends on the widget's API and customization options provided by its documentation, you can try the following approaches:

    1. Check for Configuration Options: Look for any specific configuration settings in the widget's documentation to disable or hide the "Up" navigation. For example:
    javascriptCopy codevar browser = new FolderBrowserWidget2({  connection: serverConnection,  start: { id: folderID },  hideUpNavigation: true // Hypothetical option});
    
    1. CSS Styling: If there isn't a direct option in the widget, you can use CSS to hide the "Up" button. Inspect the HTML rendered by the widget to identify the class or ID of the "Up" navigation element, and then hide it using CSS:
    cssCopy code#folderwidget .up-navigation {  display: none;}
    
    1. DOM Manipulation: If the above methods aren't feasible dtf film you could use JavaScript to remove or hide the "Up" navigation after the widget is rendered:
    javascriptCopy codebrowser.show({ placeholder: '#folderwidget' });document.querySelector('#folderwidget .up-navigation').style.display = 'none';