b2evolution b2evolution

  • Sign in
  • Sign up
  • About
  • Downloads
  • Hosting
  • Docs
  • Support
  • Sign in
  • Sign up
  • Manuals Home
  • Latest Updates
 
  1. b2evolution CMS User Manual
  2. Back-office Reference
  3. Files
  4. Settings
  5. File types
  6. File Type Editing

File Type Editing

File Type Editing

This form is used define a file type and change its properties.

Extensions

A file type may have several synonymous extensions such as jpg and jpeg. Use whitespace to separate multiple extensions.

File type name

This is the name that identifies the file type for humans

Mime type

This is the name that identifies the type for web browsers, email clients and other computer programs.

Notes:

  • b2evolution will use this when sending the file, for example after resizing an image. But in many cases the file may be served directly from the webserver (e-g: Apache) and in this case, this setting will have no effect – it’s the web server’s configuration that applies to determine the MIME type when the file is served directly by the web server.
  • In some situations the program (e-g: IE) will use the extension rather than the MIME type to decide what type the file is.

Icon

You can select which icon to associate with the file type based on the list of file icons configured in b2evolution.

View type

This determines what should happen when a user clicks on a file belonging to this file type.

Note: many web browsers won’t do what they’re asked here and will do whatever they think is best based on the file type, as they identify it.

Allow upload

This determines who can upload this files that belong to this file type.

This will make it impossible for some users to uploads files with the given extension(s).

SECURITY WARNING: it is especially important to control who can upload scripts (such as .php files) onto your web server. If you don’t, your web site can very easily be hacked. In b2evolution’s default configuration, even administrators cannot upload these sensitive filetypes. To allow administrators to upload sensitive filetypes, set the $admin_can_upload_sensitive_files setting to true in the advanced.php configuration file.

Tags: 7.0.2
Created by fplanque • Last edit by winskie on 2019-10-03 07:38 • •

No feedback yet

On this page

  • Extensions
  • File type name
  • Mime type
  • Icon
  • View type
  • Allow upload

Search the Manual

Content Hierarchy

  • b2evolution CMS User Manual
  • User's Guide
  • Installation / Upgrade
  • Front-office Reference
  • Back-office Reference
    • Site
    • Collections
    • Files
      • Browse
      • Advanced Upload
      • Settings
        • Accessible File Roots
        • File Creation Options
        • Advanced Options
        • Image Options
        • File types
          • File Types List
          • File Type Editing
      • File Moderation
      • Troubleshooting
    • Analytics
    • Users
    • Messages
    • Emails
    • System
    • Working with Results Tables
  • Developer Reference
  • Operations Reference
  • Advanced Topics
  • Glossary
  • Archives
Free CMS

This online manual is powered by b2evolution CMS – A complete engine for your website.

About b2evolution

  • What is it?
  • Features
  • Getting Started
  • Screenshots
  • Online demo
  • Testimonials
  • Design philosophy
  • Free & open source
  • Terms of service

Downloads

  • Latest releases
  • Skins
  • Plugins
  • Language packs

About us

  • About us
  • Contact

Webhosting Guide

  • Web hosting blog
  • Best web hosting
  • Cheap web hosting
  • Green web hosting
  • Hosting with SSH
  • VPS hosting
  • Dedicated servers
  • Reseller hosting
  • Int'l: UK / France

Docs & Support

  • Online manual
  • Forums
  • Hire a pro !

Other

  • Adsense
  • Press room
  • Privacy policy

Stay in touch

  • GitHub
  • Twitter
  • Facebook
  • LinkedIn
  • News blog
  • RSS feed
  • Atom feed

Founded & Maintained by François Planque