pyrocms/pyrocms — pull request #990 by obrignoni (2011-12-11 19:09:11+00:00)
Title: 2.0/develop

A friend asked me if PyroCMS had a way to mark articles as Featured or Sticky. I said, not exactly but it could be solved with a plugin. That's where the idea came from.

With this plugin we can display a filtered list of content that have certain keywords. Defaults to filter blog posts but a module can be specified if it supports keywords.

Also I added a get_hashes_applied() function in the model so that if other devs want to make their a specific query on their plugins that filter by keywords, at least they have an easy way of getting the applied hashes by name.

I wrote some docs on the following gist https://raw.github.com/gist/1462103/73a9e999db72046577f9489f17dc2d1caf306baa/keywords-plugin.md