BDUG: 2/25: Drupal Questions and Answers

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

Hello Berkeley Drupal Users,

It's time for our 2nd meeting of 2013. Next week we will try out a new meeting format: Drupal Questions and Answers. 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/164217/contact) If appropriate include:
  • Exact steps you can take to recreate the problem
  • A screen shot showing the issue (Small attachments please! Avoid TIFFs) and/or pasted error messages
  • Your version of Drupal (7.19? 6.28?), your version any of modules that are involved
  • Other useful information that occurs to you
  1. If it's useful, you can attach your laptop to the overhead at the meeting to demonstrate your problem/issue.

  2. 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 likely to be selected for discussion if
- it is submitted promptly
- it is a focused question

By early 2/25 we will select a number of questions/issues to look at together at the meeting. 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. We'll do our utmost to cover all submissions.

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

Hope to see you on Monday!

Comments

Features Override v2

niccolox's picture

I am interested to learn about the new version of Features Override. Its a complete rewrite and hopefully it works much better than v1.
http://drupal.org/project/features_override

probably by next month I'll have tested it myself

Interesting stuff!

bwood's picture

Hi Nicholas,

Yeah this is interesting and useful stuff. It's probably more of interest to people who build distributions (like you and me) than it is to someone who's running a basic site. That said, let's carve out a little time to talk about it. Could you help me out by talking about:

1) why you'd want to use it
2) what it does
3) how you use it.

If you want to do a quick demo of it let me know and we'll make time.

Thanks for the submission! Much appreciated.

Your questions are not too basic or too boring!

bwood's picture

I've gotten a few other tentative responses. I'm hearing "...this might be too basic..." or "...I'm a little embarrassed to ask this..." I think that beginner questions can still be great launching points for discussion. Also, if you want your question to be anonymous, say that in your email, and your name won't be mentioned when we discuss the issue.

Here's what I've got so far for the meeting (https://wikihub.berkeley.edu/x/UAAXB):

  • My content editors post Word/PDF forms–couldn't we use a real web based form for this stuff?
    ** BDUG: Yes! Send me one of your Word forms and let's see if we can create a quick version of it using Drupal's Webform module at the meeting.

  • I want to create a staff roster page using LDAP data
    ** Currently we manually maintain this staff roster page. Isn't there a way we could have a page that updates automatically based on LDAP data?
    ** BDUG: Yes! This actually isn't too hard using the LDAP module, and Views with Drupal 7. Let's see if we can build a quick proof of concept at the meeting.

  • An outside shop did our site. I'm trying to figure out how to add some content to their tabs...
    ** I'm not sure if this is the kind of question you are looking for. But...We have a content type on our Security site that allows us to attach policy guidelines/ to policies in tabs which show up like this:https://security.berkeley.edu/MinStds/netdevices.html We have a "Standards" content type also; however, we would like to modify it so that it can be attached as a tab to the policy. I don't know how to change it or create the a content type that appears as a tab.
    ** BDUG: Let's see how far we can get reverse engineering this. In order to figure this one out you will need administrator access to a development version of this website. Do you have this?

  • Features Overrides
    ** http://groups.drupal.org/node/283793#comment-890303

Question: I'd love to get help planning a custom module

bwood's picture

This is in D7. There are three parts I think.

  •    modify the registration/login form to add some new fields (or just write a new one but that seems wrong), via some hook_alter() or Config > People > Account Settings > Manage Fields 
    
  •    Create a form – but with a custom module or via CCK? 
    
  •    Create Views with 2 displays 
    

User Story – General Registration and Vendor Registration:

  • User registers with additional field data (address fields including country, first and last names, telephone, URL)

  • User signs in with just username and password and is authenticated/logged in at appropriate role (Vendor)

  • User chooses “Become a Vendor” tab and sees descriptive content and form

  • Vendor form has additional fields for user to fill in to qualify as a Vendor which must be filled in and validated (Specialty, Minority owned, a dynamic field generated from an admin interface that lists categories of business, etc)

  • On submission user sees submission acknowledgement and gets HTML email with verification linkback and descriptive content

  • On submission site administrator gets email with linkback to approve new vendor

User Story –Vendor Listing:

  • User goes to site and clicks on link or navigation tab “Vendor Listings” and goes to node

  • Node lists all data (view?) for vendors grouped by regions or by alpha business name,

  • User can choose between tabs “Sort by Business Name” and “Sort by Region”

The questions are:

What is the best way to do simple CRUD so that it can be accessed via other things later on most easily? If I later need a page that pulls data from the Users table and all the new input from other tables does that impact my decision on how to do/approach this?

BDUG: Thanks for the detailed write-up. This is a big topic, but I think that we could spend some time on it to help you get started. We could suggest some approaches and point at some API (http://api.drupal.org) hooks/functions that could be helpful.
LikeBe the first to like this

Need a custom module?

michellezeedru's picture

These user stories could be readily accomplished using core Drupal modules and a few existing contrib modules. Between Views and Rules, that should cover everything you need. Might be a good discussion to consider the path of building using Views/Rules or coding your own module for something like this.

Reply here to vote on the questions you'd like to discuss

bwood's picture

...help us prioritize!

My vote

michellezeedru's picture

I vote for the Webform issue and/or custom module planning

content display

kmccarthy's picture

I'm currently in the process of learning how to apply semantic structure on a Drupal site. In doing so, I'm evaluating using Fences, Display Suite, and/or a combination of both in order to override the default use of HTML elements by Drupal.
I'm looking to see who is doing likewise and if a stable solution is working well for them.

Another submission from a site builder

bwood's picture

Here's my submission:

One of the main purposes of our new site is to provide an interface for students, faculty and staff to view the availability of 5 busy conference rooms in Koshland Hall.

I want one page of our new (Intranet) site to clearly show the following:

  1. A panel that will contain a form where they can make their reservation (i'm working on this).
  2. A panel that shows the schedule of the particular room that they are interested in (I am using BCal/google to embed these calendars on the site).
  3. However, say that particular room isn't available the day/time they want. I would like to include views of other conference rooms so they can see availability, then go ahead and fill out a room request without leaving the page.

In other words, I want one page to show 5 room calendars at the same time. And contain a room request form.

One flaw is that Google defaults to include Saturdays and Sundays (days it is NOT necessary to show because we don't schedule the rooms on weekends).

The goal is for users to easily find a conference room without having to click all over the place.
Here is the page I'm working on: http://dev.pmb-intranet.pantheon.berkeley.edu/room-reservations/koshland...

Agenda for today's meeting

bwood's picture

Here's what we'll be discussing today at 12pm.

The people asking the questions will have 3-6 min to show their issue. As a group we will discuss each question for 15-25 min more. We may not solve all the problems, but we hope to at least provide some suggestions for resolution of each problem.

Is it possible attend the meeting remotely?

ronsnow's picture

This meeting, and probably future meetings, has interesting topics. I would like to attend but I am over on the other side of the bay. Any chance that future meetings can have some level of remote access. Obviously some streaming technology would be great, but I would even opt to conference call in.

video archive

bwood's picture

No promises on this meeting, but we try to video record. Transcoding is time consuming. Past meetings: http://www.youtube.com/user/ucbdrupal

Google Hangouts ?

Google Hangouts looks worth trying....

ronsnow's picture

checked out Google Hangouts link and it looks like its worth trying. While the free version is limited to 10, that would probably suffice for these meetings.... The logistics would need to be nailed down as to how to connect...

Also, I checked the video link for the Group and that is fantastic.... Thanks for extra work in putting it out there!

video streaming

willazilla's picture

There's also Justin.tv for live streaming.

http://www.justin.tv/directory/news

Willa

SF Bay Area

Group categories

Resources

user group

Group notifications

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