[Typo3-dev] Copy Complete Page

Mathias Schreiber [K1net] ms at netfielders.de
Tue Feb 10 10:45:22 CET 2004


Peter Niederlag wrote:
> we share your thoughts but it would be nice if you could also tell us
> the treasure you apparently found in the libs that made you so happy.

Libs? Ha!
Docs!

$cmd[tt_content][54][delete] = 1//Deletes tt_content record with
uid=54$cmd[pages][1203][copy] = -303//Copies page id=1203 to the position
after page 303$cmd[pages][1203][move] = 303
include("init.php");typo3lib("tce_main");$tce = new
tce_main;$tce->start($data,$cmd);$tce->process_datamap();$tce->process_cmdma
p();Cool?Inside Typo3






More information about the TYPO3-dev mailing list