开发者

how to put the node:link token in the html a label?

i have installed the views and token module. i add a views field 'Node:Link' and check the 'exclude from display' option for the 'node:link' field and set the field first in the field order,now i want to overrite a views field.

i put this <a href="[view_node]"> more >> </a> in the rewrite the output of this field text box. but it can't work? [view_node] is the开发者_如何学编程 Node:Link token, how to make the more>> link ok? thank you


In the Node:Link field, enter more in Text to display: text box.

No need to put anchor tag just type [view_node] in the rewrite the output of this field text box.


Views has a built in way to make text link to other pages with tokens. I would use that instead of putting the anchor tag in the rewrite section. It's titled, "Output this field as a link"

If you're on Drupal 6 and you just want to link the field to it's node then just check the box "Link this field to it's node"

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜