Hi, Dave Howorth wrote: > Moritz Lenz wrote: >> Dave Howorth wrote: >>> Moritz Lenz wrote: >>>> I'd like to list all persons of a group in [%base%]/group/view. >>>> >>>> How do could I do that? >>> IIRC there is a template macro called view_related that is used in the >>> view template. Does it not automatically list the people in a group when >>> you view the group? >> No, it does not. Which leads me to the question if my model is set up >> correctly - is there an easy way to test that? > > Not that I can think of. I tend to use the debugger and diagnostic > statements in the templates to isolate faults.
I think I have to learn more about this whole Class:DBI thingy in order to really understand what I'm doing... >>> Have you installed the example beer database and checked what the view >>> pages show? >> Unfortunately in the Debian package the templates are not included (but >> BeerDB.pm is). > > That surprises me. If true, it means the Debian package is broken IMHO. It is. I wrote a bug report (with severity "wishlist" though, which might have been a mistake) > So what have you used for your templates? I recommend you get hold of > the example templates. I fetched the Maypole-Sources from CPAN and took the factory templates, but I didn't realize that the beerdb-Templates where included as well. I'll take a good look and see how far I can get. Thanks for your help, Moritz -- Moritz Lenz http://moritz.faui2k3.org/ http://sudokugarden.de/
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Maypole-users mailing list Maypole-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/maypole-users