DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
EXT: My Extension¶
Author: | Kasper Skårhøj |
---|---|
Created: | 2002-11-01T00:32:00 |
Changed: | 2006-07-14T20:43:53 |
Author: | Author Name |
Email: | your@email.com |
Info 3: | |
Info 4: |
Sitecopy¶
Extension Key: danp_sitecopy
Copyright 2000-2002, Daniel Pötzinger <info(at)xaba.de>
This document is published under the Open Content License
available from http://www.opencontent.org/opl.shtml
The content of this document is related to TYPO3
- a GNU/GPL CMS/Framework available from www.typo3.com
Table of Contents¶
Sitecopy 1
Introduction 1
What does it do? 1
Screenshots 1
Users manual 1
FAQ 1
Adminstration 1
FAQ 2
Configuration 2
Known problems 3
To-Do list 3
Changelog 3
Introduction¶
What does it do?¶
- This extension automatically copies pages and its content from one TYPO3-installation to another. Therefor diffrent “copyjobs” can be configured each with diffrent timeintervalls.
Screenshots¶
Users manual¶
The Copyjobs where done during a call of the specific Frontend Site. (See Configuration)
For Debugging you can use the functions in BE-Modul.
Currently only pages and tt_content records where copied, means news records for example are not copied.
Because the copyjob runs more than one time (you can configure the timespan) all changes in the Source – Installation will also affect changes in the copy. If you want that a copied page should not be overwritten you can mark a checkbox “do not overwrite” in pageheader and in each tt_content record.
FAQ¶
Adminstration¶
You want to copy from SITE-A to SITE-B – then you have to install the Extension in the target SITE (SITE-B).
Install the extension. It is a Frontend-Extension means it acts when I site in the Fronent is called, so you have to include the extension in your site:
Example if your TS site is page:
page.30 < plugin.tx_danpsitecopy_pi1
Then you can go to configure the extension with TS. (The Extension needs an Database connection to SITE-A)
FAQ¶
- Possible subsections: FAQ
Configuration¶
See Reference and Example
((generated))¶
Reference¶
Remoteserver¶
Property
Remoteserver
Data type
Description
Configure the conection to the database with the source TYPO3:
remoteserver {
host=host
dbuser=dbuser
dbpassword=dbpassword
database=typo3
}
You can also set:
remoteserver.usetypo3db=1 if you want to copy content in the same TYPO3 Installation.
Default
nothing
remapLinkTags¶
Property
remapLinkTags
Data type
boolean
Description
If this is set to 1 then after each performing of the copyjobs the copieds content is read for <LINK> Tags. And then it tries to find the new id. So you can copy hole sitetrees with links and the links will still work in the targetinstallation.
Default
0
doNotWriteLog¶
Property
doNotWriteLog
Data type
boolean
Description
For debugging a logfile is written. You can see the logfile in Backendmodul.
For production and performance it is better to switch this var to 1.
Default
0
copyjobs¶
Property
copyjobs
Data type
.1
.2
Description
See copyjobs Reference
Default
[plugin.tx_danpsitecopy_pi1.]
frompid¶
Property
frompid
Data type
integer
Description
PID from remote (source) TYPO3. Means this is the page which should be copied.
Default
topid¶
Property
topid
Data type
integer
Description
PID in Target (actual) TYPO3. This is the PID of the page where the copies are stored. Means under that page the page frompid is copied.
Default
reclevel¶
Property
reclevel
Data type
integer
Description
How many levels should be copied
Default
timespan¶
Property
timespan
Data type
integer
Description
Time in second between the next run of the job. 3600 means the copyjob is started every hour.
Default
skipFirstPage¶
Property
skipFirstPage
Data type
boolean
Description
If set to 1 the copyjob started with the pages under frompid and the page with PIF frompid itself is not to be copied.
Default
skipFirstPageContent¶
Property
skipFirstPageContent
Data type
boolean
Description
If set to 1 the Content from the first page is not copied.
Default
default¶
Property
default
Data type
Obj.
Description
Supported later. It is for overwrite some values. For example you can force that all copied pages should be hidden by default.
Default
[plugin.tx_danpsitecopy_pi1.copyjobs.1-..]
Example¶
Here you would show an example of the stuff from the reference or so:
plugin.tx_danpsitecopy_pi1 {
remoteserver {
host=localhost
dbuser=xxxx
dbpassword=xxxx
database=typo3db
}
remapLinkTags=1
doNotWriteLog=1
copyjobs {
1 {
frompid=6
skipFirstPage=0
skipFirstPageContent=0
reclevel=3
topid=11
default {
hidden=1
}
timespan=10
}
2 {
frompid=17
reclevel=3
topid=11
default {
hidden=1
}
timespan=10
}
}
}
Known problems¶
To-Do list¶
Changelog¶
EXT: My Extension - 3