[TYPO3-english] inject pages to pagetree by cli
lorenz-typo3 at visol.ch
Fri Feb 8 23:05:00 CET 2013
By "injecting pages" you mean inserting a new page to your TYPO3 website?
This is no problem. The easiest way (IMO) is to use an Extbase
CommandController for the Scheduler:
(You don't need Extbase for generating the page, but the fastest way to
create a scheduler task is using an Extbase CommandController.)
Then you can use TCEmain for inserting the page, see tutorial here:
Since the Scheduler user (_cli_scheduler) doesn't run in admin mode, it
must have access to the tables and mounts you want to modify (in your
example table pages, DB mount of the root page).
Am 08.02.2013 17:25, schrieb d.ros:
> does anybody know if it is possible to inject pages ( with some
> configuration options ) to the pagetree by CLI ?
More information about the TYPO3-english