One of the fundamental findings of cognitive science is that people think in terms of frames and metaphors ... When the facts don't fit the frames, the frames are kept and the facts ignored.
Drupal Developer Toolkit tutorial series reviews web apps, desktop applications, mobile tools, and web services to improve your work and quality of life.
This module provides a way to grant access to specific files for a limited period of time to anonymous users. The generated links are protected by a HMAC, i.e. a long string which is not likely to be guessed by an attacker.
Unlike private files delivered by Drupal core, downloads provided by this module are cacheable and also support HTTP cache revalidation. This makes it possible to efficiently serve assets to mobile applications while still maintaining some access restrictions.
Yoast SEO is a household name in the WordPress community and as a premium drupal themes shop owner I was jealous of their favorite tool. Yoast SEO gained popularity because it didn't just make SEO finetuning possible in WP, it made it fun. Important onpage SEO factors are pulled together...
I have a theory.
My theory is that every single person / organization who is considering building a site on Drupal 8 has created some variation of the exact same spreadsheet. The spreadsheet tracks rows with information like which contributed projects the site needs, what URL those projects live at, who the maintainers are, what the project's current porting status is, etc.
To figure this out, you go to each of the respective project pages and look for an 8.x version. If that comes up empty, you attempt to search the issue queue for variations of "Drupal 8," "D8 port," etc. Worst-case, falling back to good ol' Google. Repeat every few weeks.
Man months have probably been spent on this duplication of effort so far.
To further build on that theory, I'm guessing that these spreadsheets do not always jive with current reality. Because you might have missed the update that contributor X gave on Twitter one time about her predicted module's release date. Or you might not have been sitting next to contributor Y at dinner during DrupalCon and found out that her module's actually being ported on GitHub or BitBucket, only being moved to Drupal.org when it's complete. Or, you didn't get the chance to actually install the project yet to determine that even though one has just a -dev release it's actually quite stable, and even though this one has an beta release, it's changing APIs every 6 minutes. Or whatever.The Solution
Enter the Drupal 8 Contrib Porting Tracker! This is a "meta" project that holds issues that represent the porting status various projects, and allows us to work as a unified Drupal community to combine our collective observational super powers into one data set that can be used by anyone considering building on Drupal 8.Tags: acquia drupal planetdrupal 8contributed projects
As we discussed a lot about translation in the previous posts Translation in Drupal 7 : How it works? and TRANSLATION in Drupal 7 : How to work with, let us discuss few points about how to do custom translation to our module and pot(.po) file handling for string translations. Before getting into the custom translation let us know few things about pot file handling. The pot (or) potx file which will be with extension .po. This pot(.po) file can manually be created or this can be generated with the help of the drupal module called Translation template extractor.
Let us see, how to generate the pot file for translation. First we need to enable the Translation Template Extractor module. Once the module is enabled, you will be seeing the “Extract” tab in the TRANSLATE INTERFACE section under REGIONAL AND LANGUAGE.
Now create a custom module and build all your required functionalities in the module and before enabling it, now go to the Extract Tab in Translation Interface, there you can find you module listed under Directory "sites/all/modules".
I’ve recently been working on a jQuery plugin that uses a HTML5 video as the background for a page. An idea that perhaps owes far too much of it’s inception to splash pages, it was worth investigating; as a test for HTML5 video player development and because of it’s interesting use of the video element.
This blog explains about how to set up video background in drupal. There are many plugins available to create background video in drupal and I am going to discuss jQuery videobackground plugin. The plugin should work in any browser that supports HTML5 video.
First you have to download jquery-videobackground plugin from here and place it at theme's js folder, for ex: sites/themes/theme-name/js/jquery.videobackground.js
Next you have added the following jQuery code in your custom js file
A callback should allow you to use the other buttons. It’ll look something like this:
This module provides integration with the Stellar.js library. By default, it loads and initializes the Stellar object, but included are submodules that add additional functionality, like Stellar Blocks. The current roadmap includes a Stellar Field Formatter as well.
This month, we got to hold our public board meeting, well, in public. Mostly all together in Barcelona, we met in the middle of DrupalCon to share some updates with the board and community. As always, if you want to catch up on all the details, you can find everything you need to know about the meeting online, including minutes, materials, and a video recording. If you're just here for a summary view, read on!Drupal 8 Accelerate is fully funded
Early in 2015 we set out to do something that we have never done before: raise $250,000 to get the next release of Drupal out the door. I am thrilled to share that we met that goal at DrupalCon Barcelona, with the last donation coming in from Exove just before Dries took the stage for his keynote. Drupal 8 Accelerate allowed the Drupal core maintainers to identify issues that needed immediate attention and pay contributors to make their time available. Additionally, community members were able to propose sprints and other initiatives to help crush D8 release blockers. We've made over 50 grants around the globe through the program, resolving hundreds of issues. We want to thank everyone in the community who donated and helped spread the word about the campaign, including our anchor donors, Acquia, Appnovation, Palantir.net, Phase2, Wunderkraut, PreviousNext, and Drupalize.me.D8 release candidate communications plan
We all heard some very exciting news during the Barcelona #Driesnote. Unless we come across any major unexpected hiccups, we'll have a Drupal 8 release candidate ("RC") on October 7. At the Association, we're gearing up to work with the community to shout the RC news, and then the full release news, from the rooftops. We shared the plan at the public board meeting, and are asking the community for help in two specific areas. First, we need your help educating people about Drupal 8 features and how they can be used. We also need your help sharing how Drupal 8 will meet the needs of specific audiences. We'll be updating the Drupal 8 landing page over the next few weeks and want to fill it with all of your great work. Here's the kind of content we're looking for:
Here's how you can share in the D8 release fun:
- Planning on hosting a release party? Share the details and we'll help spread the word about your event.
- Are you already building sites with Drupal 8? Share a link in social media and tag it #madewithdrupal8. You can also add it to the list on groups.drupal.org.
- If you have demos, white papers, blog posts, or some other materials that talk about the virtues of D8, share it on social media and tag it #drupal8rc.
Every year the Drupal commmunity nominates and elects one individual to serve a 2-year term on the Association board of directors. If you're interested in what the board does and why you might want to consider running, you can check out this blog post and presentation from last year. We'll be holding the next elections in the first three months of 2016, so we took some time in Barcelona to talk about the process. You can review the presentation from the meeting, and here are the key dates for the next election:
- Nominations (February 1-19, 2016)
Meet the candidates (February 22 - March 4, 2016)
- February 23 session at 7am Pacific
- February 24 session at noon Pacific
- February 25 session at 4pm Pacific
- Voting (March 7-18)
- Ratification and communication (March 25)
We also took a moment to thank long-time board member Angie Byron (webchick) for her service on the board. Angie's term ends in November, and she is stepping down from her board role to focus on making the Drupal 8 release as big as possible. One a personal note, I am so grateful for the opportunity to work with Angie so closely for so long. Her ability to be honest and kind at the same time is something that I have tried to learn from every time I interact with her. Thank you Angie for everything I have been able to learn from you.
Part of my job is to get my hands dirty with technologies I stumble upon. I've decided to have a go at React. Well, one thing led to the other and it seems I went down the client side rabbit hole. I'd like to share with you my path - watch out though, it's a slippery slope."Hello World" in Elm
It all started with this Thinking Flux video which explains the problems Facebook faced in its front-end and the new application architecture they are now using.
Since the Flux concept was out, different libraries were written implementing it, but in my view it seems that Redux is the winner in terms of simplicity, popularity, docs and community. I really recommend going over it - at least the intro and basics. You might be tempted to actually learn a bit of React (tutorial) to follow the examples more easily.
Then I saw Redux was crediting Elm for some of its inspiration, so I decided to give it a quick look. I was immediately blown away by Elm. The syntax is weird (unless you know Haskell), it has a crazy learning curve, but a lot of it makes so much sense.
The following recording is a presentation I first gave internally for Gizra devs, then as a BoF in DrupalCon Barcelona, and finally recorded to share it with everyone.
My goal is to get more people excited about Elm so the community and contributions grows. I feel it is now very much like Drupal about 10 years ago - a small community, far from being mainstream, but with a lot of potential.
Maybe if we'll draw from Drupal's experience in building and cultivating a community we'll be able to bring this awesome tool closer to the mainstream.
The Views image module provides a global "Image" field in Views that can be used to display an image in your views. Images can be styled or point to external URLs.
The Drupal Association has partnered with Niswey, an India-based marketing firm, to provide marketing materials for DrupalCon Asia. Every few weeks, we'll be sharing the blogs and comic strips that our Niswey friends have created in anticipation of the convention.
Workbench moderation works by allowing you to keep a new revision of your content as a draft (or unpublished) while an older revision remains as your published version. Out of the box Drupal handles this beautifully, most of the time. However, once you start adding contributed and/or custom modules, things can start to get hairy.
For example, Path module will generate a new alias each time your node is saved (if you define one in your node’s settings). This is great when the latest revision is your published content, but when the latest revision is a draft, you’ll want the keep the old alias until you publish the draft.
The next (and hopefully final!) beta release for Drupal 8 will be beta 16! (Read more about beta releases.) The beta is scheduled for Thursday, October 1, 2015. To ensure a reliable release window for the beta, there will be a Drupal 8 commit freeze from 00:00 to 23:30 UTC on September 30 (later on today).
Beta 16 will include a couple of important changes, including the removal of the ! placeholder from t(), and the moving of vendor code from /core/vendor into /vendor.
The Drupal 7 user cancellation workflow is fairly inflexible - it requires an email to be sent to the user, and the user must then log in (if they remember their login information) and then click the email link.
The default workflow is not appropriate for every site.
If this module is enabled, the email is not sent, and the account is deleted immediately.
Inspired by Clive, http://drupal.stackexchange.com/a/32427/449 (thanks!)
The Webform module is a powerful ally when you need complex forms. In this video I talk briefly about when you can use Webform, what different components that ships with the module and also a little about the functionality the the module offers when is comes to sending emails and showing the information added to the webform.Read more
This module makes it possible to prefill fields in a webform.Features
- Values are remembered even for webforms that are never submitted.
- Use special links (like
) to prefill form values for a specific user.
- Pre-filling via a link works for the whole browser session. The form does not need to be on the site that the links points to.
Install it like any other drupal module.