Theming Views and Semantic Views
Here we’ll take a look at Views’ powerful templating system and discuss how you can clean up the underlying markup, generate dynamic IDs and classes or even alter the output.
EDIT: Benjamin Doherty (bangpound) and I are now co-presenting and he will discuss his Semantic Views module after.
Hans and I have talked about merging my Semantic Views session into this one. My session would have been very thin if spread out to be 45 minutes, so he wants to expand this to 1 hour and include me. The original session proposal for “Semantic Views cures DIVitis” is:
Semantic Views is a contributed module that changes the paradigm for theming Views 2 output. Views outputs div and span tags around all field output by default, and the only way to override this has been to override templates, often the most complex templates with foreach loops and conditions. Semantic Views lets you specify (or exclude) the HTML element and class attributes for your field output and row output. This session will demonstrate Semantic Views and explain how Semantic Views can slim your HTML output without creating more templates.
Comments
Post new comment