drupal视图模块生成的文章标题列表没有标题提示
我使用视图模块生成文章标题列表,当我将鼠标悬停在文章标题上时。三个不是节点标题的提示。 html代码是这样的
<div class="views-field-title">
<span class="field-content">
<a href="/resell.html">Resell</a>
</span>
</div>
,标签中没有标题=“”,标签
<a>
,我的视图设置是添加标题字段并选中l“将此字段链接到节点”。我说得对吗?当我将鼠标悬停在文章标题上时,如何使节点标题提示显示。
drupal版本是6,views模块版本是6.x-2.12
i used views module genereate an articles title list, when i put the mouse hover on the article's title .three isn't a tip of the node title. the html code is this
<div class="views-field-title">
<span class="field-content">
<a href="/resell.html">Resell</a>
</span>
</div>
there is no title= "", label in the
<a>
label,my views setting is add the title field and checked the l"ink this field to the node." am i right? how to make the node title tip show when i put the mouse hover on the article's title.
the drupal version is 6, views module version is 6.x-2.12
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用“将此字段输出为链接”并将替代文本设置为 nid,而不是“将此字段链接到节点”。要执行此操作:
或者,如果确实需要标题属性,您可以手动将其添加到模板文件中。要查看要编辑的模板,请单击基本设置页面中的主题:信息。将 tpl 名称和代码复制到活动主题目录,然后添加标题属性。
Instead of "link this field to the node" you could use "output this field as a link" and set alt text to nid. To do this:
Alternatively if the title attribute is really required you could manually add it to the template file. To see which template to edit click Theme: Information in the Basic Settings page. Copy the tpl name and code to your active themes directory and then add the title attribute.