2 template questions

Bradley Baetz bbaetz at acm.org
Wed Jan 29 07:27:44 UTC 2003


On Tue, Jan 28, 2003 at 01:04:03PM -0800, Jonathan Schatz wrote:
> 1) Does anyone have an xemacs html-mode that knows how to properly
> indent template files? when i hit tab, mine chokes with the message
> "parsing prolog". I also get random segfaults with certain templates.

emacs segfaults? Fun...

You can't use sgml-mode for validation/indenting, because TT files
aren't sgml. Theres an html-helper-mode I use to do .ASP stuff, and ISTR
that the tag format is configurable. You may want ot look into thtat.

> 
> 2) Where do I get the user hash to pass to global/footer.html.tmpl? I
> can't seem to make it show anything other than the default non-logged-in
> footer.
> 

As you notd, you need to keep the lboal vars hash arround for the
moment. Thats (slowly) going away, and it will be Bugzilla.user instead,
at some point in the future.

> -jon

Bradley



More information about the developers mailing list