# Navbar Apps customization not working

**URL:** <https://discourse.openondemand.org/t/navbar-apps-customization-not-working/3414>\
**Category:** Get Help\
**Tags:** question\
**Created:** [April 9, 2024, 5:31pm UTC](https://discourse.openondemand.org/t/navbar-apps-customization-not-working/3414 "2024-04-09T17:31:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![fenz](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/fenz/32/496_2.png) [@fenz](https://discourse.openondemand.org/u/fenz)\
**Post date:** [April 9, 2024, 5:31pm UTC](https://discourse.openondemand.org/t/navbar-apps-customization-not-working/3414/1 "2024-04-09T17:31:12Z")

</div>

Hi! I wanted to try to use a custom navbar for the apps. I tried this configuration: [Customizations — Open OnDemand 3.0.3 documentation](https://osc.github.io/ood-documentation/release-3.0/customizations.html#menus-based-on-applications)  
But it doesn’t work as expected, I can configure only the apps directly under the “sys” folder. So, an app item like: sys/PATH/\* doesn’t produce any entry in the menu. I also can’t see anything useful in the logs. Does anyone tried this customization and have an idea about what can be the problem?

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [April 10, 2024, 1:56pm UTC](https://discourse.openondemand.org/t/navbar-apps-customization-not-working/3414/2 "2024-04-10T13:56:07Z")

</div>

Can you share the configuration you’re trying to use and a couple example app names that you’d like captured through the configuration.

---

<div class="post-metadata">

**Author:** ![fenz](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/fenz/32/496_2.png) [@fenz](https://discourse.openondemand.org/u/fenz)\
**Post date:** [April 10, 2024, 3:18pm UTC](https://discourse.openondemand.org/t/navbar-apps-customization-not-working/3414/3 "2024-04-10T15:18:26Z")

</div>

Configuration is the same as the example in the documentation, that’s why I was not adding anything about it in the previous message.  
Here what I did.  
I have an rstudio interactive application in a folder. I copy to the sys app path:

> $ cp -ar rstudio /var/www/ood/apps/sys/rstudio1  
> $ cp -ar rstudio /var/www/ood/apps/sys/rstudio2

with this configuration:

```auto
nav_bar:
  - title: "My Apps"
    icon: "fas://window-restore"
    apps:
      - "sys/rstudio*"

```

the menus shows up.  
 ![Screenshot 2024-04-10 at 17.13.22](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/1/1700f2af832bd4e69b13429c8deb31d5c7371687.png)

I tried then to add the 2 folders in an “rstudio” folder like in the example I mentioned.

> $ mkdir /var/www/ood/apps/sys/rstudio  
> $ cp -ar cp -ar rstudio /var/www/ood/apps/sys/rstudio/rstudio1  
> $ cp -ar cp -ar rstudio /var/www/ood/apps/sys/rstudio/rstudio2

and change the configuration like this:

```auto
nav_bar:
  - title: "My Apps"
    icon: "fas://window-restore"
    apps:
      - "sys/rstudio/*"

```

This doesn’t work.  
I tried like this:

```auto
nav_bar:
  - title: "My Apps"
    icon: "fas://window-restore"
    apps:
      - "sys/rstudio/rstudio*"

```

but no luck.  
The menu is always empty.  
 ![Screenshot 2024-04-10 at 17.15.37](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/1/157eb907427b678fe02c07772b41b24304b146d1.png)

The permission for all folders is 755.  
The “Menus based on applications” configuration in the documentation doesn’t mention any other change, anyway, for completeness, the configuration in the nginx\_stage.yml is the default one:

```auto
app_root:
  dev: '~%{owner}/%{portal}/dev/%{name}'
  usr: '/var/www/ood/apps/usr/%{owner}/gateway/%{name}'
  sys: '/var/www/ood/apps/sys/%{name}'

```

I’m not sure that’s helping. Do you have anything else I can check for more useful info of the issue?

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [April 10, 2024, 8:28pm UTC](https://discourse.openondemand.org/t/navbar-apps-customization-not-working/3414/4 "2024-04-10T20:28:56Z")

</div>

> [@fenz](#):
>
> I copy to the sys app path:

The subapp path is /local and should only hold the form and submit YML files.

So you’d have something like this. Subapps use the same `template/*` directory, but only forms and submit ymls will be applied.

```auto
/var/www/ood/apps/sys/rstudio/local/rstudio1.yml

```

---

<div class="post-metadata">

**Author:** ![fenz](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/fenz/32/496_2.png) [@fenz](https://discourse.openondemand.org/u/fenz)\
**Post date:** [April 11, 2024, 12:03pm UTC](https://discourse.openondemand.org/t/navbar-apps-customization-not-working/3414/5 "2024-04-11T12:03:25Z")

</div>

Got it. My idea was to have a “nested” structure for apps. This way I could better organize applications owned by different groups (giving permissions on specific subfolders) and build different menus based on profiles pointing to subfolders.  
If this configuration only works with sub-apps then it can’t be used it for my use case.  
By the way, it would probably makes sense to add this info in the documentation.  
Many thanks for your help!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/osc/original/2X/b/bae70bd0ed39a3ae769c2108155f4cb3e9da8385.png) [@system](https://discourse.openondemand.org/u/system)\
**Post date:** [October 8, 2024, 12:04pm UTC](https://discourse.openondemand.org/t/navbar-apps-customization-not-working/3414/6 "2024-10-08T12:04:25Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
