|
Revision 5, 1.0 kB
(checked in by DanWilson, 17 years ago)
|
|
Initial Commit Of ModelGlue? Website (upgrade to blogcfc 511)
|
| Line | |
|---|
| 1 | <cfsetting enablecfoutputonly=true> |
|---|
| 2 | <cfprocessingdirective pageencoding="utf-8"> |
|---|
| 3 | <!--- |
|---|
| 4 | Name : archives.cfm |
|---|
| 5 | Author : Raymond Camden |
|---|
| 6 | Created : October 29, 2003 |
|---|
| 7 | Last Updated : February 28, 2007 |
|---|
| 8 | History : Use SES urls (rkc 4/18/06) |
|---|
| 9 | : Don't hide empty cats (rkc 5/10/06) |
|---|
| 10 | : add norel/nofollow, thanks Rob (rkc 2/28/07) |
|---|
| 11 | Purpose : Display archives |
|---|
| 12 | ---> |
|---|
| 13 | |
|---|
| 14 | <cfmodule template="../../tags/scopecache.cfm" cachename="pod_archives" scope="application" timeout="#application.timeout#"> |
|---|
| 15 | |
|---|
| 16 | <cfmodule template="../../tags/podlayout.cfm" title="#application.resourceBundle.getResource("archivesbysubject")#"> |
|---|
| 17 | |
|---|
| 18 | <cfset cats = application.blog.getCategories()> |
|---|
| 19 | <cfloop query="cats"> |
|---|
| 20 | <cfoutput><a href="#application.blog.makeCategoryLink(categoryid)#">#categoryName# (#entryCount#)</a> [<a href="#application.rootURL#/rss.cfm?mode=full&mode2=cat&catid=#categoryid#" rel="noindex,nofollow">RSS</a>]<br></cfoutput> |
|---|
| 21 | </cfloop> |
|---|
| 22 | |
|---|
| 23 | </cfmodule> |
|---|
| 24 | |
|---|
| 25 | </cfmodule> |
|---|
| 26 | |
|---|
| 27 | <cfsetting enablecfoutputonly=false> |
|---|