The pages created will not be link to, just have links from, so therefore
I do not need to create links to them. The entry page is just that, it
serves as a doorway to the site (some people here may be familiar with
this architecture) and the script page is linked to from the entry page.
The script page does not link to anything within the site, but another
site that then in turn redirects page to another section within the site.
Does anyone has any insight?
> "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.
what do you mean by this?
>
>> [% 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.
>
>
> _______________________________________________
> templates mailing list
> [EMAIL PROTECTED]
> http://www.template-toolkit.org/mailman/listinfo/templates
--
David B. Bitton
[EMAIL PROTECTED]
Diversa ab illis virtute valemus.