Closed (fixed)
Project:
Views Bonus Pack
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 Apr 2008 at 20:16 UTC
Updated:
3 Nov 2009 at 17:05 UTC
This adds 2 new views styles - the first is to have the first node as a teaser, and the rest as a list - i.e.
First node title
- First node body, blah blah blah* Second node title
* Third node title
* Fourth node title
The other is similar, but has the first node as the full node, and the rest as teasers. I left the module as a fairly generic 'style' module, because these are both pretty simple, and it seems like they could share a module with some other style plugins.
| Comment | File | Size | Author |
|---|---|---|---|
| views_bonus_style_0.patch | 2.27 KB | owen barton |
Comments
Comment #1
owen barton commentedBTW thanks to Doug Green for writing this up initially :)
Comment #2
dmitrig01 commentedI almost comitted these when I realized that the name views_bonus_style is too general. Can you think of anything else? views_bonus_different_top?
Comment #3
wim leersMy only code remark is that the comments need punctuation.
As for a name… maybe views_bonus_special_top?
Comment #4
owen barton commentedNot sure about the name - we could potentially have quite a few views_style plugins - is there any reason they can't share a module? It seems likely lower overhead to have a little unused cruft in a still small module than have a dozen new tiny modules each with very similar things.
Anyway - I don't care much either way, but I think it's worth considering.
Comment #5
wim leersThe Drupal 5 version of this module is no longer maintained.