A view type that outputs fields as they are. No list format, no table format--nothing. Multiple fields just appear next to each other with nothing in between. Similar to the "one panel" panel for panels.module, this simple view type is ideal for creating views output with minimal markup.
Use case example:
An "About the author" views block view that only outputs one field, which is a paragraph of text taken from the owner's nodeprofile node (where ownership is determined by passing a views argument in the url).
Normally in order to accomplish this you would have to write some <?php inside of a block block. Thanks to views filters, arguments, and field selection, only a limited knowledge of PHP is necessary to create the same block as a views block, instead.
(see attached)
Hope this helps! :)
| Comment | File | Size | Author |
|---|---|---|---|
| views_bonus_glob.patch | 1.3 KB | ms2011 |
Comments
Comment #1
dmitrig01 commentedCool
I like everything but the name ;).
Can we think of something better?
Comment #2
dmitrig01 commentedComment #3
ugerhard commented"Plain view" maybe?
Comment #4
ms2011 commentedBare view.
Comment #5
michelleNekkid fields :)
Nice idea for a view. I do somethig similar but with a single space between fields.
Michelle
Comment #6
sun+1 for "plain"
Comment #7
dmitrig01 commentedCommitted as Plain view.
Comment #8
dmitrig01 commentedahem
Comment #9
Coyote commentedI've installed this. It appears to do nothing, and offer no additional options. Nothing appears under view types. Nothing appears under field formatting options.
How is this meant to be used?
Comment #10
devink commentedHi,
this sounds great. I have a random quote for my front page, and this would do just the job.
One thing...can you please tell me how to convert your patch to a working feature. I created it as a module file within the views folder, removeing the "+"s and starting at the PHP code, but with no luck.
Thanks in advance!
Steve V
[EDIT] My bad, I needed to create the .info file also. Now I need to test this, and see how I create a tpl.php file of the correct name.
Comment #11
michelleRestoring title.
Michelle
Comment #12
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #13
ano1 commentedDid you ever get this figured out? I too would like to use this module.
Comment #14
ugerhard commented#13: The plain view is included in Views Bonus Pack 5.x-1.2-alpha2.
Comment #15
open-keywords commentedWell, since the files of the module are still named "bare*" this module is never made available
See http://drupal.org/node/316134
I figured out your preference for "Plain" afterwards....
PS: the .info file also would need to be updated