[TYPO3-core] RFC: #9109: Enable feature in element browser in rte like in normal one
Steffen Kamper
info at sk-typo3.de
Sat Aug 2 21:28:11 CEST 2008
Hi,
This is an SVN patch request.
Type: Bugfix
Bugtracker reference: http://bugs.typo3.org/view.php?id=9109
Branches: 4.2, trunk
Problem:
There is a feature to show additional Mounts in element browser (page
and file).
options.pageTree.uploadFieldsInLinkBrowser = xyz
options.folderTree.uploadFieldsInLinkBrowser = xyz
Very nice feature! Additional Mounts are marked as read only
This works from any Backend Form, but not from RTE. RTE uses own
browse_links.php where this part is missing.
Solution:
I simply added this part in RTE browse_links.php to get it work.
Additional:
This really big feature is still in pending documents, so very unknown.
But it's a really Big one! It's the only chance to get users the
possibility linking to elements which are not in the rights of the user.
So please add this to official doc!
How to test:
Create a User/Usergroup which has page mount only has one branch.
Add this to userTS:
options.pageTree.uploadFieldsInLinkBrowser = [PID OF ROOTPAGE]
Switch to the user. Now you should have only the branch tree.
Edit page properties and click a browse link, you shoud see complete
page tree.
Now create link inside RTE, you should see same tree like in page tree,
not the complete one.
vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: browse_links_rte.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080802/5afc164d/attachment.txt
More information about the TYPO3-team-core
mailing list