Hi Roger, I would asume that if your using staroffice you probably on a Linux/Sun/Unix system.
Try using emacs as your editor. You can configure alot of things with emacs. It is worth the time to get to learn. Rick Roger Burton West wrote: > On Wed, Oct 17, 2001 at 02:59:43PM -0500, Boex,Matthew W. wrote: > > >i still have a couple questions. first, i have only used staroffice to put > >together web pages. when i load a template with template tags, star office > >changes the template tags. is there an editor out there for linux that > >won't do this. > > I think that most of us use plain-text editors for HTML template > editing. (Personally, I like vi...) You might try nedit, which has > syntax highlighting for HTML but won't mess about with the content. > > >second, i am still a little fuzzy on the associate option. > > I think I mostly answered this in my message > <[EMAIL PROTECTED]> (Re: [htmltmpl] question of 5 > October, 21:49:04 +0100). > > >i have a bunch > >of hidden tags i want to print out. here is how i do it with cgi - > > > >foreach my $param ($q->param()) { > > print $q->hidden(-name=>"$param") if ($q->param ne 'page'); > >} > > > >what would be the syntax, using the associate option, to send a hidden param > >to my HTML::Template? is this correct ??? is there a better way?? > > Yes, use associate: > > my $query = new CGI; > my $template = HTML::Template->new(filename => 'template.tmpl', > associate => $query); > > realising that you will need, in the template and within the form, a > > <input type=hidden name=FOO value="<TMPL_VAR NAME=FOO>"> > > where FOO is each variable you want to push into the template. > > HTML::Template is _not_ used to generate HTML in the way that CGI.pm can > be. (My own opinion is that CGI.pm _shouldn't_ have this functionality, > but that's another story.) > > Roger > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Rick Lindsay Development Services - Inventory Imports/Exports The Cobalt Group, Inc. 2200 First Avenue South Seattle, WA 98134 [EMAIL PROTECTED] p. 206.219-8304 p. 800.909-8244 ext. 8304 f. 206.256.0432 If it's automotive and it's Internet, it's Cobalt. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
