Feed aggregator

Frederick Giasson: Managing Datasets in OSF for Drupal (Screencast)

Drupal News - April 16, 2014 - 5:14am

In this new screencast, I first introduce the concept of a dataset: what it is, what it is used for and how it works. I will also outline the characteristics of datasets in the Open Semantic Framework (OSF) such as having a set of permissions for group of users, a unique identifier, etc.

Then I explain how datasets are being used by OSF for Drupal, and how they can be managed using a Drupal portal: how to import, create, register, change permissions to datasets. Then I explain how datasets can become searchable using the SearchAPI or be disabled in the web portal.

Finally I cover the OSF Entities administrators search and browse utility which can be used by Drupal administrators to browse and search for all entities that are accessible to the Drupal portal: even the ones that are indexed in datasets that are not yet registered to the portal.

 


NYC Camp News & Announcements: NYC Camp At The United Nations!

Drupal News - April 16, 2014 - 12:11am

NYC Camp ("nice camp") is an annual conference featuring talks, industry summits and code sprinting all aimed at accelerated learning and contributing to Drupal and related open source projects."

This year NYC Camp 2014 is being held The United Nations April 10th-13th.

NYC Camp News & Announcements: Announcing NYC Camp 2014

Drupal News - April 16, 2014 - 12:11am

NYC Camp (aka 'nice camp') is an annual 4 day mini Drupal conference held in NYC dedicated to Drupal learning and contribution. Best of all it's completely free and volunteer powered! This past year we had a spectacular event packed with trainings, sessions, summits and sprints. We've got a great event in the works and expect NYC Camp 2014 to rock even harder than last year!

Interested in volunteering? Yes You! Sign up to participate and contribute to your NYC Drupal community here

Stay up to date on all upcoming NYCCamp News by following us on twitter @NYCCampDrupal

Jeremy Epstein: The cost of building a "perfect" custom Drupal installation profile

Drupal News - April 15, 2014 - 10:54pm

With virtually everything in Drupal, there are two ways to accomplish a task: The Easy Way, or The Right™ Way.

Deploying a new Drupal site for the first time is no exception. The Easy Way – and almost certainly the most common way – is to simply copy your local version of the database to production (or staging), along with user-uploaded files. (Your code needs to be deployed too, and The Right™ Way to deploy it is with version-control, which you're hopefully using… but that's another story.)

The Right™ Way to deploy a Drupal site for the first time (at least since Drupal 7, and "with hurdles" since Drupal 6), is to only deploy your code, and to reproduce your database (and ideally also user-uploaded files) with a custom installation profile, and also with significant help from the Features module.

The Right Way can be a deep rabbit hole, though.

Image source: SIX Nutrition.

I've been churning out quite a lot of Drupal sites over the past few years, and I must admit, the vast majority of them were deployed The Easy Way. Small sites, single developer, quick turn-around. That's usually the way it rolls. However, I've done some work that's required custom installation profiles, and I've also been trying to embrace Features more; and so, for my most recent project – despite it being "yet another small-scale, one-dev site" – I decided to go the full hog, and to build it 100% The Right™ Way, just for kicks.

Does it give me a warm fuzzy feeling, as a dev, to be able to install a perfect copy of a new site from scratch? Hell yeah. But does that warm fuzzy feeling come at a cost? Hell yeah.

Wunderkraut blog: 5 Tips to debug Drupal front-end with Chrome DevTools

Drupal News - April 15, 2014 - 9:12pm

5 of my favourite keyboard shortcuts in Chrome DevTools. I used them all the time to find bugs in JS, HTML and CSS

1. CMD + ALT + F
A global search. Search in every asset HTML,CSS and JS.  Useful when you want to check if the browser is loading the changes you are doing, or to find something in the JavaScript code to place a breakpoint. Specially useful in production, when JavaScript files are aggregated, don't try to find the code manually. Use the global search.

 

2. CMD + Z
Yes, the traditional 'undo' command. Did you know you can undo the CSS changes in DevTools?

 3. CMD + SEdit the JavaScript files inside DevTools (Source Tab). Then save the changes (CMD + S) . You will see in the console "Recompilation and update succeeded." and the background color will change.  This trick is not very useful alone. But you can use it while debugging with breakpoints.  This tip is really useful to debug on-the-fly in production sites.  

 

4. ALT + Click
This trick is awesome for severe cases of HTML divitis. Press ALT and click at the same time on the arrow, it will expand all the HTML elements under it.

5. debugger
This is not a keyboard shortcut. Place the string debugger in your JavaScript code, reload the page, and it will have the same effect than a breakpoint.

Modules Unraveled: 104 Developing the Acquia Certification Program with Heather James, Ben Ortega, Peter Manijak and Prasad Shirgoankar - Modules Unraveled Podcast

Drupal News - April 15, 2014 - 9:00pm
Published: Wed, 04/16/14Download this episodeAcquia Certification Program
  • First off, what is the Acquia Certification Program?
  • Who was involved in developing the curriculum?
  • I took a quick look, and it seems that there are four parts to the test. Are those taken individually? Or all together? (And what are the sections?)
    • Will this accurately assess front-end developers? Or Backend/Sitebuilders.
    • What about specialists?
  • How is the exam administered?
  • Where can people take the test?
  • There has been talk about certifications in the past. Some have been for it, and some have been opposed. What kind of feedback have you received so far?
Future
  • Will you be updating the program regularly? Absolutely
  • Will there be a D7 version and a D8 version? It will depend on the exam and the need s of the role we are validating
  • Should other certification programs be developed?
Questions from Twitter
  • Tanay Sai
    Any plans to launch further specialization/levels? Like for Architects, themers, Drupal PMs etc? Yest, the Front end and Back end specialist exams are on the current roadmap. Other are in pre-planning stages.
Episode Links: Certification team on TwitterWebchick’s Study GuideTanay’s Study GuideExam siteWebinar on April 23rdBen on TwitterHeather on TwitterHeather’s Personal TwitterHeather’s WebsitePrasad on TwitterPeter on TwitterEmail the Certification TeamTags: 

NYC Camp News & Announcements: <a rel="nofollow">Free Drupal trainings at NYC Camp</a>

Drupal News - April 15, 2014 - 7:27pm

Did you know NYC Camp has a massive list of completely free Drupal trainings scheduled for Thursday April 10th??? Check out the line-up and sign up!

Don't Forget To Register!

Make sure you create an account and register for NYC Camp 2014, Registration is completely free but the UN security is fairly strict so please register for the camp and then you can go ahead and sign up for a free training on any of the training description pages!

AGLOBALWAY: Redirect user after login (or filling out other forms)

Drupal News - April 15, 2014 - 2:50pm
Redirecting a user to a specific path after a form submission is a feature required by most CMS websites. In Drupal, as with most things, there’s multiple ways to do it. Here’s a couple we use, depending on the site’s requirements:  

This is a method can be used for all the forms. Two steps here:

  1. Change block thank you page urlThis method only works for a form in a block. In admin->structure->block, find the block containing the form and there is a configuration named “Thank You Page”. Put in the redirect url here or leave blank for no redirect. The benefit of this way is both developers and the website administrator can change it without touching code while the limitation is the form must be put in a form. 
  2. Add a submit handler to form_alter
    1. Add a submit handler to the form_alter with the condition that the form id is the one we want to customize.
    2. Assign the redirect path to $form_state['redirect'] in the handler function.

 

Tags: drupal planet

groups.drupal.org frontpage posts: NYC Camp Media sprint report

Drupal News - April 15, 2014 - 1:09pm

New York city Drupal camp happened last weekend in United Nations HQ and there was, among numerous other things, Media sprint going on. Organizers did their best to bring some of the most active Drupal Media contributors on-site. We are very happy and thankful that they made this possible, as we managed to achieve some very important steps forward.

Plans for Drupal 8

Main part of our efforts at the camp was roadmap for Media in Drupal 8 as part of which we achieved few very important conclusions:

  • Storage components: there are still different opinions about the storage part (AKA "File entity" approach vs. "Media entity" approach - for more info check https://groups.drupal.org/node/384813). We decided that this is fine. We will continue to work on both solutions, while trying to find as many sticking points as possible and share as much code as possible. Entire ecosystem will be split into several sub-components in order for this to be possible.
  • Decoupled components architecture: as already mentioned we're dividing Media ecosystem into smaller pieces, which will be easier to develop and maintain. We will make sure to make every component as generally usable as possible. This will allow us to use them with both storage solutions and also, when applicable, in more general contexts (not necessary related to media itself). "Full featured" media solutions will still exist, but will mostly provide glue that will make individual components able to work together.
  • Media browser/selector/creator: this part of the system will be responsible for browsing media collections, picking and/or creating individual or multiple media items. It will be used in different contexts as fields (entity reference, file, image, ...), WYSIWYG, global, etc. This component will not be related to media by it's nature. It should be possible to use it also in other similar use-cases (browsing and picking nodes for an entity reference field for example). Existing tools/systems should be used where possible (Views for entity browsing, existing field widgets for entity creation, ...).
  • WYSIWYG integration: core now supports image embeds by default, but we still want to be able to embed other types of media. WYSIWYG entity embed framework will be responsible for that. It will be able to embed any entity using techniques that were already tested in D7. Entity-specific solutions that we know from D7 world (node_embed, ...) will become obsolete as a result of that.
  • Display configuration: we will create two levels of display configuration. Field formatter level will provide more basic functionality, while ensuring simpler interface for site builders and administrators. This approach is expected to be used on simpler sites. Media/File entity render will, on the other hand, provide more powerful display configuration system with more complexity. Both storage solutions will share some parts of display configuration components, but it will not be possible to re-use everything.
  • 3Rd party providers: both storage solutions will need own 3Rd party integrations due to fundamental differences in storage implementation.
Next events/sprints Getting involved

In order for Media to really rock in D8 we need a lot of help (by this I mean A LOT!). Are you personally interested in media on Drupal or you run a Drupal company/shop and have to deal with funky media problems and desperately need a powerful and extensible solution for that? Are you able to dedicate some of your (or one or your employees) time to achieve that goal?

We need you! No matter which skills you have! We need help with back-end and front-end development. We also need design/UX skills to create good editorial experience. Are you not a coder, but have good ideas? We need those!

You can reach us on #drupal-media or on groups.drupal.org/media. There will be weekly "scrums" held in Google Hangout onAir every Tuesday at 3:30PM GMT (follow groups.drupal.org/media for announcements).

We need your user stories

There are as many possible media use-cases as there are Drupal websites. In order to be able to design the system in a way that will work for most possible situations we need your feedback - your user stories. Please take few minutes to think about your past project that dealt with Media and try to remember interesting problems that you'be been facing. Then use our form and send them our way in a form of a user story.

Google Summer of Code 2014

We have two quite strong media related project proposals for this year's Summer of code. We are hoping for both of them to be accepted. We will be able to publish more informations about that in the second part of April.

Please help Aaron Winborn

Aaron is a long time Drupal contributor, author of many media-related modules and a great and inspiring person. He is fighting ALS and he needs our help. Please consider contributing to his fund to help them make his and his families life just a little bit easier. Thank you!

We would like to thank camp organizers one more time. They prepared an unforgettable event for us. We would definitely not be able to achieve this progress without their support!

Isovera Ideas & Insights: It's OK Not to Be Sexy

Drupal News - April 15, 2014 - 10:49am

It's OK not to be sexy.  

X-Team: Use Drupal Vagrant Rsync feature to maximize performance

Drupal News - April 15, 2014 - 10:49am
We all know that Drupal doesn’t do really well under the default shared folder of VirtualBox. When we were given the task of creating a new box for one of our clients, we immediately went with NFS file system to circumvent this issue. We quickly realized two things: Vagrant is way faster with NFS enabled...

DrupalCon Austin News: Calling All Mentors!

Drupal News - April 15, 2014 - 9:21am


If you’ve ever attended a sprint, you know how important mentors are. We're asking for interested volunteers to sign up to act as mentors for the DrupalCon Austin sprints. We’re expecting 600 attendees to get involved, and need all the help we can get!

DrupalCon Austin News: DrupalCon Austin 2014 Grant and Scholarship Recipients Have Been Selected

Drupal News - April 15, 2014 - 7:56am

We’re pleased to announce that the grant and scholarship recipients for DrupalCon Austin 2014 have been selected and finalized!

Thanks to generosity from our sponsors, we were able to extend offers of financial aid to 33 individuals worldwide!

There were over 100 applicants for financial aid for DrupalCon Austin, and selecting the best candidates for the convention was difficult work. Every candidate underwent a comprehensive evaluation by a committee of volunteers from the Drupal community.

Legally Binding your Web APIs

Drupal News - April 15, 2014 - 7:00am

As web architecture evolves towards building distributed, independent applications, and away from single-purpose omnibus websites, Drupal implementations are including services, APIs, and feeds almost by default. While Services, RestWS, and Drupal 8 all simplify creating APIs to distribute content, it's important to step back and think about API design before writing a single line of code.

Digett: Crawling vs. Indexing: Robots.txt and sitemap.xml

Drupal News - April 15, 2014 - 6:55am

Sometimes you need to prevent a site, page or everything at a particular path from showing up in Google search. I've heard people say to just disallow the page in robots.txt file. This is actually incorrect.

read more

Open Source Training: 27 Funny, Imaginative and Odd Drupal Logos

Drupal News - April 15, 2014 - 6:28am

Some organizations are very serious about their logos. They produce exhaustive guidelines on how their logo should and should not be used.

The Drupal community takes the opposite approach. The Drupal logo is called "Druplicon" and is released under the GPL license. That licensing allows designers to do whatever they want with the logo.

That design freedom has led to some funny, imaginative and downright strange variations on the Drupal logo.

Here are 27 of our favorites from events around the world.

DrupalCon Austin News: The Austin Schedule is Live

Drupal News - April 15, 2014 - 5:36am

For a few months now, we have been telling you about all the great content and fun things to do at DrupalCon Austin. Now you can see for yourself! The schedule is live and you can see it here.

You can use the master schedule to build your own personal schedule by clicking the plus or minus on the calendar icons next to the events you wish to attend. You can also access your personal schedule from the master schedule and your profile. See the screenshot below:

Drupalize.Me: What is Drupal (8)?

Drupal News - April 15, 2014 - 4:20am

With the release of Drupal 8 approaching, it’s time again to answer and update the age old question: What is Drupal?

Frederick Giasson: Registering an OSF Network in OSF for Drupal (Screencast)

Drupal News - April 15, 2014 - 4:05am

In this screencast, I explain how we can link (register) one or multiple OSF Web Services networks to a single OSF for Drupal instance. I discuss how this OSF Web Services mechanism can be used to bring datasets from multiple different OSF instances into the same Drupal portal. I also cover how we can use the same OSF Web Services network as the backend for multiple Drupal portals (which uses OSF for Drupal).

We briefly discuss the distributed aspect of the Open Semantic Framework (OSF), but this topic will be discussed more in deep in a subsequent screencast.

 


INsReady: How fast does Drupal grow in China? A perspective from DrupalCampChina 2014

Drupal News - April 15, 2014 - 2:37am

March 22nd, 2014, we have concluded DrupalCampChina 2014 (announcement). This is the second year that Drupal Shanghai Community has teamed up with Techyizu.org (a Shanghai-based volunteer-driven organization and supporters of the China startup and tech community.) to succefully organize DrupalCamp within Barcamp. For those who don't know, Barcamp is the same style as DrupalCamp, but wider topics and larger audience. We organize Barcamp to attract a variety of people in the related industries; In Spring, 2014, this Barcamp received over 700 people. On Drupal side, we also had large attendance, fun discussion & collaboration and a rooftop afterparty. I was very happy to see large increase in presentations and people at the DrupalCamp (comparing to DrupalCampChina 2013), and therefore, I am eager to share my observation publicly.

Keynote attendance doubled
Thanks to The Drupal Community Cultivation Grant (and the Committee), this year we received the grant help again to bring in an international well-known Drupal contributor to speak at our camp keynote. John Albin Wilkins offered the favor and presented "Drupal for a Better Web". During his keynote, I realized there were around 200 people packed in this conference room. I also recognized many local Drupal community leaders from other Chinese cities, such as Beijing, Hangzhou, etc. Comparing to last year keynote, we almost had 100% increase in keynote attendance.

Sessions doubled
Last year, we had one track at the DrupalCamp, and besides a keynote, there were 4 hour-long sessions. This year, we had two tracks and total 8 sessions and a keynote. Thanks to all the presenters at DrupalCamp, you all made this camp succesfull!

Marketing presence
In the past 3 years of my volunteering and community activities in Shanghai, China. I almost exclusively interacted with developers, designers and entrepreneurs who work with Drupal on daily basis. However, at this DrupalCamp, I saw a person with professional cameras and camcorders busy recording all the sessions. I had a pleasure talking to him, and learned that he doesn't use Drupal, but he believes in his partners who develop a business on Drupal, and he decides to dedicate his efforts of Marketing and Sales for Drupal. As many people would agree, in the Drupal world, we are in high demand of talent, but we are even in higher demand of people who market Drupal well and explain what Drupal is to others. I am glad to see the presence of marketing professionals at this camp, which shows the business side of Drupal is promising in China. I believe they are good at helping companies discover and invest in Drupal as their business solution.

Future collaboration
6 Barcamps have been organized in the past 3 years in Shanghai. However, Barcamp didn't get very technical until 2013 we organized DrupalCampChina 2013. This year, we promoted DrupalCamp through the regular channels via Barcamp and media friends. Then at the camp, I saw Javascript, Node.js and a few other stacks of technologies sessions talking about Internet of things. Not only those presenters offered different choices and opinions and helped Drupal to educate the same audience on Internet or Web; but also, most of those presenters support open source and likely the Shanghai Drupal community will extend the communication to those local open source communities for future collaboration.

I am very glad how this camp turned out. I see great collaboration between local Drupal community and Drupal Association on bringing an oversee speaker, the collaboration among different communities to organize a large Barcamp and DrupalCamp, the collaboration within the camp during presentations. This collaboration builds us a good foundation to further advocate Drupal in China, and we will see a larger DrupalCamp next year!

More photos about DrupalCampChina 2014, please see the album on Google+

Files:  PANO_20140322_120703.jpg IMG_2591.JPG IMG_2624.JPG IMG_2575.JPG IMG_2592.JPGTag: Drupal PlanetDrupalCampChina
Syndicate content