We’re building an informational web site that has no e-commerce components. The basic requirements are to have web site tabs, and for each tab to have multiple categories, where a given category may have one or more information items AND file cabinet media items.
We’re using v11, and are using layouts with the new capabilities for custom templates for categories and items. The item cell templates are coded to use “infoitems” in the getCurrentAttribute() function.
Everything works great when a category has only information items under it; however, when a category has only file cabinet items, or both information items and file cabinet items, the template cannot handle the data (specifically the file cabinet items) and displays an error along the lines of “System Maintenance Period. Our Web site is temporarily unavailable while we perform routine system maintenance...”. If the file cabinet items were removed, then the page displays correctly. I guess this kind of makes sense, since it’s trying to display a file cabinet item through a template designed for info items.
Questions:
[LIST=1]
[*]Can item list templates be used if there are file cabinet items?
[*]If no to above, is there a workaround? Just completely giving up and not showing anything on the page seems like a bug to me. At a minimum, I would think that the system should use the template for the info items, and then display the file cabinet items using the default attributes specified in the underlying layout.
[*]Are there any plans to expose the file cabinet item through tag scripting?
[/LIST]
I’m keeping my fingers crossed that we have overlooked something obvious, and there is a solution to this problem ...
Thanks
Jan