简体   繁体   English

Drupal 7-当用户编辑节点时,如何向用户隐藏节点ID?

[英]Drupal 7 - How do I hide the node id from the users when they are editing their nodes?

Drupal 7 - I want to hide the node id from the users when they are editing their nodes. Drupal 7-我想在用户编辑节点时向用户隐藏节点ID。 Is there any module available to achieve this? 有没有可用的模块来实现这一目标?

You can use Pathauto module . 您可以使用Pathauto模块 According to its description: 根据其描述:

The Pathauto module automatically generates URL/path aliases for various kinds of content (nodes, taxonomy terms, users) without requiring the user to manually specify the path alias. Pathauto模块自动为各种内容(节点,分类法术语,用户)生成URL /路径别名,而无需用户手动指定路径别名。 This allows you to have URL aliases like /category/my-node-title instead of /node/123 . 这使您可以使用/ category / my-node-title之类的 URL别名,而不是/ node / 123 The aliases are based upon a "pattern" system that uses tokens which the administrator can change. 别名基于使用管理员可以更改的令牌的“模式”系统。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 PHP和Drupal:在Drupal中使用php时,如何隐藏/显示我的链接? - Php and Drupal: how do I hide/display my link when needed using php within Drupal? 使用EntityReference,如何创建一个Drupal块来显示哪些节点引用了当前节点? - Using EntityReference, how do I create a Drupal block that shows which nodes reference the current node? 如何从Drupal中的视图访问节点信息 - How do I access node information from a view in Drupal 如何在Drupal中的Cron作业中创建节点? - How do I create a node from a cron job in drupal? drupal:如何为每个节点设置单独的编辑模板文件? - drupal : How to set separate editing template files for each nodes? 如何覆盖用户在Drupal中登录的功能? - How do I override function for users login in Drupal? 编辑其他用户的评论时如何隐藏Fivestar字段? - How to hide Fivestar field when editing a comment from another user? 如何将用户ID传递给模式? - How do I pass users id to the modal? Drupal 7:如何从组件的prepocess函数中检索节点的Content Type? - Drupal 7: How do I retrieve a node's Content Type from within a component's prepocess function? 如何从视图行获取节点ID? - How do I get the node ID from a view row?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM