[TYPO3-dev] Creating pages in Typo3 with external script
Alexander Födisch
foedisch at eva.mpg.de
Mon Feb 10 10:19:50 CET 2014
Thanks a lot. This is what I was looking for. Is there a documentation of database schema or the fields? What
values are valid for "doktype" and what does they mean?
Best
Alex
Am 10.02.2014 10:10, schrieb Stefan Neufeind:
> On 02/10/2014 10:08 AM, Alexander Födisch wrote:
>> 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?
> Their parent-pade is given in the column "pid". The new page is just a
> record that is placed "on the parent-page".
> Also note the sorting-number to properly order your pages.
>
>
> Kind regards,
> Stefan
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
--
Mit besten Grüßen / Best Regards
Alexander Födisch
Max Planck Institute for Evolutionary Anthropology
- IT Department -
Deutscher Platz 6
D-04103 Leipzig
Phone: +49 (0)341 3550-154
Fax: +49 (0)341 3550-119
Email: foedisch at eva.mpg.de
More information about the TYPO3-dev
mailing list