[TYPO3-dev] altElementBrowserMountPoints set by Page and not by User

stefano cecere scecere at krur.com
Sat Nov 15 16:42:25 CET 2008


i started this topic in english list, but i think it's better to discuss it here:


hasn't anyone needed to set the element browser mount point with a "per page" conditions?
that is: in page x i want the element browser to allow to choose only from page y?

i really need this to configure complex systems where editors can choose contents from dozens of sys_folders


the options.pageTree.altElementBrowserMountPoints is the right direction

but it is only a User TSConfig. so it is very limited.

there are two options:

1) make it available as Page config also
2) implement conditions in TSconfig

i tried kb_tsconfig_cond to get the 2) working.

BUT it DOESN'T WORK (and i think i know why):

if i put this in page TS:

[globalVar = GP:id=24]
options.pageTree.altElementBrowserMountPoints = 429,15
[end]

the element browser gets opened in a new window. and i am pretty sure that this window doesn't know the current page ID
so this condition can't get solved.
(it works for other conditions.. something like:

[loginUser = 3]
options.pageTree.altElementBrowserMountPoints = 429,15
[end]

does work.

i tried (quite complex) patches to bring the page id to browser.php and browse_links.php, but with no success

what do you think?

stefano




More information about the TYPO3-dev mailing list