Drupal 7 术语路径在哪里? [英] Where is Drupal 7 termpath?

查看:23
本文介绍了Drupal 7 术语路径在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 Drupal 6 中使用 pathauto 和 token 模块允许您使用如下模式创建 url 别名:[termpath-raw]/[title-raw].

Using the pathauto and token module in Drupal 6 allowed you to create url aliases using a pattern like so: [termpath-raw]/[title-raw].

然而,在 Drupal 7 中情况并非如此.我知道 D7 仍处于 alpha 阶段,但 beta 看起来很快就会出现,而且它比 D6 IMO 好得多.

However, this is not the case in Drupal 7. I understand that D7 is still in alpha, but the beta looks to be here pretty soon and it is soooo much nicer that D6 IMO.

这个功能还没有吗?

推荐答案

在 Drupal 7 中,path 这个词的意思非常具体,显然与 termpath 不同将参考,并且看起来尚未采取任何措施来替换 [*path] 标记(尽管这是一个已知问题):BIKESHED:术语或菜单项的整个树/层次结构的标记.

In Drupal 7, the word path means something very specific, and apparently something different than what termpath would refer to, and it doesn't look like there's any been action taken to replace the [*path] tokens just yet (although it's a known issue): BIKESHED: Token for a term or menu item's entire tree/hierarchy.

它看起来也不会成为核心,并将成为 contrib Token 的一部分,甚至 #D7CX 承诺的项目也必须在最终发布之前完成他们的 Drupal 7 移植,这可能接近于年底.

It also looks like it's not going to make it into core, and will stay a part of contrib Token, and even #D7CX-pledged projects have until final release to complete their Drupal 7 ports, which could feasibly be close to the end of the year.

这篇关于Drupal 7 术语路径在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆