[Templates] ttree linking files
Johan Vromans
jvromans at squirrel.nl
Sat Apr 19 15:26:01 BST 2008
On Jul 27, 2007, at 6:30 AM, Johan Vromans wrote:
> tttee has the capability of copying files. That's nice, but with large
> files (think MP3, AVI, FLV, ...) it's rather disk consuming to
> maintain multiple, identical copies of the big files.
>
> So I've added a 'link' capability. It is similar to 'copy', but links
> instead. Should the link fail, copy is used as fallback.
Dustin Frazier <dustin.frazier at gmail.com> writes:
> Another solution to this problem I've used is to patch ttree to allow
> the source and destination directory to be the same. It's actually
> the first thing I did when I started using TT2 because it just seemed
> like the most natural way to work, templates in the same directory as
> the HTML/PHP files that they were generating. I have 'accept'
> directives only for my template extensions (tt2/ttp) and don't have
> any 'copy' directives. I have to filter out template extensions and
> a few template-only directories when I upload the content to our
> website, but it's pretty easy to do...
Did any of these changes actually made it in the code base?
If not, why not?
-- Johan
More information about the templates
mailing list