Subject: Making the memorial more interactive
Author:
Posted on: 2020-04-11 19:51:31 UTC

  1. f you change the action on the "Post message" button to https://www.plotprotectors.org/posts/new, it'll go right to the new post page
  2. For the search bar

    • Change the method on the form element to "get"
    • Remove the enctype="application/x-www-form-urlencoded"
    • Add `accept-charset="UTF-8"
    • Set the action to https://www.plotprotectors.org/posts/search
    • Add <input name="utf8" type="hidden" value="✓"> inside the form
    • Where the input has name="search_term', change that to name='query"

    These steps will make the search box submit the same network requests to T-Board as T-Board does. If you want a better reference, right click the search bar on T-Board, hit inspect element, and migrate over the relevant bits of that form (excluding stuff like style, id, or class)

  3. Next page should probably be made to link to the relevant page in the archives ... which may not exist yet, because I've had a bunch going on and/or been bad at getting around to Board stuff, since, just like on the old Board, there's no way to link to "25 posts starting from last Tuesday". If we really wanted to we could add one though...

Reply Return to messages