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. 

Enable or Disable Attachment Types

  • When in the Attachments settings, click Go to Manage Types .
  • To the right of each Attachment type, you will see a Red or Grey button. Red is enabled and Grey is disabled. Click to toggle.

...

  • tab. Toggle button to enable /disable attachment.

Image Added

Managing Attachment Thumbnails

  • When in Go to the Attachments Settings page, click Settings.

Image Removed

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

...

  • Image Added

Managing Thumbnail Size

  • When in the Attachments Settings page, click Settings.

Image Removed

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

Image RemovedImage Added

Managing Attachments (v4.

...

6 and up)

  • When in the Attachments Settings page, click Manage.Go to Manage tab. You can search for specific attachment name.
    Image Modified
  • You will see a listing of all Attachments to the rightbelow.
    1. Attachment list.
    2. Delete Attachment.
    3. Delete Attachment Popup Yes/No choice.
    4. Search for Attachments.

Image RemovedImage Added

Info
titleTip

Always clear cache after making any changes.