public
Description: Extends Radiant CMS with tagging capabilities. Tagging as in "2.0" and tagclouds.
Homepage: http://gorilla-webdesign.be
Clone URL: git://github.com/jomz/radiant-tags-extension.git
jomz (author)
Fri Jul 17 06:24:12 -0700 2009
commit  3ef69dbd90d05b20397088822ed6a90436d2eac3
tree    823ace87e5b6ecb3eb062ba34129c8b005235f96
parent  6531af595f069328a8b9ec9f1ccce9c269d53f3a
name age message
file HELP.md Sun Oct 26 08:00:29 -0700 2008 documentation updates [jomz]
file HELP_admin.md Sun Oct 26 08:00:29 -0700 2008 documentation updates [jomz]
file README Tue May 05 16:35:55 -0700 2009 make tag result pages cacheable [jomz]
file Rakefile Tue Mar 25 18:48:56 -0700 2008 woops git-svn-id: svn://zuurstof.openminds.be... [jomz]
directory app/ Loading commit data...
directory db/ Tue Mar 25 18:48:56 -0700 2008 woops git-svn-id: svn://zuurstof.openminds.be... [jomz]
directory lib/
directory public/ Sun Oct 26 08:35:39 -0700 2008 Use better hiding CSS for unstyled tag cloud [Jay Levitt]
file tags_extension.rb
directory test/ Wed Jun 10 08:33:59 -0700 2009 Add attributes to sort the pages [DefV]
directory vendor/ Fri May 15 15:56:54 -0700 2009 Updated has_many_polymorphs [Michael Kessler]
README
= Tags extension

Created by: Keith Bingman - keithbingman.com
Revived by: Benny Degezelle - gorilla-webdesign.be
New features by: Jim Gay - saturnflyer.com
Version: 1.4

This extension enhances the page model with tagging capabilities, tagging as in "2.0" and tagclouds.

== Requirements

This extension depends on the has_many_polymorphs plugin (included in vendor/plugins)
If you're still on Radiant pre-0.6.7, then the shards_extension should be installed and loaded first.
You can change the load order of extensions in config/environment.rb (see 
http://wiki.radiantcms.org/Using_the_Shards_Extension).

== Installation

1. Copy the extension to your vendor/extensions directory as you would any other extension.
2. Run 'rake radiant:extensions:tags:install'
3. Make a page to sit in /search/by-tag, and give it the "Tag Search" pagetype.
  If you want to change this location, it's in Radiant::Config['tags.results_page_url'].

Done!
Here's a sample results page to get you started;
  
  <r:search:empty>
    <h2>I couldn't find anything tagged with "<r:search:query/>".</h2>
  </r:search:empty>

  <r:search:results>
    <h2>Found the following pages that are tagged with "<em><r:search:query/></em>".</h2>

    <ul>
    <r:search:results:each>
      <li><r:link/> - <r:author/> - <r:date/></li>
    </r:search:results:each>
    </ul>
  </r:search:results>