English 中文(简体)
• 如何与某些方面环绕 view观?
原标题:How to surround a Drupal view with some tags?

请允许我说,我的看法是,一些项目已经返回。 我想在一份无序的清单上显示这些物品,因此,我把实地产出改写为<代码><li>[field]</li>。 现在我只需要用<代码><ul>and </ul>tags来补充意见。

然而,当我把这些标签作为“完全的超文本”添加到头角和脚步地区时,它们正被一个<条码>d<>d<>。 同样:

<div class="view-header">
    <ul>
</div>

而UL tag却被一些Browsers /jQuery版本忽视,从而打败了这一目的。

如何通过<代码>div,围绕<ul>?

最佳回答

为了你的具体需求,你可以避免压倒一切的模板和调整意见,直接使用“的“风格”的“超文本”清单,并附上“无序名单”。 (关于意见配置页,基本背景......)。

问题回答

回答是<代码>views-view.tpl.php。 因此,它不制作<条码>div,而只生成<条码>。 Alright. 现在我只需要找到一个模板,用于<代码>views-view-fields.tpl.phpto。 这一点也是压倒一切的。





相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签