- Posts: 1
- Thank you received: 0
Need help with Joomla? We are available for hire to help with Joomla customization, upgrades, maintenance, and custom development.
Explore our services Direct download menu item
- Jacopo Gottlieb
- Topic Author
- Offline
- New Member
-
Less
More
22 hours 13 minutes ago #179574
by Jacopo Gottlieb
Direct download menu item was created by Jacopo Gottlieb
hi.
a kind request.
Sometimes I need a direct download link for a document.
I know I can build one using the document ID (e.g., `/index.php?option=com_edocman&task=document.download&id=1`), but I prefer using a SEF URL. I can't find a specific menu item type for this in the Edocman component, so I proceed as follows:
1. I create a "Category Layout" menu item.
2. I visit the page and manually copy the URL from the button found on the document's card (e.g., ` mysite.com///download`).
3. I use that URL for my download button.
This method works.
The problem is that whenever I update Edocman, all my SEF URLs stop working, and I have to visit the front-end page again to regenerate them.
That said:
1. Is it possible to implement a new menu item type, such as "Document download", sort of "Document Details" but skipping the… details page?
or
2. Could you give me some advice on how to avoid this issue caused by updates?
Thanks in advance.
a kind request.
Sometimes I need a direct download link for a document.
I know I can build one using the document ID (e.g., `/index.php?option=com_edocman&task=document.download&id=1`), but I prefer using a SEF URL. I can't find a specific menu item type for this in the Edocman component, so I proceed as follows:
1. I create a "Category Layout" menu item.
2. I visit the page and manually copy the URL from the button found on the document's card (e.g., ` mysite.com/
3. I use that URL for my download button.
This method works.
The problem is that whenever I update Edocman, all my SEF URLs stop working, and I have to visit the front-end page again to regenerate them.
That said:
1. Is it possible to implement a new menu item type, such as "Document download", sort of "Document Details" but skipping the… details page?
or
2. Could you give me some advice on how to avoid this issue caused by updates?
Thanks in advance.
Please Log in or Create an account to join the conversation.
- Mr. Dam
- Offline
- Administrator
-
Less
More
- Posts: 13764
- Thank you received: 1807
21 hours 3 minutes ago #179578
by Mr. Dam
Replied by Mr. Dam on topic Direct download menu item
Hi Jacopo,
For your case, you are correct that EDocman does not currently have a specific menu item type like “Document Download” which skips the document details page and downloads the file directly.
At the moment, the possible solutions are:
1. Use the non-SEF download link directly, for example: /index.php?option=com_edocman&task=document.download&id=1
2. Use the EDocman Content editor-xtd plugin to insert document download links into Joomla articles or Custom HTML modules. This is the recommended way if you need to add download links inside site content.
3. Create a Joomla menu item with type External URL, and use the direct download URL as the menu link. For example: /index.php?option=com_edocman&task=document.download&id=1
This will allow you to create a menu item that downloads the file directly.
Regards,
Dam
For your case, you are correct that EDocman does not currently have a specific menu item type like “Document Download” which skips the document details page and downloads the file directly.
At the moment, the possible solutions are:
1. Use the non-SEF download link directly, for example: /index.php?option=com_edocman&task=document.download&id=1
2. Use the EDocman Content editor-xtd plugin to insert document download links into Joomla articles or Custom HTML modules. This is the recommended way if you need to add download links inside site content.
3. Create a Joomla menu item with type External URL, and use the direct download URL as the menu link. For example: /index.php?option=com_edocman&task=document.download&id=1
This will allow you to create a menu item that downloads the file directly.
Regards,
Dam
Please Log in or Create an account to join the conversation.
Moderators: Mr. Dam
Support
Documentation
Information
Copyright © 2026 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.