News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

How to add JComments to JDownloads

Started by Ettore, 04.09.2025 09:24:18

Previous topic - Next topic

Ettore and 3 Guests are viewing this topic.

Ettore

Hi!
I need to add JComments to JDownloads.

This is my Joomla 5.3.3 website URL:
https://www.tschai.it/2025/

At this moment there is one downloadable file only:
https://www.tschai.it/2025/jdownloads-list-all-categories.html?view=category&catid=11

Of course I have used your instructions:
https://www.jdownloads.net/?view=article&id=144:enabling-comments-on-downloads-with-jcomments&catid=35

I have a question about these instructions.

In the section "Show Comments in Download view" I have duplicated and edited the "Compact Files Layout v3.9" and renamed it as: "Compact Files Layout v3.9 for Comments".

Then I need to remove the [Download] button changing {url_download} to *.....or {*} ?.

Where can I find the code that I need to change to remove the [Download] button?

Thank-You.

Ettore
  •  

ColinM

I have edited the article enabling comments
Hopefully this will help
Colin
Colin M
  •  

ColinM

Hi
You need to change {url_download} to {*}
I have updated the documentation which hopefully makes things clearer.
Click on your new Download layout and ensure the Main Area tab is selected - this is the default.
This shows the layout code
For that particular layout it is in the 6th line were you will find {url_download} so make it look like {*}
The editted line is
<div class="jd_download_url jd_download_url_position" style="">{*}</div>
After making the changes remember to Save & Close
Colin
Colin M
  •  

Ettore

First of all THANK-YOU.

Unfotunately my problem is not solved: I can't show the comments for JDownloads. :(

Question: can you write the link for the documentation page that you have recently updated?

For your information this is the code that I have in:

Components > JDownloads > Layouts > Downloads (IN THE BLUE TOP MENU BAR) > "Compact Files Layout v3.9 for Comments" > Main Area tab > Main Layout

----------------------------------------

{files_title_begin}<div class="jd_files_title39" style="">{files_title_text}</div><!-- download title  -->{files_title_end}
<div class="{featured_class}" style="width: 100%;">
<!-- download main  -->
<!-- download layout with download buttons compact-->
     <div class="jd_left" style="">{file_pic} {file_title} {release} {pic_is_new}{pic_is_hot}{pic_is_updated}{sum_jcomments}</div>
     <div class="jd_download_url jd_download_url_position" style="">{*}</div>
     <div class="jd_rating" style="">{rating}</div>
     <div class="jd_featured_pic" style="text-align:center; float:right; margin:0 10px;">{featured_pic}</div>
    <div class="jd_clear">
      <div class= "jd_tags39 jd_associations">{tags}{show_association}</div>
    </div>
</div>
<!-- download info1 -->

------------------------------------------

Thanks again.

Ettore

  •