As it says in the title, I'm trying to show joomlas login form when someone is trying to access a download which they're not allowed to get (if they're not logged in).
I've managed to have one category with public downloads for everyone which works fine and some more categories for registered users only. They should be visible and it only shows the download button when people are logged in (which works fine).
On the website should be a few links to those downloads so people can directly get them without browsing through the categories, but only if they're logged in, and this is where it stops working. It only shows the message from COM_JDOWNLOADS_DOWNLOAD_NOT_ALLOWED_MSG and not the login form.
I was reading the documentary and browsing the forums, but I can't find the appropriate infos to fix this. Any pointers what I'm doing wrong would be much appreciated.