[TYPO3-dev] Restrict pagebrowser to certain subtree via TCA

Stefan Geith typo3dev2006 at geithware.de
Tue Aug 22 13:37:40 CEST 2006


Hi Devs,

Is it possible to restrict the pagebrowser
(browse_links.php?mode=db&bparams=...) to
a certain subtree with TCA.php ?

I have a plugin, that contains links to
pages; TCA looks like this:

$TCA["mytable"] = Array (
     ...
     "columns" => Array (
         ....
         "relatedpages" => Array (		
             "exclude" => 0,		
             "label" => "Related Pages",		
             "config" => Array (
                 "type" => "group",	
                 "internal_type" => "db",	
                 "allowed" => "pages",	
                 ...
             )
         ),
         ...

How can I restrict the page-browser, when I
add a related-page to a record in the BE ?
Is there a setting in the 'config'-Array of
TCA ?
Or any other (easy) way ?
Or do I have to bould my own page-browser ?

-

Stefan




More information about the TYPO3-dev mailing list