Bookmarklet for sorting the events list (Shaw Trust portal website).

Release history

Overview

Normally on the Shaw Trust Portal website, searching for upcoming events does not give the results in chronological order. This little tool fixes that. As a bonus it also resizes the events list to fill the height of the page.

It works using a special bookmark. Whenever you search the Events page just remember to click the bookmark to sort the events list in chronological order. You can click the bookmark either before or after doing the search.

Screenshot of events page.

Getting Started

  1. Ensure your bookmarks bar is visible at the top of your web browser.
    • In Safari (Mac): Select menu option View > Show Favourites Bar.
    • In Mobile Safari (iPad): Go to the Settings app. Select Safari > Show Favourites Bar.
    • In Brave: Select menu option View > Always Show Bookmarks Bar.
    • In Firefox: Select menu option View > Toolbars > Bookmarks Toolbar > Always Show.
    • In Chrome: Select menu option View > Always Show Bookmarks Bar.
    • In Microsoft Edge: Select menu option View > Always Show Favourites Bar.
  2. Drag Sort events (Shaw Trust Portal) to your bookmarks bar.
  3. Visit the Shaw Trust website. Sign in and then select the "Events" page.
  4. Type something into the "Search Events by Keyword" box. For example, type "Welcome".
  5. Observe that the results are currently not in chronological order!
  6. Click the bookmark you added earlier.
  7. Observe that the results are in order. All done!
  8. If you do another search, the results should automatically be put in order. No need to click the bookmark again.

Privacy

Notes

Manual setup (optional)

If you can't drag the bookmarklet to your bookmarks (as mentioned in step 2 above) then you can instead set it up manually.

  1. Add a bookmark the usual way for this webpage (i.e. bookmark the webpage you're looking at right now!) Make sure you save it to your favourites.
    • In Safari (Mac): Select Bookmarks > Add Bookmark
    • In Mobile Safari (iPad): Press the share button (the square with upwards arrow) > Add to Favourites.
    • In Brave: Select menu option Bookmarks > Bookmark This Tab.
    • In Firefox: Select menu option Bookmarks > Bookmark Current Tab.
    • In Chrome: Select menu option Bookmarks > Bookmark This Tab.
    • In Microsoft Edge: select menu option Favourites > Add This Page To Favourites.
  2. Edit the bookmark you just added. The bookmark will be named "Sort events (Shaw Trust Portal)" by default. Feel free to rename this.
    • In Safari (Mac): Right-click on the bookmark and select Edit Address.
    • In Mobile Safari (iPad): Press the top-left button to show the sidebar. Select Bookmarks > Favourites > Edit button. Select the Sort Events...bookmark.
    • In Brave: Right-click on the bookmark and select Edit.
    • In Firefox: Right-click on the bookmark and select Edit Bookmark.
    • In Chrome: Right-click on the bookmark and select Edit Bookmark.
    • In Microsoft Edge: Right-click on the bookmark and select Edit.
  3. Replace the bookmark's address (or 'URL') with the following text:
    Please enable Javascript to see the code here.
    Copied
  4. All done. To try it out, return to the Getting Started section at the top of this page - This manual setup replaces step 2, so skip that step.

Behind the scenes

If you want to know exactly what this bookmarklet is doing, here's the code in full. It's identical to the code shown above but with comments (shown highlighted) and formatting.

Enable Javascript to see this.