News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Recent posts

#81
Bugs! / Re: Components > jDownloads > ...
Last post by Arno - 13.06.2025 11:45:19
Hi,
thanks for the info.

Please try the attached file and copy it to: administrator/components/com_jdownloads/src/Controller
#82
Bugs! / Re: Components > jDownloads > ...
Last post by Tom68 - 10.06.2025 19:41:24
Some more background information on using Font Awesome 6 Free in "jdownloads_custom.css".

  • Font Awesome 6 Free is included per default with Joomla!5 (in Joomla!4 Font Awesome 5 Free was included per default). It offers a large number of icons that can be used on webpages to enrich the text with meaningful icons.
  • On my website, I use the layout "Files link only 3.9" to list the proceedings of conferences and make them available (downloadable) to registered users. It is obvious to use an unordered (bullet) list for such a purpose.
  • To spice up the look of these lists, I have replaced the bullets with a Font Awesome icon per css code in "jdownloads_custom.css".
  • The code is given in my initial post.
  • In order to insert a Font Awesome icon, it is necessary to specify the unicode of the corresponding icon with a leading backslash "\". See e.g. Escaping, CSS Entities, Pseudo Elements.
  • Therefore, it is mandatory that the backslash is not removed from the "jdownloads_custom.css" file by the editor used to edit the custom css code. Unfortunately, this happens in jD 4.0.47, which is the reason for this bug report.

I hope this helps to understand the problem.

Regards
Tom
#83
Bugs! / Re: admin/src/View/Cssedit/Htm...
Last post by Arno - 10.06.2025 16:32:53
Hi Tom,
thanks for the hints.  ;)
I will check and fix it shortly.
#84
Suggestions - Feature Request / more images
Last post by ColinM - 09.06.2025 16:04:36
Hi,
Ihave made icons for sit, tgz, bz, bz2 and hqx
They are in the attached zip.  All are the regular 64*64 with depth 32
They need to be unpacked and uploaded to using say Filezilla or your site file manager to:
your site/images/jdownloads/fileimages/flat1
Colin
#85
Tom
I have just looked at the code in the jD Content Plugin. At line line 119 there is code
        function onContentPrepare($context, &$article, &$article_params)
It then goes on to check if there are any instances of {jd_file are in the article. If none exist it exits.
Best wishes
Colin
 
#86
Bugs! / back slash shold not be remove...
Last post by ColinM - 07.06.2025 21:04:04
Tom
I did mean that the backslash should not be removed so the image is shown
Colin
#87
Bugs! / Re: Components > jDownloads > ...
Last post by Tom68 - 07.06.2025 17:30:46
Colin,

Actually, here it is just the other way round. With the backslash the character is intepreted and the files-lines symbol is displayed. Without the backslash only the code f15c is displayed. You can easily verify this, with a website with corresponding css code and a browser.

Regards
Tom
#88
Bugs! / font awesome
Last post by ColinM - 07.06.2025 16:51:46
Tom
My understanding of the backslash character is that the characters following the backslash, up to a space character, are to be shown explicitly and not interpreted. So in your case you wanted to see F15C in the text shown on the screen
Please let me know
 
Colin
#89
Bugs! / Re: admin/src/View/Cssedit/Htm...
Last post by Tom68 - 07.06.2025 16:11:54
Supplement:

The COM_JDOWNLOADS_BACKEND_EDIT_LANG_CSS_FILE_WRITABLE_INFO notes in the following 2 files are inconsistent and the recommended file permissions are incorrect.

admin/language/en-GB/en-GB.com_jdownloads.ini
QuoteCOM_JDOWNLOADS_BACKEND_EDIT_LANG_CSS_FILE_WRITABLE_INFO="In order to save new settings, the file must be writable. You have to change the access rights of the file to 'CHMOD 0755'. See FAQ on setting file access rights."

admin/language/de-DE/de-DE.com_jdownloads.ini
QuoteCOM_JDOWNLOADS_BACKEND_EDIT_LANG_CSS_FILE_WRITABLE_INFO="Um Änderungen an der Datei speichern zu können, muss diese beschreibbar sein. Ändern Sie mit einem FTP-Programm die Zugriffsrechte für diese Datei auf CHMOD 0766."

Rather than 0755 (-rwxr-xr-x) or 0766 (-rwxrw-rw), 0644 (-rw-r--r--) should be sufficient for a css file.

Regards
Tom
#90
Bugs! / Re: admin/src/Table/DownloadTa...
Last post by ColinM - 07.06.2025 16:05:10
Tom
Thanks.  I am making a list of these.  The items you are finding are hangovers from very much earlier jD versions when such permissions seemed to be required.
Generally these days we concentrate on items that cause jD to fail or 'misbehave'. When we have one of these or sufficient enhancements are accumulated then a new release is made.  I suspect the Content Plugin may well turnout to be  such a case
Best wishes
Colin.