Have you subscribed to TheFrogBlog? Find out more
Use some HTML!
By Simon Clough VTLE Developer, The Radclyffe School
Our science forum is used quite frequently, with a lot of new threads being created. This meant the page was getting longer and becoming harder to find out if a question had already been asked or answered. So we approached it by adding a live search box that shows and hides rows in the table based on whether or not the search term is contained within with thread title. This was added so both students and staff could find the answers to questions and find relevant threads more quickly, and without the need to look through the full list.
The way it’s done is by adding a HTML widget just above the forum, and adding the following HTML tag:
Then at the bottom of the page another HTML widget is added containing the jQuery needed for the functionality:
We’re happy for this code to be shared with other schools and all you have to do to get this working with your own platform, you only need to change the forumUUID variable to match the forum they’re using it with.
We love schools using our platform in different and interesting ways. If you have your own code you'd like to share, drop a line to Graham Quince or visit the Code Snippets area on our forums.
Tutorials in this series...