From: Mitra <mi...@ea...> - 2003-05-21 00:42:00
|
At 11:54 AM +0200 20/5/03, Norbert Brazda wrote: >Hi Mitra, > >From: "Mitra" <mi...@ea...> >> There are bad bugs with using Discussion Views inside anything other >> than slice.php3, specifically it generates the wrong URLs for things >> like "Add Comment". > >I think that the best way would be to move disucssions to a separate >slice/module, but it might be a lot of work. I'm not sure about this .... the only weird stuff with Discussions was how it *was* integrated into slice.php3, so that instead of beign explicitly coded as a view, it was just a flag. Now - as a view - it makes more sense, but the code still makes some assumptions that only work when its incorporated into slice.php3. The best solution - in my opinion - would be to drip slice.php3 entirely, (except for some backward compatability stuff) and make view.php3 do everything we want.! > >> I'd like to add the ability to do a Category list in Views, but I'm >> unlikely to get to that. > >what do you mean by "Category list"? I want to be able to put a short menu at the top of a List View, that allows selecting a subset of the view based on the category. The key is that the list must ONLY show categories that actually have items in them. Not all the categories that can be entered in the add-item screen. At 5:41 PM +0200 20/5/03, Honza Malik wrote: > > >> I'd like to add the ability to do a Category list in Views, but I'm > > unlikely to get to that. > >I'm also not sure, if I understand what you exactly mean. On the other >side I'm just rewriting code for constant view and I have a plan to do >the same with discussions. I removed constantview class so constant view >is handled by standard itemview. The advantage is, that you can use >conds[] and sort[] on constant view as well. > Honza .... what is a "constant view" - maybe I'm missing something that I should know about before I write any code! - Mitra -- Mitra Technology Consulting - www.mitra.biz - mi...@mi... 02-6684-8096 or 0414-648-722 Life is a Mystery to be Lived, not a Problem to be Solved |