Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-21865

Direct URLs (including short URLs) to all tools

    XMLWordPrintable

    Details

    • Type: (Deprecated) Contributed Patch
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.0
    • Component/s: neoPortal, Portal
    • Labels:
      None
    • Property addition/change required:
      Yes

      Description

      The attached work adds a link next to the help icon in the header of every tool in the portal. When clicked it presents a small 'clue tip' window with the direct tool URL to that particular tool. There is also the option to shorten that URL on the fly. A user can then distribute the URL for that tool.

      Two patches attached, one for portal, one for reference.

      To activate set:
      portal.tool.direct.url.enabled=true

      To enabled/disable short URLs:
      shortenedurl.portal.tool.enabled=true

      Of course, if using the short URLs, you'll want to have the shortened url service configured:
      shortenedurl.implementation=org.sakaiproject.shortenedurl.api.RandomisedUrlService

      (or the bit.ly implementation, or any other. See also: https://confluence.sakaiproject.org/display/SHRTURL/Home)

      Then, once enabled, every tool gets the link icon which gives the little window when clicked. If you didn't want to have this on a certain tool, set this property on the tool:
      sakai:tool-directurl-enabled=false

      This may be useful for the gateway tools perhaps.

      Screenshots attached.


      This work was undertaken on behalf of Oxford University.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  steve.swinsburg Steve Swinsburg
                  Reporter:
                  steve.swinsburg Steve Swinsburg
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code