On Wed, 2 Jul 2003 18:28:46 -0500 (CDT), Karen J. Cravens wrote: Hi Folks
>On Wed, 2 Jul 2003, Kapoor, Nishikant X wrote: > >KNX>I am developing a web-based discussion forum using Perl, H::T and >KNX>mySQL and would appreciate your suggestions and/or pointers as >to: >KNX> >KNX>- How I can use H::T to implement tree structures. For ex. > >I've fiddled around with the same idea (in archiving mailing-list >messages), but haven't come up with a final solution yet. Some of >the >things I've looked at: > >* Dummy TMPL_LOOPs to determine the indent level >* "Manually" nesting H::T files to force recursion >* Building nested HTML unsorted lists in the code and letting H::T >format it using CSS > >The third method is the easiest (though it's back to hard-coding >HTML), so >that's what I'm doing right now. It could graduate to the second >method >someday, but it seems awkward to use an entire template just to >format >each line. > >The first method seems like it would work, but I haven't thought >about it >hard enough to make it work. > >I'll be interested in hearing what (else) you come up with. Have you considered using CGI::Explorer which gives you an MS Windows Explorer-like tree in a browser? -- Ron Savage, [EMAIL PROTECTED] on 3/07/2003. Room EF 312 Deakin University, 221 Burwood Highway, Burwood, VIC 3125, Australia Phone: +61-3-9251 7067, Fax: +61-3-9251 7604 http://www.deakin.edu.au/~rons ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Html-template-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/html-template-users