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)
Mon Jun 08 05:47:32 -0700 2009
commit  cfbd42394614716f99f2025533f5af1c512368d6
tree    4ecf3fd7d846205a28d3ae6e10fadb315f4a5558
parent  c37e241455400160173b455b62ca70e7e3a3a112
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 Loading commit data...
file Rakefile Tue Mar 25 18:48:56 -0700 2008 woops git-svn-id: svn://zuurstof.openminds.be... [jomz]
directory app/
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/ Thu Jul 03 07:59:12 -0700 2008 added with_any option to search pages with any ... [saturnflyer]
directory vendor/
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>