Posted by kristen pol on October 22, 2011 at 9:13pm
Start:
2011-11-01 19:00 - 21:00 America/Los_Angeles Organizers:
Event type:
User group meeting
For our November Santa Cruz Drupal user group meeting (Nov 1st), we will go around the room and discuss some of our favorite BADCamp sessions. Come armed with slides and notes. In addition, I can go over the responsive web design training slides/steps.
Kristen

Comments
Responsive slides
These slides are from the session I didn't get to but it cover some of the same training material:
http://www.slideshare.net/rupl/responsive-drupal-beyond-the-media-query
Kristen
Contact: https://www.hook42.com/contact
Drupal 7 Multilingual Sites: http://www.kristen.org/book
Re: Views within a view
If anyone is interested in my question last night, here is a summary of how I solved it:
Problem: I want to build a page that lists all of the terms in a vocabulary, and beneath each term, I want to list all of the nodes of a particular type with that term. This is to emulate the current FAQ page on the current site that I'm replacing. So, it should look like:
General FAQs <--- a taxonomy term
..General Question 1? }____a view mode to a node
..General Answer 1... }
..General Question 2?
..General Answer 2.
..General Question 3?
..General Answer 3.
Specific Area 1 FAQs
..Specific Question 1?
..Specific Answer 1.
..Specific Question 2?
..Specific Answer 2.
etc.
I have built a view that creates the node listing given a term id argument and another view that builds the page with all the terms, but I could never find a way to get the former to display under each result of the latter. I tried using Panels and I tried using Display Suite and I tried using Views Aggregation (which was my first thought), but I could never get it to work.
Finally, I installed the Views PHP module, which allows one to write a snippet of PHP to supply the output of a field in a view. After a bit of dinking around, I added this code to a Global PHP field in my page display:
<?phpprint views_page('faq','default',$row->tid);
?>
(Note: the machine name that Views creates for your view may not be very close to the human readable name; in my case, the human readable name is 'FAQ group term listing', but Views chose 'faq' for it. 'default' chooses the Master display, and $row->tid is the term id of the term for which I wanted the node listing; this is an argument ("contextual reference") to my FAQ group term listing view.)
--Darryl Richman
http://darryl.crafty-fox.com
Hi Darryl, I was thinking of
Hi Darryl, I was thinking of another way to do this with just Views. Modify your node listing view to add a taxonomy term field to your fields and exclude it from display, then change the view style to Table and in the table style settings use the taxonomy term as the grouping field. This should work if your view looks ok in a table style. Thanks for sharing your solution, I didn't know about Views PHP.
Julia
This is exactly the solution Julia offered at the meeting... great minds think alike!
:)Kristen
Contact: https://www.hook42.com/contact
Drupal 7 Multilingual Sites: http://www.kristen.org/book
Addendum
You know, I couldn't make this work. Somehow, although I've used grouping with Views before, I couldn't remember or find where the option was located in the Views UI. But your reply gave me the clue -- Group By is only an option for Tables and Grids, but I had been working with Unformatted lists.
(I finally figured this out a couple weeks ago, but I've been out of town.)
Happy Thanksgiving, everyone!
--Darryl Richman
http://darryl.crafty-fox.com
I'm not sure the grouping
I'm not sure the grouping field cares whether it's in a list or not, but I have been using semantic views recently where you can specify the containing element a little better, so this might be the difference.
In any case, glad you got what you needed!
-- Julia v.
http://www.pfvdw.com