Sarah Maple is the Lead Web Designer at National Nurses United (NNU) and has been at the organization for four years. Her training bridges art and web technology in order to better serve clients with both their technological needs as well as their artistic ones. She provides support with Drupal logistics and project management for the NNU website, which is a full website conversion to Drupal 8.
As Drupal module maintainers, we at Nextide need to be constantly updating our modules to add new features or patch issues. Whether your module is available for download or is a custom module for a client site, you can't expect users to uninstall and reinstall it to pick up new features. If you have data or configuration changes, update hooks are mandatory to learn. This post will show how we created a new content entity in a Drupal update hook.
NOTE: While I work for a company that is closely related to Drupal, the thoughts expressed here DO NOT, in any way, represent my employer.
When the creator of Zen theme of the Drupal CMS chose a logo for the theme, they would have never imagined that this decision would cause such large confusion and probable escalation of heat between two countries years down the lane.
On April 7 2018 (today), Multiple Indian Government websites, built and maintained by National Informatics Center, went down or were partially unavailable. Some of them showed a maintenance page.
* https://mod.gov.in/ (Ministry of Defence)
* Multiple others - Law, Home and Labour Ministry websites
What does the Government say?
* "National cybersecurity chief Gulshan Rai said the 10 websites hosted by the National Informatics Centre (NIC) went down after a hardware failure."
* “There is no hacking or coordinated cyber attack on website of central ministries. There was a hardware failure in the storage network system at the NIC which resulted in a number of government websites being serviced by that system going down. We are working to replace the hardware and these websites will be up soon,” said Rai.
What caused it?
* Limited information is available to be certain.Although there is no information as of now, that any site was compromised.
* While the sites that down were Drupal ones, NIC builds most of its sites on Drupal. Which explains it.
* The sites were just showing a maintenance page. Nothing suggested they were compromised. A maintenance page is shown on various occasions, while in this case, the MySQL servers being down either due to a hardware failure as the Govt claims or due to large traffic, or due to an orchestrated DDOS attack could be a reason.
* None of the above instances (including a DDOS attack) would suggest any data being compromised.
The Chinese connection:
* Almost every Indian media agency attributed this to hacking by "Chinese Hackers".
* The maintenance pages of some of these sites showed Drupal Zen Theme's logo, which is has a Chinese language character in its logo. (Update: Another Facepalm: That is not even Chinese, but Japanese.)
In the context of strained relationships between China and India, all news agencies interpreted this Drupal maintenance page as "defacement by Chinese hackers"
Bad PR for Drupal:
While there is no reason to suspect Drupal was at fault, Drupal’s pictures were splashed all over the TV and news sites today claiming hack by Chinese hackers by misinformed Indian News agencies.
Ashday's Digital Ecosystem and Development Tips: Drupal vs Wordpress Part 2: Which is the Best CMS in 2018?
Out & About On The Third Rock: Re-calibrating Giveback – Taking Open Source and Cloud beyond tech #SocialTransformation
In my humble opinion, as a Drupal developer, contributing back to the Drupal Community is something we should love to do.
Just a note to other Drupalers. I have been looking for a new Drupal-centric host and have heard good things about SiteGround. They advertise support for Drush, which would make critical core updates, like the one we had last week, much quicker and easier.
HOWEVER, please note that their latest version of Drush is 8.0 dev., which is horribly out of date and WILL NOT WORK with Drupal 8.4 and above.
I made this unfortunate discovery after setting up a new account there. The staff could not give me an estimate of when they planned to update Drush, so I promptly cancelled.
Just wanted to pass this information on to anyone else considering a host that supports Drush.
PS: Can anyone here recommend a good Drupal-Centric host that supports Drush? Thanks.
With popularity comes trouble... In this case here meaning: security vulnerabilities and risky over-exposure to cyber threats. And this can only mean that securing your website, that's running on the currently third most popular CMS in the world, calls for a set of Drupal security best practices for you to adopt.
And to stick to!
There's no other way around it: a set of strategically chosen security measures, backed by a prevention-focused mindset, pave the shortest path to top security.
Stay assured: I've selected not just THE most effective best practices for you to consider adopting, but the easiest to implement ones, as well.
We’re thrilled to announce that Teaching Tolerance, a program of the Southern Poverty Law Center is up for a Webby! Their mission is to provide educators with the tools to create a kind and inclusive school climate. They do this through a library of articles and resources that they’ve turned into teachable materials via a Learning Plan Builder, d and other classroom activities. It’s something that we feel is especially important work, now more than ever.
This is a project that meant so much to everyone that touched it; and it was a true partnership every step of the way for both our teams (Tolerance and ThinkShout). It certainly speaks to the passion that was put into it from all angles, and it’s an honor to be recognized for this work.
Our Case Study will give you the full scope of work. But for a quick summary: In redesigning their website, ThinkShout set out to turn the wealth of articles and resources Tolerance had into teachable materials, and did so by creating a guided Learning Plan Builder that makes all content classroom-ready. Tolerance grants free access to thousands of resources – from video to essays to proven teaching strategies – and everything within that catalogue is now actionable. We also took on the challenge of migrating their content from two older Drupal 6 and 7 sites into one new Drupal 8 site.
The result? Since launching summer of 2017, Tolerance.org has seen improvements across the board:
- Pages per session up 21%
- Session duration up 27%
- Bounce rate decreased by 8%
- Returning visitors up by 3%
- Registrations nearly doubled (from 19,000 to 36,000)
Here’s where you come in: our nomination for a Webby means we need the people’s voice (aka VOTES) to actually win. Voting ends April 19th!
Personally, we can’t think of anything more critical at this time than the work Tolerance.org is doing to ensure the next generation is primed to participate in our democracy. And winning the Webby will certainly help them gain visibility and advance their mission even further.
P.S. Travel Oregon also made it as an honoree in the Travel category, and they were up against some stiff competition! You can see their case study here.
The advances in technology has brought in an unprecedented growth in E-Commerce industry, which has become a major target for cyber crimes. Thus, it becomes necessary to address the security measures for websites as any data breach leads to the loss of sensitive information along with monetary losses. This not only threatens reputation of the organization but also leads to mistrust among customers. When compared to leading organizations, smaller firms are affected more as they have to suffer substantial losses.
Full security over the web can’t be attained as the hackers are devising new plans everyday to access consumer data. But, threats can be minimised by following certain…
We recently relaunched the updated front-end for Zürich Tourismus. In this blog post, I want to highlight some user experience improvements that we added to the existing Drupal 7 website using React. Enter the Zuerich.com filter pages.Josef Dabernig Fri, 04/06/2018 - 09:28
The Zuerich.com filter pages are highly interactive and allow the site visitor to explore data in a synchronized list & map view. We also applied the same concept to the different filter pages for Accommodation, Events and Restaurants.
Instant, Client-Side filtering
A key improvement to the filter pages is that they allow users to quickly explore and filter the data. The filter section immediately updates the corresponding results list according to the selected criteria. This works well for datasets below 1000 items, which are all accessed together and filtered using React on the client-side.
In traditional Drupal implementations, we would have the entire page reload for every filter click event, or, if we were to use AJAX, the entire results section would reload and require a round-trip to the server which slows down the user experience. With the new React-based approach, we were able to greatly improve the interaction speed. The search box also instantly filters the items for every character that the user enters.
A really cool feature on top of the instant client-side filtering is the “Nearby me” search. It allows the user to either select their own geolocation or select from some popular points of interest. For tourists that aren’t yet familiar with the city, being able to choose between various important locations, such as the Zurich airport or main station, helps in their orientation.
When a point of interest has been selected, the map instantly switches to “Filter list by map” mode which only displays the results that correspond to the current map window. As the user zooms in or out, the map automatically updates the results list.
Keeping Multiple Viewports in Sync
Keeping multiple viewports easily in sync is one of the main advantages of using React to implement the filter pages. The state of the dataset and filters can be managed centrally and will automatically update the different views, such as the filters themselves, the results list as well as the markers on the map. By moving around the map, the user is also able to filter the list results to show only what is available in the current viewport which helps narrow down their search geographically.
Unlimited, Interactive, React-based Filter Pages
The Zuerich.com filter pages are built using React components within the existing Drupal 7 infrastructure that drives the main website. We fetch the data from the backend using custom JSON feeds and render the filters, the results lists and map views using React. By doing so, we significantly improved the actual and perceived performance of the user interactions with the filters and map view. The same concept has been applied to different parts of the website. There are many more of these filters pages in addition to the ones used for Accommodation, Events and Restaurants.
In the back-end, the content editors are able to create custom filter pages using a special Content Type form. Filter settings and sort or proximity search options are able to be configured accordingly. In the React-based front-end, we then show the adjusted set of filter options and adjust the list views slightly i.e. to show star ratings for hotels.
One of our club members have asked us how to create a survey form in Drupal 7. They wanted to achieve this without a need for custom coding.
The Webform contrib module is the perfect tool for the job. In this tutoral, you will learn how to use this module to survey what peanut butter, jelly and bread your site visitors prefer.
Agiledrop.com Blog: AGILEDROP: Drupal business sessions you don't want to miss at DrupalCon Nashville
Stanford Drupal Camp 2018 is already upon us!
The ninth annual Stanford Drupal Camp will be hosted at the Stanford Law School on April 6-7, 2018.
[Free/Basketball] Cleveland Cavaliers vs Washington Wizards Live Stream Free NBA Game 6 April 2018
LIVE Cleveland Cavaliers - Washington Wizards - NBA - 6 April 2018
NBA – Follow the Basketball match between Cleveland Cavaliers and Washington Wizards live with Eurosport. Our live coverage lets you follow all the key moments as they happen. Head-to-head: see historical stats and visit our detailed profiles for Cleveland Cavaliers vs Washington Wizards. Get all
Washington Wizards vs Cleveland Cavaliers Odds - Thursday April 5
Washington Wizards vs Cleveland Cavaliers Odds - Thursday April 5 2018. Live betting odds and lines, betting trends, against the spread and over/under trends, injury reports and matchup stats for bettors.
Thu, Apr 5 Quicken Loans Arena, Cleveland
Cleveland Cavaliers vs. Washington Wizards: Live Score, Highlights
Wizards 113, Cavaliers 99 —Final John Wall tallied 21 points and 13 assists to lead the Washington Wizards over the LeBron James-less Cleveland Cavaliers 113-99 on Sunday at the Verizon Center
Cavaliers vs. Wizards: game preview, start time, TV information - Fear
Plus, this could serve as a first round playoff preview between two teams that don't really like each other. Who: Cleveland Cavaliers vs. Washington Wizards. When: 8 p.m.. Where: Quicken Loans Arena — Cleveland, Ohio. Enemy Blog: Bullets Forever. TV: TNT. Online: WatchTNT. Cavaliers injuries: George
Cleveland Cavaliers vs. Washington Wizards, Game 79 preview and
The Cavaliers (48-30) look to sweep this four-game homestand with finale Thursday against the Washington Wizards
Wizards vs. Cavaliers: Watch NBA online, live stream info, odds
The first game of Thursday night's TNT doubleheader will feature the Washington Wizards heading to the midwest to take on the Cleveland Cavaliers at Quicken Loans Arena. Washington enters the game at 42-36 on the season, which has it tied for seventh place in the Eastern Conference. Meanwhile, the
Watch Cleveland Cavaliers @ Washington Wizards live streamings for
Live Now: Cleveland Cavaliers @ Washington Wizards streamings for free. Watch NBA Basketball online broadcasts.
Cleveland Cavaliers Basketball - Cavaliers News, Scores, Stats
Brooks: Harden MVP, but LeBron is deserving. Wizards coach Scott Brooks says Rockets star James Harden is "definitely an MVP" but added LeBron James is also deserving of the award. LeBron muscles to the hoop (0:46). Pierce: Raptors need win vs. Cavs for psyche (1:52). LeBron not worried about playoff seeding
For a recent project, we were tasked to consume the client's internal data from a custom API. Now, this scenario was lucky for us, the API provides a total item count of about 5000, but when queried with a start date, it provides all revisions of items between then and now. The premise was that the data was to be downloaded at regular intervals, so that content editors didn't need to copy and past to keep product information up to date.
Drupal Commerce 2 comes with promotions sub-module that lets you manage store promotions in so many different ways. One common promotion method is to give your customer coupon codes. Coupon codes "unlock" a specific deal for the customer. For example, if you're trying to get a customer to complete an abandoned cart, you may offer a coupon code for 20% off the entire order to try and push them. Maybe you have a weekly newsletter and you want to reward your subscribers with a deal just for them. A custom coupon code with a discount is a great way to do this.
In this Acro Media Tech Talk video, we user our Urban Hipster Commerce 2 demo site to show you just how easy it is to create a promotion and assign a coupon code to it. We'll also show you how you can set additional conditions so that the coupon is only available to use when the conditions are met.
Its important to note that this video was recorded before the official 2.0 release of Drupal Commerce, and so you may see some differences between this video and the current release. The documentation is also evolving over time.
This video was created using the Urban Hipster Commerce 2 demo site. We've built this site to show the adaptability of the Drupal 8, Commerce 2 platform. Most of what you see is out-of-the-box functionality combined with expert configuration and theming.
Last year one of the big topics for the Drupal Global Training Days (GTD) Working Group was sorting out what exactly we can do to help with organizing these events. To that end, we sent out a survey to learn more about the kinds of events that people doing GTD events run, or have offered in the past, and how the community can help. We got 33 responses to the survey and 9 of those fine folks also hopped on a phone call with us (myself (add1sun), Mauricio (dinarcon), or Marina (paych)) to talk about the survey answers in more depth. While it's been a little while since we conducted the survey and interviews, we figure this is really interesting and useful information to share with the community.
The first section of this post covers the questions we asked and the results on the survey. The second section dives into our takeaways from the interviews we conducted after the survey.Survey Results What is your motivation for organizing GTD?
Far and away the most common motivation for running GTD events is to grow the local Drupal community, with over 90% selecting this as at least one reason. The second biggest motivation (39%) was to promote a company or organization, which was then followed up equally at 24% with finding new hires or new clients.Is your company sponsoring your time to prepare and present the training?
For this question, about 60% of respondents have their company cover their time. There was also a mixed bag of people who are their own business or who freelance, where counting company versus personal time is a blurrier line, as well as people who straddle both, doing some of the work on the clock and the rest on their own time. 21% of those surveyed stated that they are not supported by a company for GTD events.In which country (and city) have you organized a GTD?
Our list from the survey covered 36 events in 18 different countries, plus an online course with attendees from all over the world.
- Costa Rica
- India (5)
- Mexico (3)
- South Africa
- United States (11)
23 (64%) of events are being offered in English. There were 12 languages other than English in the list, with Spanish taking the number 2 slot with 6 events, which lines up with the number of events in Spanish-speaking countries.
Given the wide range of countries, it is a little surprising that there is definitely a concentration of events that are offered in English.What materials do you use to present the training?
This was split almost evenly between those that use materials they created themselves and those that use a combination of existing materials and their own.What topics have you covered in the trainings you have presented?
113 responses (with multiple select) indicated almost everyone covers more than 1 topic, and the vast majority of those topics are introductions to Drupal and getting started. Of the topics presented:
- 94% cover What is Drupal?
- 85% do Site Building
- 70% cover the Drupal Community
- 51% do Theming
- 42% do module development.
From the results to this question it is clear that most GTD events do not stick with just one broad topic.What format do you usually follow?
The most popular format (76%) is to have the instructor do a live demonstration and have the students follow along. Next in line is to only give presentations, and the least popular was to have the instructor do a live demo but not have the students work on the project. There were also a couple of people who use recorded videos and then offer Q&A and support to the students as they work through them.How long does the training last?
- 36% give full day workshop
- 24% give half-day workshops
- 30% do a mix of the 2 formats.
Event size was interesting. Over 50% of events had 11-20 attendees. Smaller groups, from 1-10 came in second around 27%, and only 21% of events had more than 20 attendees.Choose the statement that fits you most with regards to venue cost
Just over a third of respondents have given events at different free venues, while 21% have access to a permanent free venue to use. 30% have used both free and paid venues. Only 1 person has a permanent paid venue they use for GTD.What type of venues do you use?
Most events use either a company office or a university/educational facility, with conference spaces and co-working/community spaces making up much of the rest. There were also a range of locations from coffee shops to libraries included.What is the attendee capacity of your venue?
Compared to the class sizes mentioned above, there is certainly space for bigger groups overall, with 60% of venues capable of accepting over 20 attendees.If you organize GTD in a paid venue, how much does it cost on average? (Use local currency)
For those who do pay for venues, the costs are all over the place, which makes sense given the huge range of locations (both world location and venue type) for these events. The most expensive came in around $400 USD or ~325 EUR.Which of the following does your venue provide?
Most venues (88%) provide a good internet connection, and a projector with screen. 21% of the venues provide computers to use. Others noted extras they get with their venues include things like parking, snacks, and coffee.Interview Results
We also spoke to 9 people from 5 countries to dig into what they're doing and how the community and GTD Working Group can help. While everyone has different struggles and needs, there are a few common themes that come through.Organizing and Marketing
There was a wide variety of needs around organizing and marketing GTD events. This included things like matching up people who like to teach with people who can organize and market the event (many times people don't really want to both!), and there was definitely a repeated request for marketing materials and guidelines for groups to help promote their events. There were also some interesting ideas like creating badges for trainers and attendees, as well as having better ways for GTD organizers and trainers to share information, either through online knowledge bases or in-person events, like GTD-focused activities at DrupalCons.Curriculum
Not surprisingly curriculum and course materials came up for a lot of people. As we saw from the survey results, a lot of people create their own materials, often through need, not because they necessarily want to. There was a common thread of requests for workshop agendas, slides, and all kinds of training materials, centrally located so that people could more easily build a workshop without investing a lot of curriculum time. A number of people also pointed out that not having materials in the local language was a problem, and is time-consuming work to translate existing materials.Infrastructure
The last main theme that we saw was about the technical and venue needs. This ranged from funding for space to hold GTDs, having a standard way to get students set up with a local environment, and having a regular way to collect feedback on events, and be able to share that information.
While the GTD Working Group certainly can't tackle all of these things, this gives a good starting point for the biggest pain points that the community can address to accelerate GTDs and the adoption of Drupal. If there are particular topics or initiatives in here that you would like to help with, please reach out to the working group to get connected with others and see what resources are available to help.
Drupal 8.5 was released on the 7th of March 2018 with a host of new features, bug fixes, and improvements. There are plenty of exciting updates for developers in this blog. Or if you're a business owner, click here to find out what this means for you.