Latestposts URL not localised
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- javascript
- 领域
- localization, web-dev
调研方向
从最新的 latestPosts post.html 模板开始,检查 [post:parenturl] 如何构建精选文章链接。使用 DNN 9.2.2、Blog 6.4.1,以法语为默认语言、德语为附加语言,并包括 shared 和 detached 模式,重现该问题。当精选文章链接使用本地化的父博客 URL,而不是默认语言别名时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
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,
- 主要语言
- JavaScript
- 星标
- 39
- 派生
- 41
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
DNNCommunity/DNN.Blog 的其他 Issue
-
enhancement
难度 3/5 1-2 天 新手友好度 45/100
DNNCommunity/DNN.Blog#223 ·
-
难度 3/5 1-2 天 新手友好度 35/100
DNNCommunity/DNN.Blog#222 ·
-
bug
难度 4/5 3-5 天 新手友好度 25/100
DNNCommunity/DNN.Blog#208 · 2 条评论 ·
-
enhancement
难度 5/5 一周以上 新手友好度 20/100
DNNCommunity/DNN.Blog#207 ·
-
enhancement
难度 4/5 3-5 天 新手友好度 35/100
DNNCommunity/DNN.Blog#205 ·
查看 DNNCommunity/DNN.Blog 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
openlibhums/janeway#5604 ·
维护者通常 1 天内回复
-
[BUG] Generic OSC does not initialize OSC client on startup when "Listen for Feedback" is disabled未关闭
难度 2/5 1-3 小时 新手友好度 86/100
-
area/statement-execution TS conversion
难度 2/5 1-3 小时 新手友好度 76/100
scylladb/nodejs-rs-driver#584 ·
维护者通常 2 天内回复
-
documentation good first issue help wanted
难度 1/5 1-3 小时 新手友好度 92/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 69/100
维护者通常 3 天内回复