.. You may want to use the usual include line. Uncomment and adjust the path. .. include:: ../Includes.txt ================= 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: Sitecopy ======== Extension Key: **danp\_sitecopy** Copyright 2000-2002, Daniel Pötzinger 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: 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: Introduction ------------ .. _What-does-it-do: 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: Screenshots ^^^^^^^^^^^ .. _Users-manual: 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: FAQ ^^^ - .. _Adminstration: 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: FAQ ^^^ \- Possible subsections: FAQ .. _Configuration: Configuration ------------- See Reference and Example .. _generated: ((generated)) ^^^^^^^^^^^^^ .. _Reference: Reference """"""""" .. ### BEGIN~OF~TABLE ### .. _Remoteserver: Remoteserver ~~~~~~~~~~~~ .. container:: table-row 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: remapLinkTags ~~~~~~~~~~~~~ .. container:: table-row 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 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: doNotWriteLog ~~~~~~~~~~~~~ .. container:: table-row 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: copyjobs ~~~~~~~~ .. container:: table-row Property copyjobs Data type .1 .2 .... Description See copyjobs Reference Default .. ###### END~OF~TABLE ###### [plugin.tx\_danpsitecopy\_pi1.] .. ### BEGIN~OF~TABLE ### .. _frompid: frompid ~~~~~~~ .. container:: table-row Property frompid Data type integer Description PID from remote (source) TYPO3. Means this is the page which should be copied. Default .. _topid: topid ~~~~~ .. container:: table-row 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: reclevel ~~~~~~~~ .. container:: table-row Property reclevel Data type integer Description How many levels should be copied Default .. _timespan: timespan ~~~~~~~~ .. container:: table-row 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: skipFirstPage ~~~~~~~~~~~~~ .. container:: table-row 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: skipFirstPageContent ~~~~~~~~~~~~~~~~~~~~ .. container:: table-row Property skipFirstPageContent Data type boolean Description If set to 1 the Content from the first page is not copied. Default .. _default: default ~~~~~~~ .. container:: table-row 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 .. ###### END~OF~TABLE ###### [plugin.tx\_danpsitecopy\_pi1.copyjobs.1-..] .. _Example: 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: Known problems -------------- - .. _To-Do-list: To-Do list ---------- - .. _Changelog: Changelog --------- |img-1| EXT: My Extension - 3 .. ######CUTTER_MARK_IMAGES###### .. |img-1| image:: img-1.png .. :align: left .. :border: 0 .. :height: 32 .. :id: Graphic1 .. :name: Graphic1 .. :width: 102