[TYPO3-dev] Creating pages in Typo3 with external script

Alexander Födisch foedisch at eva.mpg.de
Mon Feb 10 10:08:37 CET 2014


Hi,

how can I create pages scripted with SQL-statements?

I need to create for example page1-page4:

page-already-exists
     |-page1
             |-page2
             |-page3
             |-page4


Createing a page is quite easy:
     INSERT INTO pages (title) VALUES ('<title>');  (of course we have to set also other values like 
timestamps, crdate.....)

But how does Typo organize the relationship/assignment of pages and their subpages?


Thanks,
Alex



More information about the TYPO3-dev mailing list