ibexa

Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

NamePattern

Summary

Sets the pattern that will be used to define the name of the object.

Usage

NamePattern=<tag>

Description

This setting sets the pattern that will be used to define the name of the object. The following tags are available:

  • <original_filename>: The same filename of the uploaded file is used as it was named on the locale machine
  • <original_filename_base>: Similar to original_filename. Again the same filename of the uploaded file is used as on the locale machine, but only the base of the name is used and, i.e, no suffix.
  • <original_filename_suffix>: Similar to original_filename. Again the same filename of the uploaded file is used as on the locale machine, but without the suffix
  • <mime_type>: The detected MIME type of the file is used.

This setting is case sensitive.

Examples

[flash_ClassSettings]
FileAttribute=file
NameAttribute=name
NamePattern=<original_filename_base>

For the flash class the name will be the same as the original file name but without suffixes.

Geir Arne Waaler (13/10/2010 1:30 pm)

Geir Arne Waaler (13/10/2010 1:30 pm)


Comments

There are no comments.