[Typo3-dev] Access cObj->enableFields from stand alone script

Mathias Schreiber [netfielders] ms at netfielders.de
Mon Sep 1 13:57:16 CEST 2003


Robert Lemke wrote:
> require_once ('t3lib/class.t3lib_page.php');
> $whereClause = t3lib_pageSelect::enableFields($table,$show_hidden);
> 
> See enableFields in tslib_content for more information!
> (Didn't test this but should work)


this was my idea as well, but if I do this, the GLOBALS TCA Array ain't 
available.
I get tricked by the thought that I need to include something like 
"init.php" and everything works ;-)

-- 
Want support? Please read the list rules first: http://typo3.org/1438.0.html





More information about the TYPO3-dev mailing list