[Typo3-dev] TYPO3 "extendability" - BE - templates

Zorik Pavlenko zorik at zorik.net
Sat Jun 12 20:20:37 CEST 2004


Well, I looked at the pdf a bit.
It is used to create custom datatypes (like IMAGE, TEXT, etc.) ? Did I get
it right?

I have a question.

Is there an existing way to do the following:

  BackUp.1 {
    command = tar ###options### ###destfile### ###sourcefiles###;
    options = -zxvf
    destfile = /home/www/bla/backup/bak.tar.gz
    sourcefiles.1 = /home/www/bla/filemounts
    sourcefiles.2 = /home/www/bla/typo3conf
  }

where "options", "destfile", "sourcefiles.1" and "sourcefiles.2" are markers
in "command" that will be replaced with the values.

The point is to create them "on the fly" - the markers does not exist (are
not hardcoded) in processing script. So that they may be anything and in any
quantity.

The same processing script should be able to process the following too:

  BackUp.1 {
    command = mv ###file1### ###file2###;
    file1 = /home/www/bla/backup/bak.tar.gz
    file2 = /home/www/bla/otherbackup/bak.tar.gz
  }







More information about the TYPO3-dev mailing list