将路径字段添加到 CCK 内容类型
我完全一片空白。
我希望内容类型具有路径字段,因此我可以将其路径从 node/n 别名为 /foo。
我似乎不记得该怎么做。当我进入“内容”>“内容类型”>“编辑 My_Content_Type”时,路径字段显示为灰色,并且在查看内容类型的实例时不会显示。
我确保路径模块具有正确的权限,但不行。
创建或编辑自定义内容类型时如何显示“路径”字段?
I am completely blanking-out.
I want a content type to have the path field, so I can alias its path from node/n to /foo.
I can't seem to remember how to do this. When I go into Content>Content Types>Edit My_Content_Type, the path field is greyed out and doesn't display when I view an instance of the content type.
I made sure paths module had the correct permissions, but no-go.
How do I get the 'path' field to show up when creating or editing a custom content type?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Path 不是 CCK 字段,它是它自己的系统,即使在 D7 中也是如此。它仅用于路径别名,因此通常不会显示在节点中。
正如 Nikit 所建议的,pathauto 可能会导致该框变灰。另外我想你应该确保路径模块已打开。
Path is not a CCK field, it is it's own system, even in D7. It is used just for path aliases so won't, usually, be displayed in a node.
As Nikit suggests, pathauto may cause the box to be grayed out. Also I suppose you should make sure the path module is turned on.