jDownloads Support Forum

Older Versions => jDownloads 3.2 (Support ended) => Suggestions - Feature Request => Topic started by: ibrahim on 18.02.2018 15:41:54

Title: Make titles as links to Downloads in My Downloads History?
Post by: ibrahim on 18.02.2018 15:41:54
Hello!
1. How to link titles in My Downloads History?
this will be easier for users to find them downloads history for downloading updates!

2. How to remove the keys that after titles?
let me know to remove wich code from which file! Please
Title: Re: Make titles as links to Downloads in My Downloads History?
Post by: ColinM on 20.02.2018 11:48:34
Hi,
Quote1. How to link titles in My Downloads History?
this will be easier for users to find them downloads history for downloading updates!
Think this is a good idea. Could you please add to the Suggestions category as it is better for us one topic at a time!!

Quote2. How to remove the keys that after titles?
let me know to remove wich code from which file! Please
By 'keys' do you mean things like 'New', 'Updated' and so on?  If that is the meaning then it is controlled by your Files layout.  For example the New symbol come from the placeholder {pic_is_new}.  If it is not present the 'New' icon will not appear. Check out some of the other layouts.
Colin

Title: Re: Make titles as links to Downloads in My Downloads History?
Post by: ibrahim on 21.02.2018 13:12:57
Can I use the placeholders on default.php?
components/com_jdownloads/views/myhistory/tmpl/default.php

Also I can see the code is:
    $files_body = '<div class="jd_history_content_wrapper">
                     <div class="jd_clear" style="width:100%;">
                          <div class="jd_left" style="">{log_file_title}</div>
                          <div class="jd_right" style="">{log_date}</div>
                          <div class="jd_clear" style=""></div>
                     </div>

So what to change in {log_file_title} to make it linked to filepage.
Title: Re: Make titles as links to Downloads in My Downloads History?
Post by: ColinM on 21.02.2018 18:13:21
Hi
I have now looked a little deeper ito this item.  Basically the 'My History' menu item looks at the log file and extracts the information from there.
Regetably the log info does not contain the file ID or the Category and its ID so it cannot construct the link. This would mean modifying the info stored in the log file itself. And of course extending the database.  The natural thing to do would be to store the link directly.
It would also mean hanldling the situation where the Download has been Delteted, Moved, renamed and similar.  These errors would best be done by a file not found error message.

So I have moved this topic to suggestions.
Colin