Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to make "Browse" mode be the default view #30

Open
zhangz555 opened this issue Mar 31, 2022 · 1 comment
Open

how to make "Browse" mode be the default view #30

zhangz555 opened this issue Mar 31, 2022 · 1 comment

Comments

@zhangz555
Copy link

Hi, we are a group at mdl/nws/noaa is USA. The users of our registry app prefer the "Browse" mode of the registry to be a default view. That is, each time a user visits the registry homepage, he wants to see the "Browse" view instead of clicking the "Browse" menu at the top of the app's gui. Can someone tell us how to set this up? Thanks!

@der
Copy link
Contributor

der commented Mar 31, 2022

Hi. Probably the easiest way would be to modify the main.vm template, replacing line 8 with something like (untested):

#set( $isLandingPage = false )

It's also possible to replace the main/_page_category.vm template with a custom landing page of your own design or to set up a redirect in the nginx proxy configuration to bounce requests to route URL to any page you prefer (e.g. if you want to browse starting from _def)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants