After successful installation, go to the Admin page > Plugin Manager > Content - File Attachments to set it up and enable it.
The parameters include:
Folder to save files: Attachments will be stored here.
Restrict Uploads: Enable/disable file moderation. If this feature is enabled, only files with the allowed file types (Allowed File Types) extension can be uploaded.
Allow Guest Download File: Set file download permissions for guests
Show Download Count
Show extension of File
Show description of File
Go to Joomla's Article Management section:
For existing (already existing) articles: In the article editing form, switch to the "Attachments" tab to get started.
For newly created posts, you need to press the "Save" button to be able to see the "Attachments" tab. After this, you switch to the "Attachments" tab to get started.
By default, files after uploading will be attached to the end of the article. However, you can still change where these attachments are displayed.
Insert the syntax {jattachment:all} where you want the attachments to be displayed.
To insert any file into an article, click the "Insert this file in another article" button at the "Attachments" tab and follow the instructions.
I'm considering purchasing your File Attachments extension for a Joomla 5 website.
I intend to use it for distributing 3D CAD model archives (ZIP files) to website visitors.
I have three questions:
1. Does the extension generate temporary download links that automatically expire after a configurable period (e.g. 5 minutes), or are the download URLs permanent?
2. Does it support rate limiting to prevent automated bots from repeatedly requesting downloads?
3. Are the uploaded files stored outside the publicly accessible web directory, and are they delivered through a PHP download controller rather than direct file access?
These features are important because I want to protect the hosting server from automated mass downloads while allowing legitimate visitors unlimited access to different models.
@Orlin Hello! The files are stored within a Joomla directory, and their download is managed via PHP; therefore, direct links to the files are not used. Files are downloaded by submitting a form rather than through a static link. If you wish to prevent bots from performing bulk downloads, I can add a "CSRF" (Anti-Cross-Site Request Forgery) token to the form—it’s quite straightforward.
Hello, my website suddenly shows href="#" instead of the correct link only on a certain type of files (msi, zip, exe). Everything still shows correctly but when clicking on the file to download it seems to go back to the home page. Other file type like pdf are still working correctly.
@David Hi David, thanks for your reply. Upon checking with hosting provider support, it seems that the website has been hacked due to avulnerability affecting Joomla Content Editor. We're in the process of getting it fixed and I will get back again in case the issue persists. Thank you
@Ezio It won't use static links because in some cases, you might want to restrict downloads. As for the issue of returning to the homepage after clicking the download button, it might be due to route-related settings. Please send me your site access in the Contact page (include Transaction ID), I will check it soon.
I am confused on something and hoping you can clarify things. Please see this video for a visual example: https://screenrec.com/share/Xbw03sSjhc
I migrated about a thousand items with attachments from K2 using your tool and attachments plugin. I initially did this on a test account. Everything worked fine over there. The migrated article attachments worked fine. Then I backed it all up and moved it to my live domain. Now none of the attachments load. All I get is Exception File Not Found and I can't figure out where to look. Turning on error reporting and debug don't tell me anything. I am guessing the old files were not moved during the migration correct? Or how does that all work? I still have all the original folders in the original places as far as I can tell.
Is there any restriction on the name of the files that are attached? I have noticed in several cases when the file name has many characters or special characters (such as hyphens, underscores, parentheses, etc.) it does not upload the file.
@Daskaloudis Athanasios I'm not sure, but there might be a limit on the length of the filename. I recommend that you rename the file before uploading. Once uploaded, try to rename it from the editor.
@David Hello - thanks for your time! Is there no possibility that - when you click on the file name - the file opens - for example a pdf file - in a new window (_blank) without a download box?
This is how it works when you link to a document in an article if you selected "open in new window" in the link
Unfortunately, the attachments in the articles do not appear when I display them as "Category Blog" or "Featured Articles". Is this normal behavior and/or is there a solution for this?
@David Thank you for the feedback. That worked. Now I just have to make sure that I make the change again with the next update. Maybe you could make a button in the plugin configuration for “Display attachments in blog layout”?
@dirk lenze By default, it just displays on the article layout. In your case, try to remove line 378,379 of file plugins/content/jmpattachments/jmpattachments.php. I hope it will work well!
the attachments tab is not displayed, and even after saving the translated article version, there's this error message: You must save the article to use this feature.
I'm considering purchasing your File Attachments extension for a Joomla 5 website.
I intend to use it for distributing 3D CAD model archives (ZIP files) to website visitors.
I have three questions:
1. Does the extension generate temporary download links that automatically expire after a configurable period (e.g. 5 minutes), or are the download URLs permanent?
2. Does it support rate limiting to prevent automated bots from repeatedly requesting downloads?
3. Are the uploaded files stored outside the publicly accessible web directory, and are they delivered through a PHP download controller rather than direct file access?
These features are important because I want to protect the hosting server from automated mass downloads while allowing legitimate visitors unlimited access to different models.
Can you restrict entire words (and more specifically phrases with 2 or more words) with this plugin? Or is it only good for single characters or single words?
We use cookies to maintain login sessions, analytics and to improve your experience on our website. By continuing to use our site, you accept our use of cookies, Terms of Use and Privacy Policy.
^ File sorting feature.
^ Display upload date.
# Fixed "File name too long" error.
I'm considering purchasing your File Attachments extension for a Joomla 5 website.
I intend to use it for distributing 3D CAD model archives (ZIP files) to website visitors.
I have three questions:
1. Does the extension generate temporary download links that automatically expire after a configurable period (e.g. 5 minutes), or are the download URLs permanent?
2. Does it support rate limiting to prevent automated bots from repeatedly requesting downloads?
3. Are the uploaded files stored outside the publicly accessible web directory, and are they delivered through a PHP download controller rather than direct file access?
These features are important because I want to protect the hosting server from automated mass downloads while allowing legitimate visitors unlimited access to different models.
Thank you!
^Add a message editing option for users who cannot use this feature.