[Templates] wrapper directive in Badger book example

[prev] [thread] [next] [Date index for 2004/11/12]

From: Robert Egert
Subject: [Templates] wrapper directive in Badger book example
Date: 14:16 on 12 Nov 2004
Hello,
For the life of me, I cannot figure out why the simple cfg file copied
directly from the book give me an error. I guess it doesn't like 'wrapper'.

From the command prompt:
ttree  -f /var/www/html/base/etc/ttree.cfg
returns the error
wrapper: no such variable at /var/www/html/base/etc/ttree.cfg line 17
try `ttree --help'

ttree.cfg
=========================
#  directories
src  = /var/www/html/base/templates/src
lib  = /var/www/html/base/templates/lib
dest = /var/www/html/robertegertmd/html
# copy images and other binary files
copy = \.(png|gif|jpg|pdf)$
# ignore CVS, RCS, and Emacs temporary files
ignore = \b(CVS|RCS|~)\b
ignore = ^#
# misc options
verbose
recurse
recursion
# TT options
pre_process = site/header
pre_process = config/main
wrapper            = config/wrapper
post_process        = site/footer
# define some location variables
define rootdir = /var/www/html/base
define rooturl = /base
=========

If I comment out ' wrapper = config/wrapper', it runs OK.

I downloaded and installed the latest version of the TT2.14 on a
our Red Hat 8.x machine.

Thanks for any help
Bob


_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

[Templates] wrapper directive in Badger book example
Robert Egert 14:16 on 12 Nov 2004

Re: [Templates] wrapper directive in Badger book example
Darren Chamberlain 19:19 on 12 Nov 2004

Generated at 08:55 on 15 Mar 2005 by mariachi v0.52