Thread: Multiple Categories with Archive.cfm
|New topic Reply||Page: 1|
06/02/11 9:40 AM
I am trying to show multiple categories on the on the archive page. An example URL would be:
http://mangoblog/archives.cfm/category/apples,peaches. When I do this, I receive the error,
Element CURRENTARCHIVE.CATEGORY is undefined in DATA. If I use the URL to return a single category, it works fine (e.g.
This previous post http://www.mangoblog.org/forums/messages.cfm?threadid=DA0EF7A7-3048-2A53-706A7D539AD39952 is what I am attempting to accomplish, and it looks as though most of the code suggested here was integrated into version 1.6.
I have traced the error back to /posts.cfm, and spefically this statement:
<!--- ISSUES WITH THIS!!--->
<cfset attributes.categoryName = data.currentArchive.category />
<cfset attributes.categoryMatch = data.currentArchive.match />
06/08/11 10:20 AM
That's interesting, I'll have to check it and get back to you.