表达式引擎:在链接中使用类别 URL 标题 - 是/类别 URL 指示器

发布于 2025-01-03 14:17:20 字数 81 浏览 3 评论 0原文

我刚刚开始在表达式引擎中使用“在链接中使用类别 URL 标题”并定义了“类别 URL 指示器”,如何指定类别页面使用哪个模板,还是必须转到索引页面?

I have just started using "Use Category URL Titles In Links" in Expression Engine and defined my "Category URL Indicator" how do I specify which template a category page uses though or does it have to go to the index page?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

葮薆情 2025-01-10 14:17:20

我从表达式引擎论坛得到了这个答案:

EE 的类别 URL 为 /templategroup/template/category/category_url_title/ - 用于显示该类别中所有条目的多条目页面。一旦您单击某个条目进入“单视图”模板,该类别就不再出现在 URL 中(但您可以将其显示在页面上)。

I got this answer off the Expression Engine forum:

EE’s category URLs are /templategroup/template/category/category_url_title/ - for a multi-entry page that displays all the entries in that category. Once you click an entry to go to a “single-view” template the category is no longer in the URL (but you can display it on the page).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文