[TYPO3-dev] Alter foreign_table_where to select items from parent page

JoH asenau info at cybercraft.de
Mon Apr 23 18:03:43 CEST 2007


>> Could you please explain the structure.
>> What I understood is this:
>>
>> Sysfolder 1
>>     Item 1
>>     Item 2
>>     Sysfolder A
>>         Item A
>>         Item B
>>
>> And you want a relation between
>> Item 1 <=> Item A
>> Item 2 <=> Item A
>> Item 1 <=> Item B
>> Item 2 <=> Item B
>>
>> Something like that?
>>
> Yes, that is what I mean.

Next Question:
Where "are" you during the SELECT statement?
Or in other words: Do you want to select for Item A and get Item 1 or 2 or
do you want to select for Item 1 and get Item A or B as related elements?

###CURRENT_PID### for Item A and B will be the UID of Sysfolder A
###CURRENT_PID### for Item 1 and 2 will be the UID of Sysfolder 1

HTH

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
openBC/Xing: http://www.cybercraft.de
T3 cookbook: http://www.typo3experts.com






More information about the TYPO3-dev mailing list