drupal - How do I make a template file for a specific display in a view when I have multiple displays of the same type -



drupal - How do I make a template file for a specific display in a view when I have multiple displays of the same type -

i have view using articles on front end page (view called frontpage top).

in 1 block display (named: top story) selects recent article. in other block display (named: top 5 stories) selects 2nd-6th recent.

i need create template single top story, , display other 5.

this template: views-view--frontpage-top.tpl.php works, it's beingness used both blocks.

the way know how multiple views, these closely related i'd maintain them in one. possible, , if filename like?

it doesn't seem documented in views2 ( http://drupal.org/node/352970 ) , ( drupal: views, can displays have different styles view? ) close not same.

if "right" way create multiple views ok that, cannot find resource saying , i'd prefer not if don't have to.

thanks!

each display can themed independently another. in views admin, go display want customize , click on "theme: information". show possible templates , naming options have. see image below:

if see in image above, can create template specific displays in view. example, of displays in view page displays. style "business cards" display (the 2nd display), utilize "views-view-grid--vendors--page-2.tpl.php" alter style output. page-2 specifies want template handle 2nd page display in view.

if need more information, take @ views 2 theming documentation

drupal drupal-6 drupal-views drupal-blocks

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -