Drupal 6 Block Theming -


i may barking wrong tree but...

i've got section of content website list of several blog articles design implements shows first 5 rows having image, title & teaser , following 10 items showing title.

this doesn't seem uncommon design and, me, should single block view of 15 items conditional statement in appropriate .tpl.php file determine how each item should displayed.

i've tried few variations of overridding style output (block) & row style output (fields) i'm not managed figure out how this?

does know how or can point me in different direction resolve this?

views should adding classes such views-row-1, views-row-2 able change styling via css.

if that's not enough, if using fields, want @ overriding row style output - default file views-view-fields.tpl.php, can change views-view-fields--viewid.tpl.php

(you may need check views ui basic settings > themes find right ones, it's kind of fussy.)

if in preprocess function iterates on rows , creates html output, add custom logic there , tpl omit fields see fit.


Popular posts from this blog

How to calculate SNR of signals in MATLAB? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -