[OOD-users] Adding menu's & submenus to Open OnDemand

Franz, Eric efranz at osc.edu
Tue Nov 13 11:43:52 EST 2018


Sorry we don’t have this documented yet.

To add an item to an existing top level app menu (Files, Jobs, Clusters, Interactive Apps), if it is a static URL, you can add an app directory to /var/www/ood/apps/sys/ whose manifest.yml has a “url: http://url.to.redirect.to”. Here is an example:


The subcategory is optional and places it in a separate section in the dropdown menu.

To add a new top level dropdown menu you have to currently modify a global variable in the dashboard app initializer. Modify or create /etc/ood/config/apps/dashboard/initializers/ood.rb and add this line:

NavConfig.categories += ["Your Category"]

Then that dropdown will appear if any apps specify that category string. You may need to select Help -> Restart Web Server for the change to take effect.

In OnDemand 1.4 this requirement to modify the Rails initializer will be removed so that by default it will be easier to just drop new “apps” in place and have the menu organized how you prefer.


Eric Franz, Senior Web & Interface App Engineer
Ohio Supercomputer Center
An Ohio Technology Consortium (OH-TECH) Member
1224 Kinnear Road
Columbus, OH 43212
email: efranz at osc.edu

From: OOD-users <ood-users-bounces at lists.osc.edu> on behalf of "Sivy, Shawn via OOD-users" <ood-users at lists.osc.edu>
Reply-To: "Sivy, Shawn" <ssivy at tcnj.edu>, User support mailing list for Open OnDemand <ood-users at lists.osc.edu>
Date: Monday, November 12, 2018 at 3:49 PM
To: "ood-users at lists.osc.edu" <ood-users at lists.osc.edu>
Subject: [OOD-users] Adding menu's & submenus to Open OnDemand

Are there any instructions available for adding an another menu option to OnDemand with the menu items being links to external websites or other web apps like WebMO (I know the signon won't be passed through).  I'd like to include links to common sites used by our faculty and students.

[Image removed by sender. The College of New Jersey]<http://tcnj.pages.tcnj.edu/>

Shawn Sivy
HPC System Administrator
School of Science
PO Box 7718 Ewing, NJ 08628-0718
ssivy at tcnj.edu<mailto:email at tcnj.edu>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osu.edu/pipermail/ood-users/attachments/20181113/5f0bad83/attachment-0001.html>

More information about the OOD-users mailing list