SilvaNews service_news categories
Andy <[email protected]>
| Newsgroups | gmane.comp.web.zope.silva.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Guido, I've talked about adding titles to the service_news categories before. I have some other ideas for service_news. I like that you have hierarchical categories. I've written a hierarchical menu system which I'm using for our left navigation menus in zope (yes, and silva) (as well as quicklinks and other menu-like things). Basically each menu item is a folderish object containing menu items. This makes it really flexible, and easy to generate lists. Each menu item has a set of properties, so if you wanted to have more than just an id and a title (e.g. one could specify what publications can use what categories). I have TALES support to determine whether to not display the menu item (and children) or not, and it can return the menu list in a [(depth, item),..] format or a more recursive format. It wouldn't be difficult for me to modify this code for use in service_news. Actually, in silva I've added a tab to folders and publications which allows configuration of menus from within silva... Just a thought; I suppose I'm overloading you with ideas :-) Andy