DNNCommunity / DNNCommunity/DNN.Blog

Latestposts URL not localised

Open
#148 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
39
Forks
41
PR merge metrics
No merged PRs in 30d

Description

The latestPosts template post.html does not work properly with localization. Although the title of the featured post is correct ( [post:localizedtitle]) the link is not and it points to its matching post on the default language. I believe [post:parenturl] fails to use the localized parent blog.
Is there a fix or a better token to be used?

I have observed this behavior since 2015 at least, all versions since then. Now I am on DNN 9.2.2 and blog module 6.4.1. I am using the latestPosts[system].
Using the native localisation with default French and additional German.
The latestPosts module is setup as "shared", but in detached mode it shows the same behaviour. As friendly URL I am using Sacha's openurlprovider 1.4.3 with its blog extension 1.0. Is there a better way of doing that? Even without the blog extension the ~home directory is the wrong alias (/fr instead of /de in my case).
I can provide ftp and host access to the website if needed.
Let me know if you need anything else, please.
Best,

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.