[Typo3-dev] custom UID of table "pages"

Jean-Baptiste Rio triphot69 at hotmail.com
Tue Jun 7 13:36:32 CEST 2005


Sorry Stefan,

I don't really understand what you want, and maybe others too. So let's 
try to draw a page tree as example and please correct ;)

2 XML category files with id 8845 and 123
6 XML courses files with ids 22 to 27 and 3 of them belong to category 
8845 and the 3 others to category 123.

Page tree result after import :

Your_site
   |
   |_ Page Category X (uid=2000, pid=0, xmlid=8845)
   |    |
   |    |_ Course 1 (uid=16481, pid=2000, parent_catid=8845, xmlid=22)
   |    |
   |    |_ Course 2 (uid=16482, pid=2000, parent_catid=8845, xmlid=23)
   |    |
   |    |_ Course 3 (uid=16483, pid=2000, parent_catid=8845, xmlid=24)
   |
   |_ Page Category Y (uid=256, pid=0, xmlid=123)
   |    |
   |    |_ Course 1 (uid=10536, pid=256, parent_catid=123, xmlid=25)
   |    |
   |    |_ Course 2 (uid=10537, pid=256, parent_catid=123, xmlid=26)
   |    |
   |    |_ Course 3 (uid=10538, pid=256, parent_catid=123, xmlid=27)

That's what i have in mind.

- Courses may be Pages or Contents or Specific objects.
- All uid fields are initialized by Typo3
- Take care of courses pid is consistent with parent_catid

Hope it may help you

JB




More information about the TYPO3-dev mailing list