BDUG Monthly Meeting: Drupal Questions & Answers, 3/18/2013

Events happening in the community are now at Drupal community events on www.drupal.org.
cboyden's picture
Start: 
2013-03-18 12:00 - 13:30 America/Los_Angeles
Organizers: 
Event type: 
User group meeting

For the next BDUG we are going to continue in the Questions and Answers format. Please note, we are on the third Monday this month as the fourth Monday occurs during UCB's Spring Recess.

Here's how it works:

Got a problem with a site? Or is there a Drupal solution (like Text Formats? Views? Panels? ...other?) that you think could serve a need on your site, but which you can't get to work or don't know how to use? Or do you have a miscellaneous question (or solution!) that you think would be of interest to others? If so:

  1. Reply to this post and include a concise, detailed description of your question/issue. (If you'd prefer to reply privately, you can email me directly--if you don't have my email use my contact form http://drupal.org/user/657902/contact.)

  2. If it's useful, you can hook up your laptop to the overhead at the meeting to demonstrate your problem/issue.

  3. If you have a problem with a site, it's better if you can demonstrate the problem on a development version of the site.

Your question/issue is more likely to be selected for discussion if
- it is submitted promptly
- it is a focused question
- it is at the beginner to intermediate level

We will post an agenda with descriptions of the issues to be covered. We can't guarantee that we will be able to thoroughly answer your question or solve your problem at the meeting, but at the very least you can hope to leave with new ideas about an answer or resolution. Depending on the number of questions, we will need to limit how much time we spend on each one as a group.

Berkeley Drupal Users Group: Monday 3/18/13 12-1:30pm
WHERE: UC Berkeley Campus: Barrows Hall 60 (basement room)
MAP: http://groups.drupal.org/berkeley/map

See you there!

Comments

Creating a menu from entity reference relationships

quinnanya's picture

I'm working on a site with thousands of pages, but they're mostly grouped hierarchically (into various kinds of publications, and each type of publication has multiple issues, and issues are structured in a predictable way). We're using Entity References (http://drupal.org/project/entityreference) to assign parent and/or child pages.

Navigation is mostly accomplished via a gigantic cumbersome menu, with some support from Menu blocks (http://drupal.org/project/menu_block). The menu data has gotten corrupted before, and we're interested in trying to use Views + data from entity references to create a menu replacement, at least for the contents of each issue of a publication. Where we're running into problems is with the contextual filter-- we want to be able to tell it to pull the node ID from the entity reference field that identifies the parent page for the issue, but the only relevant options seem to be "node ID from URL" (not good, when you're on a child page of the issue), or "fixed value" (where we could just put the node ID for the issue's parent page, but we don't want to create this view manually for each issue). Is there a way to assign a contextual filter based on an entity reference field value?

How many levels to display?

cboyden's picture

Interesting question! How many - and which - levels of hierarchy do you need to display? For example, let's say you have a three-level hierarchy: Publication -> Issue -> Article. Is this block supposed to show siblings (i.e. on an Article page, you see a list of all the other Articles in this Issue), or children (i.e. on an Issue page, you see a list of all the Articles), or a combination?

Can you bring a laptop and have a test version of your site available to look at on Monday?

Agenda

cboyden's picture

Here's what we're planning to cover at Monday's meeting:

  1. Entity view modes in Drupal 7. Mini-demo of core features and the contrib Entity View Mode.

View modes are a way to control display of your content in different contexts without adding template files. Several view modes are built in to core. You can also create your own with the Entity View Mode module, with Display Suite, or with custom module code.

  1. Form and data basics. Mini-demo of the contrib Webform module.

Create and manage forms. View results. Export for analysis.

  1. Entity references for complex menu needs. See question above.

  2. Additional questions and discussion.

Berkeley

Group categories

Event Types

Highlights

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: