e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
318 stars 212 forks source link

Links not right if I change the language #5282

Open fizi opened 1 week ago

fizi commented 1 week ago

What e107 version are you using?

Latest Github version (just updated)

Bug description

Example: Main link: News - news.php. English: news.php?elan=en I change lang tu HU - news.php?elan=hu

Main link: Contact - contact.php English: contact.php?elan=en I change to HU - contact.php?elan=hu

Main link: users - user.php English: user.php?elan=en# (not registered members) I change the language: user.php?elan=hu (not registered members)

The caption and breadcrumb not right.

How to reproduce

Change language.

Expected behavior

Samething wrong with language change.

What browser(s) are you seeing the problem on?

Firefox

PHP Version

7.4

tgtje commented 4 days ago

@fizi after some testing> question: i can confirm behaviour (php 8.+) but only with BS 5. Is this the same for you ? Either with userlanguage(menu) or elan use.

Extra : enable admin menu... when { CAPTION / Breadcrumb .... } is displayed (guessing HU use) > is the admin menu for admin area links > shortcut use; disabled??

It looks like when EN is main site language, other language throws issues.

fizi commented 4 days ago

I use bootstrap 5 and elan (not with menu).