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

Sivy, Shawn ssivy at tcnj.edu
Wed Nov 14 15:22:01 EST 2018


Thanks Eric.  That worked perfectly.  Our users get so excited when I add
new functionality to Open OnDemand for them.

------------------------------
[image: 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
609-771-3475
ssivy at tcnj.edu <email at tcnj.edu>


On Tue, Nov 13, 2018 at 11:43 AM Franz, Eric <efranz at osc.edu> wrote:

> Shawn,
>
>
>
> 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:
>
>
>
> https://github.com/OSC/osc-xdmod
>
>
>
> 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.
>
>
>
> Thanks,
>
> Eric
>
>
>
> ---
>
> 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: 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
> 609-771-3475
> ssivy at tcnj.edu <email at tcnj.edu>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osu.edu/pipermail/ood-users/attachments/20181114/b4c093f3/attachment.html>


More information about the OOD-users mailing list