[TYPO3-core] RFC: #8899: [feature] Configuration of uploads and create folder in linkbrowser
Steffen Kamper
steffen at sk-typo3.de
Fri Jul 4 11:44:19 CEST 2008
Ernesto Baschny [cron IT] schrieb:
> Steffen Kamper wrote: on 04.07.2008 10:15:
>
>>> Sound good. Two things:
> >
>>> 1) denyCreateFolder should be called hideCreateFolder, because you
>>> are not denying it just not displaying the form control. If the user
>>> "wants to" he can also submit his own "form" and create a folder, as
>>> there is no restriction in doing this.
>
>> you mean hacking? This is possible on more places by submitting the
>> right values :-) But does an editor know that?
>
> Doesn't matter what he knows, but if it is called "deny" it implies some
> kind of security. If there "other places" where this might be possible,
> we should fix them.
>
>> But for sure it can be named with Hide.
>
> Ok. :)
>
done
>>> 2) couldn't this be set also on pageTS-level, so that we can
>>> configure a global for the whole page tree, instead of adding the
>>> configuration for every group?
>
>> yes, i also thought this and i didn't because i saw no sense in
>> different configurations for different branches of the tree, but you
>> are right that it's more easy for a global setting.
>> i will make a new patch asap.
>
> I was also thinking just about "global settings". So maybe the global
> one could simply be configured in $TYPO3_CONF?
>
yes, makes sense as the page id is not known at this place (or difficult
to determine)
I've done the modifications
user-/group-TS:
options.fileTree.uploadFieldsInLinkBrowser = 0
options.fileTree.hideCreateFolder = 1
in localconf (or whereever)
$TYPO3_CONF_VARS['BE']['hideCreateFolderInBrowseLinks'] = '1';
$TYPO3_CONF_VARS['BE']['uploadFieldsInLinkBrowser'] = '0';
remark: should go in documentation, i will take care of.
vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: upload_config_in_linkbrowser2.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20080704/68bd3de0/attachment.txt
More information about the TYPO3-team-core
mailing list