Nav. Bar actions?

I thought we had nav bar actions. In my old App, I was able to know what screen they were on, but I had a landing page which looked real nice.

It would be helpful to know that now, without having to make my own Nav bar (which, aside from looking goofy, is not “sticky” at the top of the screen…

I don’t think we ever had nav bar actions.

If you want to know the tab the user is on, you can add a name to the tab and check the “current URL” of the user, then use regex to get the tab name.

1 Like

I do not see URL in the device information. When I type “URL”, I get the “Basic>URL” column type.
image

Here you go.

Are you working on creating a custom navigation menu?

I hope to avoid doing so by implementing what @ThinhDinh is suggesting!

1 Like

Thank you! Will give it a look after lunch.

1 Like

Here’s an example. I set this here (make sure you set the slug), then you have a URL with that slug.

Then use regex to get the slug.

image

/dl/([^/]+)(?=/s/|$)
2 Likes

Thank you very much It worked exactly like you described. Too bad we can’t use the slug for the navigation menu. That would enable me to use an if then else to make it Spanish

1 Like

I wonder if you need something like this.

Actually a bit overkill for this one. This App is pretty limited in scope and will only serve English and Spanish readers.

I don’t quite understand the issue you’re facing.

  1. Doesn’t the text in the menu automatically adjust to the language on the user’s device?
  2. If what you want is to create a custom menu, can’t you use the “Go to Tab” action?

Yes that’s the first thing I tried but I run into the fact that the menu I create does not stick at the top. And I don’t know if the menu adjusts to the language on the device.

And I don’t really want to custom menu per se I just wanted to know what tab they are on

As far as I know, the text/label of the buttons will adjust to the language of the user’s device, especially when the language setting is configured in the browser where the app is installed.
However, if you’d like to create a button that sticks to the top, this is possible but will require using CSS.

Screen-Recording-2024-09-11-at-1

Thanks, but I’m on the old non-profit plan. While I think it supports CSS, I want to be able to move this app to a free plan at some point. I have moved all other apps to free teams. The last one I moved is a classic app and I don’t think I’ll ever update it.

2 Likes

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