[TYPO3-dev] Problem with foreign_table_where
Ries van Twisk
typo3 at rvt.dds.nl
Fri May 19 20:55:34 CEST 2006
Hi,
I am not a guru on this,
but I think that you can do this :
'AND pid=###STORAGE_PID### ORDER BY.......'
hereby I assume that ###STORAGE_PID### will be just a number....
Ries
>Hi,
>
>I have created an extension and this extension has in its TCE form a
>select field "category". I created also the possibility to create
>categories from this TCE form. But it is a problem with these categories
>because these items will be created an the same page.
>I think the problem is in this line: "pid" => "###CURRENT_PID###" in
>ext_tables.php.
>I searched in the documentation and I found this
>###REC_FIELD_[fieldname]###
>###THIS_UID### - is current element uid (zero if new).
>###CURRENT_PID### - is the current page id (pid of the record).
>###STORAGE_PID###
>###SITEROOT###
>###PAGE_TSCONFIG_ID### - a value you can set from Page TSconfig
>dynamically.
>###PAGE_TSCONFIG_IDLIST### - a value you can set from Page TSconfig
>dynamically.
>###PAGE_TSCONFIG_STR### - a value you can set from Page TSconfig
>dynamically.
>
>Can someone help me to figure it out how to insert these items on the
>sys_folder specified in Startingpoint
>
>Best regards,
>Livius
>_______________________________________________
>TYPO3-dev mailing list
>TYPO3-dev at lists.netfielders.de
>http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
>
>
--
Ries van Twisk
Freelance Typo3 Developer
=== Private:
email: ries at vantwisk.nl
web: http://www.rvantwisk.nl/freelance-typo3.html
skype: callto://r.vantwisk
=== Work:
email: ries at livetravelguides.com
web: http://www.livetravelguides.com
More information about the TYPO3-dev
mailing list