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

查看:137
本文介绍了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] 令牌(虽然这是一个已知的问题): 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令牌,甚至#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天全站免登陆