allow your visitors to create their own hotlist
The hotlist script from Scriptygoddess allows visitors to create a list of favorite entries that they want to bookmark for future reference. You can show the hotlist on a sidebar but I've chosen to make a separate My Hotlist page that people can reference from anywhere.
Any page that you provide a "add to hotlist" link or display the hotlist will need to be PHP. This script is pretty straightforward to implement. The only problems I had were when I made stupid mistakes not following the instructions carefully enough.
One important thing to keep in mind. The "add to hotlist" link is actually part of a hidden form on your blog page. The way that the <form> elements are rendered, at least in some browsers, they are block elements which means that you get a blank line before and after them. In order to put the "add to hotlist" link on the same line as some of my other footer information, I moved those links inside the form. I couldn't figure out how Scriptygoddess got it all on one line until I did a View Source and saw their clever trick.
Because this way of doing it is complicated and long (you have to create the footer line twice, once for "add to hotlist" and once for "remove from hotlist") I put the whole thing in a template module. This is also convenient because I can include the same module on all of my blog pages. Saves a lot of work updating! I also put the header code in a template module.
Subscribe to this blog's feed