Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To add additional help links, in the webclient section of shrine.conf add a helpLinks section with a "site name" : "site url" name value pair to the webclient section of shrine.conf.  In the example below, a link with the title "Site Data Details" will be added as a help link and it will open the google docs link provided when clicked.

...

After restarting tomcat, the new "Site Data Details" link will be displayed in the User Profile menu:


Changing the Network Help link in the Legacy Webclient.

The Legacy Webclient has a Network Help link in the upper right that is customizable.  

Image Added


To customize this link, go to: /opt/shrine/tomcat/webapps/shrine-api/shrine-webclient-legacy

and open the file index.html in a text editor.


To change the title of the link go to line 538 and you will see the current setting "Network Help".

Image Added

To change this link replace "Network Help" with the title of your choosing, in this example we are changing the title to "Site Data Details"

Image Added


Now, to change the url that the link points to, go to around line 323 and you will see a networkHelp.onclick method that will direct the user to a local .pdf file when clicked.


Image Added



Change the url to your desired link.  Note the comma following the end quote...be sure to keep this in place.  In the example below, we are changing the url to a google docs link.


Image Added