Hey there.
I got a problem with my language settings and tag filtering. Both is working fine alone but ones I set the language from defalut(“de”) to “en” the tag filter is not working.
I think, i already see the solution: The url is not getting the language code into when is filter for a tag.
Example
i am on the subsite: /Arbeiten
I change the language from “de” to “en”: /en/Projects
than i use a tag filter(in this case: “Campain”) that is already translated in the txt files: /Arbeiten/tag:Campaign
So somehow I guess i have to say, if the language is set, use the /en path – But how do i do that?
Here is the code from the menu, where I set the tags and language:
Mh. I build the site from the Starterkit and proceded for both, mulitlanguage and tag filtering as required.
You think of some partes of the code that could help you understand what is going on?
I put some varibels in the site.php controller… got no more ideas, what went wrong.
Yep. Now it works. Thank you very much!
I downloaded it a while ago…
I have a little sugestion: It would be easyer to see what version we are in, if it would been written somewhere. For example in the name of the kirbyfolder. (kirby_3.0.0)
I saw just saw, how to get this info – but it is not very handy, don’t you think?
You can see the Kirby version in the Panel, on the Setttings page. Also, you can get the Kirby version via echo $kirby->version(). You can also find it in the composer.json file.
I didn’t expect you to use such an outdated version, so it took me a while to find out that is was not something in your code… Anfängerfehler, even after so many years in support
Oh, by the way, your .htaccess is not in line with the current version either.