Complete newbie: custom views?
Hello,
I'm very new to Drupal. Also somewhat ashamed of asking this, but I've spent a couple of hours of analyzing the Views module page, and the Sites->All-Modules->Views and I can't figure out this.
Let me explain this as simply as I can:
The view is already set up: it is provided as a block, and its view type is "List View".
The table right now consists of two columns -- each column is distinguished by "product type" (for simplicity's sake, let's say our products are pants.)
Undear each column/section/pants/whateveryouwantocallit, there is a list of clients who use this product, and a link to a PDF that shows this installation.
So our table would roughly look like:
Frilly Jeans Denim Jeans
-John Doe in Texas - Joe Blow in Vermont
- Jane Doe in Michigan - Jane Moe in Georgia
If I add another "column", really weird stuff happens. It's hard to describe but newer columns are added on the right hand side in a jumbled order.
So, simply put, this is what I'd like to see in my table:
Frilly Jeans
-John Doe in Texas
- Jane Doe in Michigan
Denim Jeans
- Joe Blow in Vermont
- Jane Moe in Georgia
Skinny Jeans
- Hurk Bazoing
- Foo Bar
Does that make sense?
How can I change "List View" to do what I want it to do?
I would not be offended at all if you just pointed me to a tutorial. I'm very new to all this, and I feel like I'm not even asking the right questions.

Links to official Views issues queue, online documentation
FYI there is an official issues queue for the Views module and I think you would probably get more help there (file under "Support Request").
You might also take a look at the built-in documentation (automatically installed and uses the Advanced Help module). The link to that is located on your site's
admin/build/viewspage, and would point to something likehttp://www.examplesite.com/help/views/getting-started._
Its really hard to provide assistance with views with so little detail, but if i understand you correctly, you want to use a style of 'html list' and set the 'grouping field' to be whatever the field is that has the frilly/denim/skinny info.
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
Thank you both
>FYI there is an official issues queue for the Views module
I appreciate that, but I don't know what I'm talking about -- I'm not about to tell someone their code is broken when I haven't got a clue how it's supposed to work :)
>You might also take a look at the built-in documentation
I may not have the advanced help module installed. I've had a look at this: http://drupal.org/node/109604
... and it frankly wasn't much help.
>you want to use a style of 'html list' and set the 'grouping field' to be whatever the field is that has the frilly/denim/skinny info
http://img26.imageshack.us/i/viewsclient.png/
Do I need to create 'html list' or am I looking in the wrong place?
By the way: thank you both very kindly.
11:05.
... having had a look at
... having had a look at WorldFallz's Help Vampire link, I feel a bit guilty, so let me post as much as I can about what I've done so far.
Maybe it'll help someone help me, maybe it'll help me keep track of what I've done, and maybe it'll help someone in the future.
String-searched the views module directory for "List View" ... found 3 entries.
Found the views_views_style_plugins function in views.module ... which obviously returns the different types of style plugins?
Searched for the function itself ... no one calls it. Yet another drupal mystery -- functions no one calls.
Searched for "views_ui_plugin_validate_list" ... found "views_ui_plugin_validate_table".
Searched for "views_ui_plugin_validate_table" found views.module:1841 call .. dead end, back to where I started.
Feels like I'm trying to modify core functionality, and that's a tad retarded. Let me look into documentation some more.
Edit: Hooo! I think I'm onto something:
http://dev.[site].com/admin/help#views_ui
Reading through that link. I think that's what the other fellow might have been talking about with Advanced Help.
Edit2: I've read: http://dev.[site].com/en/admin/help/views_ui
... and it's not much help. Bah, I feel like I'm asking the wrong question here.
Edit3: Site is running Drupal5 ... tpl files (whatever they are) work in Drupal 6 only?
I'm looking at the Theme Wizard tab in Views (I could have *sworn* it wasn't there 10 mnutes ago ... I did enable and disable it in the modules page).
Not sure which one of the options is what I want. Still looking into all this.
11:05.
_
You've not crossed over into help vampire land, lol-- but it's amazing how that link tends to motivate people ;-).
I should have been a little more specific. The "html list" is one of the options of the 'style' item in the basic settings box of any view. When you select that style you'll also be presented with a drop down list of all the fields in the view from which to select the 'group by' field.
Sorry, I don't have access to imageshack due to my firewall at the moment, so I have no clue what's in your screentshot.
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
... I don't think we're on
... I don't think we're on the same page :(
When I go to Administer->Site Building->Views, I'm presented with a list of all the views.
If I click on Edit beside a particular view, I'm presented with a page of settings for that view. The major categories on that page are: Basic Information, Page, Block, Fields, Arguments, Filters, Exposed Filters, Sort Criteria, and Meta Tags.
11:05.
_
Yep-- and in the basic settings box is an option for "Style"...
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
In the section "Basic
In the section "Basic Information", I see the following fields:
Name -- The unique identifier of the view; it is only important for overridden views and views that modules or themes will need to use. Only alphanumeric and _ allowed here
Access -- Admin, anoymous user, authenticated user
Description -- A description of the view for the admin list.
I've had a look through the other sections -- there's no mention of style. I even did a search for the word style -- no there. The closest thing I have is a drop-down box in the Block section called "View Type" and its options are "Full Nodes, Teaser List, Table View, List View, Date: Date Browser, View RSS: RSS Feed."
Is it possible that I've an outdated version of views?
I've had a look at Modules installed, and under the "Views" section, this is what I see:
- Content Taxonomy Views 5.x-1.x-dev
- Views 5.x-1.6-beta5
- Views RSS 5.x-1.6-beta5
- Views Theme Wizard 5.x-1.6-beta5
- Views UI 5.x-1.6-beta5
11:05.
_
holy hand grenades batman-- I didn't catch your d5 tag. MY BAD! Sorry about that-- everything I said was for d6. I have no clue how to do this for d5, or if it's even possible. :-(
_
Don't be a Help Vampire - read and abide the forum guidelines.
If you find my assistance useful, please pay it forward to your fellow drupalers.
Haha, I suspected as much. Ah
Haha, I suspected as much.
Ah well, back to google.
Thanks for your help anyways.
11:05.