开发者

Customize link for add content

When I have a custom node type and I want to create a page, can the link be something other than what Drupal automatically assigns?

i.e. Currently to add a node-type it is: www.example.com/node/add/node-type

but can it be customized to just www.example.c开发者_如何学编程om/node-type ?


You can use the path module, which is a part of Drupal core, to create a path alias. This will change the appearance of the url in the browser, but internally it will stay the same. You can find the settings at admin/build/path

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜