[Templates] Re: Accessing files from templates

[prev] [thread] [next] [Date index for 2005/01/30]

From: Johan Vromans
Subject: [Templates] Re: Accessing files from templates
Date: 08:46 on 30 Jan 2005
Perrin Harkins <perrin@xxxx.xxx> writes:

>> Template::Plugin::Directory is a good start, but unfortunately it has
>
> I'd suggest you just hack this plugin to do what you want.

Yes, TIMTOWTDI. Two problems, though: First, it is not just
Template::Plugin::Directory, it applies to all other file-accessing
plugins as well (File, Image, ...). Second, I need it for a software
package and I cannot require the end users to patch their Template
Toolkit. 

So I'm afraid I'll have to provide {fixed,hacked,enhanced} versions of
some standard plugins with the package...

OTOH, what disaster would result from adding a tactical chdir to the
ttree program so that it processes a template in the directory where
the template reside?

-- Johan


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

(message missing)

[Templates] Accessing files from templates
Johan Vromans 21:22 on 29 Jan 2005

Re: [Templates] Accessing files from templates
Perrin Harkins 02:56 on 30 Jan 2005

[Templates] Re: Accessing files from templates
Johan Vromans 08:46 on 30 Jan 2005

Re: [Templates] Re: Accessing files from templates
Perrin Harkins 14:13 on 30 Jan 2005

Re: [Templates] Accessing files from templates
merlyn (Randal L. Schwartz) 12:14 on 30 Jan 2005

Re: [Templates] Accessing files from templates
Vivek Khera 04:10 on 31 Jan 2005

Re: [Templates] Accessing files from templates
merlyn (Randal L. Schwartz) 20:09 on 31 Jan 2005

Re: [Templates] Accessing files from templates
Vivek Khera 20:38 on 31 Jan 2005

Re: [Templates] Accessing files from templates
merlyn (Randal L. Schwartz) 21:04 on 31 Jan 2005

Re: [Templates] Accessing files from templates
Josh Rosenbaum 20:59 on 31 Jan 2005

Re: [Templates] Accessing files from templates
merlyn (Randal L. Schwartz) 21:01 on 31 Jan 2005

Re: [Templates] Accessing files from templates
Mark Mills 23:03 on 31 Jan 2005

Re: [Templates] Accessing files from templates
Josh Rosenbaum 23:40 on 31 Jan 2005

Re: [Templates] Accessing files from templates
Bill Moseley 22:05 on 02 Feb 2005

Re: [Templates] Accessing files from templates
Bill Moseley 16:49 on 30 Jan 2005

RE: [Templates] Accessing files from templates
Jason Gottshall 18:15 on 31 Jan 2005

Re: [Templates] Accessing files from templates
merlyn (Randal L. Schwartz) 19:14 on 01 Feb 2005

Re: [Templates] Accessing files from templates
Josh Rosenbaum 21:40 on 31 Jan 2005

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