Jesse Guardiani wrote: > Jesse Guardiani wrote: > >> Jesse Guardiani wrote: >> >>> Hello, >>> >>> I'm trying to customize my www templates for >>> tmda-cgi-0.13. Unfortunately, after recompiling the >>> existing TMDA-X template my menu options are gone. >>> >>> Has this happened to anyone before? How do I fix it? >> >> BTW, this is my Python version: >> >> * dev-lang/python >> Latest version available: 2.3.3-r1 >> Latest version installed: 2.3.3-r1 >> Size of downloaded files: 7,026 kB >> Homepage: http://www.python.org >> Description: A really great language >> License: PSF-2.2 >> >> I think this may be related: I had originally modified >> Generator.py because I get this error when I try to compile >> the template: >> >> self.copyright = sidebar[-1] >> IndexError: list index out of range >> make: *** [editlist.html] Error 1 >> >> What value should sidebar[-1] return? I tried modifying >> all lines like this to [:-1] (because I saw that sort of >> thing in other places in the code) but then my sidebar >> doesn't show up. > > Alright, I get the -1 (tail). So why does it throw an error when I > try to compile TMDA-X but it doesn't throw an error when I > try to compile Blue? I guess the sidebar list is empty, right? > > Does anyone have any ideas? When was the last time someone tried > to re-ht2html the TMDA-X theme?
I finally figured this out! The problem seemed to be that themes/TMDA-X/template/links.h didn't exist. Copying themes/Blue/template/links.h to themes/TMDA-X/template/links.h fixed the problem. I see that the file exists in CVS, but it doesn't look like it shipped with the tmda-cgi-0.13.tar.gz release! So... where is everyone? This list was hoppin' a year ago. It seems kinda dead these days. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net _____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users