"David B. Bitton" <[EMAIL PROTECTED]> writes:
> List,
> I have the following in a file (along with the data at the top, which
> was omitted for brevity's sake):
>
> [% FOREACH page_type = ["entry" "script"] %]
> [% FOREACH avs = avs_list %]
put your index maker here.
> [% FILTER redirect("${avs.name}_${page_type}.html") %]
> [% WRAPPER page.tt2 %]
> [%
> PROCESS "${page_type}.tt2"
> name = avs.name
> id = avs.id
> pitch = avs.pitch
> %]
> [% END %]
> [% END %]
> [% END %]
> [% END %]
>
>
> and it works well. Now, I want to include this in my src directory for
> ttree to process as it moves through the tree, _but_ I do not want this
> file to be copied into the dest dir. If I set this file as an ignore
> file, then it won't get processed at all, and if I set it as a "process="
> file, then it gets processed for every file in the template. So, how do
> I do this?
hi david-
you could put this file in your lib directory, then process it from a
template that gets called once. it is sort of moot though as this
file will be empty when in the tree, so alternatively, you could use
the file to create an index of the redirected output files:
<a href="${avs.name}_${page_type}.html">${avs.name}</a> <br>
just a suggestion.
hugh.