[TYPO3-dev] Restrict pagebrowser to certain subtree via TCA
Dmitry Dulepov
typo3 at accio.lv
Tue Aug 22 14:59:00 CEST 2006
Hi!
Stefan Geith wrote:
> 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 ?
TCA is global... May be you need to make your own tree. It is not
difficult because system provides almost everything for it. Take a look
to rtehtmlarea how it does this.
Dmitry.
--
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
More information about the TYPO3-dev
mailing list