[TYPO3-dam] Hiding file types from DAM
georg kuehnberger
georg at georg.org
Thu Jan 31 18:12:38 CET 2008
Francois Suter wrote:
> Hi,
>
>> In the TSconfig, there's a property which goes like that:
>>
>> tx_dam.indexing.skipFileTypes = mxp
>>
>> I changed it in my config to
>>
>> tx_dam.indexing.skipFileTypes = mxp,log
>
> I would just like to go back to my original question, no matter whether
> a FTP client was involved or not.
>
> The point is that there's a configuration option which seemingly makes
> it possible to avoid indexing certain files in the DAM. This is not the
> behaviour I observed, so that begs the following questions:
>
> - did I do something wrong in this configuration?
> - did I misunderstand what this configuration is for (e.g. it applies
> only in some special circumstances)?
> - does this configuration simply not work, e.g. because it is buggy or
> because it was planned but not implemented?
>
> Cheers
Francois,
So I just went ahead and tested your case over here (with the DAM SVN
Version) and the functionality works as described;
The important part is, that you have to configure the tsconfig settings
in the DAM Media Page;
so here is what I did:
- open Media page properties;
- added tx_dam.indexing.skipFileTypes = mxp,log in the TSconfig
- created a new dir with files like
1.txt
2.jpg
3.log
ws_ftp.log
Called up:
Media > File > List (which automatically indexes non indexed records);
then in addition I re-indexed the the directory with Media > File >
Indexing ....
Result:
1.txt
2.jpg
are indexed fine
3.log
ws_ftp.log
are not indexed and a yellow exclamation mark aside the file (in the
List > File module) tells us: this file is not indexed;
Now in case the User (that is non-admin) is only configured to use the
Media > List Module (and not the others);
he will never see the ws_ftp.log files.
> - did I do something wrong in this configuration?
yep, I guess you pur the tsconfig not into the MEDIA Page TSconfig,
> - did I misunderstand what this configuration is for (e.g. it applies
> only in some special circumstances)?
AFAIK NO;
> - does this configuration simply not work, e.g. because it is buggy or
> because it was planned but not implemented?
NO, it simply works as advertized.
A last one, as pointer:
from:
http://typo3.org/documentation/document-library/extension-manuals/dam/1.0.11/view/1/5/#id3502609
--snip--
"Please keep in mind Page TSconfig will be read from the DAM SysFolder
only."
--snap--
please confirm my findings to we can close this thread,
hth, regards Georg
More information about the TYPO3-project-dam
mailing list