I did, but not being a programmer, I really have no idea what I am looking for.
My test pod to display the years / months looks like this, but is blank when I view it. It just has the header of test.
Name : test.cfm
Author : PodGenerator (based on archives.cfm by Raymond Camden)
<cfmodule template='../../tags/podlayout.cfm' title='test'>
Your Pod text goes here -
Remember it has to be in cfoutput
tags or it will not be displayed
<cffunction name="getEntryMonths" access="remote" returnType="query" output="false"> <cfset var getA = ""> <cfquery name="getA" datasource="#instance.dsn#"> select year(posted) as year, month(posted) as month, count(*) as entryCount from tblBlogEntries where blog = <cfqueryparam value="#instance.name#" cfsqltype="CF_SQL_VARCHAR" maxlength="50"> group by year(posted), month(posted) order by year(posted) DESC, month(posted) DESC </cfquery> <cfreturn getA> </cffunction>
* Last updated by: Cliff on 9/10/2009 @ 1:58 PM *