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/
<menu-item>/<doc-alias>/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.