开发者

Drupal 6: View module generates div mess :/

I created some blocks with View Module. View Module really makes things easy! but it puts so many divs, class-names, etc... to output. and it mess up for some cases. example below:

alt text http://img.skitch.com/20100630-kh7rtfgj987c3dieibxu7wdxyd.jpg

How can I get a CLEAN output from view? without any div, span...

开发者_运维问答

Appreciate helps! thanks a lot!


You can write your own theme files for the views to over ride the default output. If you click on 'theme information' in your views admin it will show you the candidate template files used.

However having a lot of divs won't hurt necessarily, so approach re theming with caution.


You can also try Semantic Views.


Try Style=unformatted in the basic settings (as opposed to Grid or Table or Panel etc).

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜