-1

好的,我会尝试解释得更好一些。

我创建了一个视图来在主页上显示 3 个特定内容类型的项目。

当我单击每条内容时,它会将我带到实际内容,例如 node22。

我需要能够更改此设置,因此当单击主页上的内容时,它会转到我已经设置的特定 URL 别名,例如联系我们页面。

知道我需要什么来实现这一目标吗?

4

1 回答 1

0

We really need more info on your view to answer this but here are some thoughts.

If your display type is content the title automatically links to the node page so I will assume this is not what your issue is.

If you are using fields view just select the checkbox that says: "Link this field to the original piece of content". It is available in most "node" fields such as nid and title.

From above your example is how to "link node 49 to education page" You may be just needing the path module for that. Enable the core path module and then visit the node page you want to set a custom url for. Their should be a tab called "URL Path Settings" at the bottom of the page. Spice those up a bit more by downloading and installing the path auto module and the node url wil automatically be set when you create it.

于 2012-09-15T16:43:36.873 回答