Thread: Multiple Categories with Archive.cfm
Created on: 06/02/11 09:40 AM
| New topic Reply | Page: 1 |
| Replies: 1 | |
| JeemStot
|
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. http://mangoblog/archives.cfm/category/apples 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: <cfcase value="multicategory"> <!--- ISSUES WITH THIS!!---> <cfset attributes.categoryName = data.currentArchive.category /> <cfset attributes.categoryMatch = data.currentArchive.match /> </cfcase> Any ideas? |
| Link | Top | Bottom | |
| Laura
Wizard |
06/08/11 10:20 AM That's interesting, I'll have to check it and get back to you. |
| Link | Top | Bottom | |
New Post