Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
titleArchives

You are using phpFox version earlier than 4.6.0? Please refer instruction for this article here.

The phpFox script gives you full control over attachments. This tutorial will help you learn how to add, edit and manage attachments for your site.

Table of Contents

Excerpt Include
Enabling Short Urls
Enabling Short Urls
nopaneltrue

Adding Attachment Types

  • Click Settings and choose Attachments.

Image Removed

  • Click Add New Type on the top right of the screen.

...

  • Go to Attachment app in AdminCP > Apps >> Installed >> Attachment. Go to Add New Type Tab
    Image Added

  • You'll see a popup with boxes to fill in. We will use .zip as an example for of our attachment. You will need to look up the various attachment Mime types in order to add whatever attachments you want to add. For zip, fill it in like this:
    1. Extension - for our example we put zip without a period in the front.
    2. MIME type - for our example it is application/zip.
    3. Image - No as this is not an image type of attachment.
    4. Active - Yes as we want to activate this.
    5. Submit when done.

...

  • Image Added

Editing Attachment Types

  • When in the Attachments settings, click Go to Manage Types

Image Removed

  • tab. Find the attachment you want to edit and click the left arrow setting icon and choose Edit.

...

  • Image Added

 

  • Change the values in the popup as you want them and Submit when done. (I need to add the image once the bug is fixed)

Enable or Disable Attachment Types

 

 

 

 

 

 

 

...

  •  

Enable or Disable Attachment Types

  • Go to Manage Types tab. Toggle button to enable /disable attachment.

Image Added

Managing Attachment Thumbnails

  • Go to the Settings tab. You can add attachment types to the thumbnail settings so it shows a default icon for each type.
    Image Added

Managing Thumbnail Size

  • Scroll down to the Thumbnail sizes and you can change the values to what you want. You might need to tweak your theme to fit in bigger or smaller sizes.

Image Added

Managing Attachments (v4.6 and up)

  • Go to Manage tab. You can search for specific attachment name.
    Image Added
  • You will see a listing of all Attachments below.
    1. Attachment list.
    2. Delete Attachment.
    3. Delete Attachment Popup Yes/No choice.
    4. Search for Attachments.

Image Added

Info
titleTip

Always clear cache after making any changes.