[TYPO3-dev] Custom BE Web module -> how to prune Pagetree
misza
misza at typo3.info.pl
Wed Apr 22 16:25:42 CEST 2009
Uzytkownik "Steffen Ritter" <info at rs-websystems.de> napisal w wiadomosci
news:mailman.1.1240409703.1716.typo3-dev at lists.netfielders.de...
> Mathias Schreiber [wmdb >] schrieb:
>> Steffen Ritter schrieb:
>>>> Is there any possible way to access pagetree object and set desired
>>>> mount point for a module (a Web module) ?
>>> short answer: no
>>
>> ?
>> I did this after BE login (so even admin users ust see the part of the
>> pagetree they needed to see).
>> Can't find the code right now.
>>
>> But did I miss something why it should impossible to set a Temporary
>> Treemount from an extension?
>
> he asks for setting a the pagetree to a special mountpoint, only showing
> sysfolders... which is not possible, you cannot restrict this...
> You may set (with an JS request) an temporary Mountpoint, but cannot
> prevent the user to delete it ... and the only sysfolder problem won't be
> cleared either.
>
> SO far
>
> Steffen
Thx for responses.
This should work similarly to
"options.pageTree.altElementBrowserMountPoints:, but for a pageTree in my
Web>CustomModule.
In other cases (Web>Page, Web>List,.etc.) db mountpoints assigned to
users/grups should be respected.
Regards,
Michal
More information about the TYPO3-dev
mailing list