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

Umlaute in jDownloads Latest Module

Started by Florian, 18.01.2024 01:02:23

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Florian

Hi,

and another one:

If I enable display of Categories in jDownloads Latest Module those categories will display without German Umlaute. Seems to be an UTF-8 encoding issue.
Happy Coding with Joomla and jDownloads
  •  

Arno

Hi,
as you can see here on the demo installation, I cannot reproduce your problem.

Please send me a link via PM.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

Florian

Hi Arno,

that is odd. I have a category named Schaltpläne and in JD Latest it is seen as "Schaltpl ne". But I also see your demo site where it works.

I will send you a link via PM

Best regards, Florian.
Happy Coding with Joomla and jDownloads
  •  

Florian

Hi Arno,

did you receive my PM ? I cannot see what I sent to you in my Sent folder here. I add a screenshot directly. Category name is Schaltpläne .

Happy Coding with Joomla and jDownloads
  •  

Arno

Quote from: Florian on 18.01.2024 19:47:23Hi Arno,

did you receive my PM ? I cannot see what I sent to you in my Sent folder here. I add a screenshot directly. Category name is Schaltpläne .

No, I have no PM received.

Could you please export your jDownloads settings (see Tools menu) and attach them in a PM?
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

Florian

Okay sent with options to you.

Thanks for your support.
Happy Coding with Joomla and jDownloads
  •  

Florian

Hi Arno,

I think I get closer. I just checked how this "Schaltpläne" folder is stored in my website. And it is named folder "/jdownloads/Schaltpl ne". For sure I created it in a previous jD version.

Looking at table __jdownloads_categories I believe that you use field cat_dir instead of title for display in jD Latest.
Happy Coding with Joomla and jDownloads
  •  

Florian

Hi Arno,

your new coding helper has found it in line 67 of modules/mod_jdownloads_latest/tmpl/default.php

change it to

                            $cat_show_text2 = $files[$i]->category_title;

and it will correctly display the title and not the directory.
Happy Coding with Joomla and jDownloads
  •  

Florian

BTW: This is also valid for line for categories with parent category

   $cat_show_text2 = $files[$i]->category_cat_dir_parent.'/'.$files[$i]->category_cat_dir;

It should be title of category and title of parent category .
Happy Coding with Joomla and jDownloads
  •  
    The following users thanked this post: Arno

Arno

#9
Hi Florian,
OK. But of course I wonder why I chose this variant at the time. Of course, it could just have been a mistake.

As you wrote, you created this category a long time ago with an old version (and possibly different settings). Presumably the entry was created incorrectly, so it can no longer be reproduced with the current version.

I will change it accordingly.

Edit: This passage needs to be corrected for almost every module. But a little more needs to be changed than just this line.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  
    The following users thanked this post: Florian

Florian

Hi Arno,

I am sorry and I understand the confusion why I would see the error and you wouldn't as today there is no discrepancy between title and folder name. You should have made it one and not two fields from the beginning.

Whatever, thanks for caring.
Happy Coding with Joomla and jDownloads
  •