Simple addition to make SEARCH MODULE a TAG Module
Posted: Thu Mar 04, 2010 8:27 pm
CMSMS has needed a TAG module for some time.
However, the Search module could easily be used as a tagging module if it has one minor change:
The ability to register a pretty URL path for the root results page and convert parameters into search terms.
Search could very easily double as a TAGS module with one or two simple additions:
1. Allow registration of a result page alias, such as:
http://yoursite.com/tags
or
http://yoursite.com/search
2. Have search generate a search results page based on the parameter.
Examples:
Any url like this:
http://yoursite.com/tag/searchterm/
Will simple show a search results page for "searchterm"
and
http://yoursite.com/tag/a-search-phrase/
will show a search results page for "a search phrase"
I posted a feature request here:
http://dev.cmsmadesimple.org/feature_request/view/4647
However, the Search module could easily be used as a tagging module if it has one minor change:
The ability to register a pretty URL path for the root results page and convert parameters into search terms.
Search could very easily double as a TAGS module with one or two simple additions:
1. Allow registration of a result page alias, such as:
http://yoursite.com/tags
or
http://yoursite.com/search
2. Have search generate a search results page based on the parameter.
Examples:
Any url like this:
http://yoursite.com/tag/searchterm/
Will simple show a search results page for "searchterm"
and
http://yoursite.com/tag/a-search-phrase/
will show a search results page for "a search phrase"
I posted a feature request here:
http://dev.cmsmadesimple.org/feature_request/view/4647