[Typo3-dev] custom UID of table "pages"
Stefan Beylen
intsys at swissinfo.org
Tue Jun 7 14:23:06 CEST 2005
Jean-Baptiste Rio wrote:
> Sorry Stefan,
no need to worry
> 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 ;)
no problem, sorry for being unclear
> 2 XML category files with id 8845 and 123
correct
plus: 2 XML subcat files with id 234 and 987 belonging to 8845
> 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.
nope, no courses as pages they are supposed to be records on the pages
my pagetree:
> |
> |_ Page Category X (uid=8845, pid=0)
> | |
> | |_ SubCategory X-1 (uid=234, pid=2000)
> | |
> | |_ SubCategory X-2 (uid=987, pid=2000)
> |
> |_ Page Category Y (uid=256, pid=0)
and the courses are stored in the Subcategories as !records!
So, in the backend if I got to listview uid 987 i see the records where
they belong to...
sorry for causing confusion.
p.s.: am already developing like this as I see no reason to not do so ;)
p.p.s.: no offense meant :) thanks for the tips you gave me, but this
one is definitely the /easiest/ solution and I dont think it is really
that bad to "break" the auto increment as the auto increment (IMHO) is
just a "helper function" to get the next higest ID...if i mess around
below it in a certain area is not "bad behaviour" (again: IMHO)
thanks!
More information about the TYPO3-dev
mailing list