If only non-Finns could easily pronounce it, I think "yhteisöllisyys" would be a perfect motto for Drupal. To explain what it means, I dragged Lauri Eskola, Drupal Craftsman from Druid.fi, away from the contribution sprints at DrupalCamp Brighton 2015 long enough for him to fill me in on that, as well as his trip to Drupal Camp Delhi 2015, what he's excited about in Drupal 8, and how doing business in the Drupal world–based on values like sharing and openness–must seem strange and different to outsiders.
Drupal allows you to easily change the order of your displayed fields using the Manage Display option for your content types but it does not allow you to change the order of the title field (because this field is rendered directly from the node template). But there may be times that you want to display your custom field(s) before the title field. For example, if you have an image field that you want to float to the left of your title and remaining node content.
Another month, another swath of work to improve our favorite content management system.The Usual (Contrib) Suspects
Once again some of our main achievements during March was on client-sponsored work, most notably:
Over the past few months I have been banging my head against a problem at MSNBC: importing the site's extremely large database to my local environment took more than two hours. With a fast internet connection, the database could be downloaded in a matter of minutes, but importing it for testing still took far too long. Ugh!
In this article I'll walk through the troubleshooting process I used to improve things, and the approaches I tried — eventually optimizing the several-hour import to a mere 10-15 minutes.
You’ve heard about it, read about it, and – if you’re like me – dreamed about it. Well, its time to stop dreaming and start doing.
If you have experience building sites using Drupal 7, you’ll be pleased to see that from a site building and administration perspective, things are nearly the same.
And if Drupal 8 is your first Drupal experience, you will be pleasantly surprised at how easy it is to build an amazing site.Installing Drupal
First things first.
You’ll need a basic set of software installed and operational on your laptop, desktop, or server before proceeding with the Drupal 8 installation. Drupal requires that Apache, MySQL, and PHP are installed and working before beginning the installation process. There are several ways to easily install the required software using LAMP (Linux, Apache, MySQL and PHP), WAMP (Windows), or MAMP (Mac) solutions. Grab Google and do a quick search.
Good. Now there are five basic steps to install Drupal:
- Download the latest version of Drupal 8
- Extract the distribution in your Apache
- Create a database to hold the content from the site
- Create the files directory and settings.php
- Run the installation process by visiting your website in a browser
For details on the installation process visit http://wdog.it/4/1/docs.
These are the basic building blocks that will provide the foundation for your Drupal 8 site:
- Content types
If your site is simple and you’re the only one who will be authoring, editing, and managing content, then the admin account you created during the installation process may be all that you need. In situations where you want to share the content creation and management activities with others, you need to create accounts for those users.
The Drupal Simplify Module is a big help removing cruft from the eyes of the administrator in the Drupal UI. Simplify allows you to hide certain fields from the user interface on a global basis, or configured for each node type, taxonomy, block, comment, or user.
What sent me looking for a module like this was the "Text Format" selection beneath every single WYSIWYG on the site. While I think Drupal is incredible for allowing multiple input formats, 99 out of 100 times, I define which ONE input format a user can use per role. So having this as an option beneath every rich text editor on the site just became wasted space that I wanted to remove. And so I did!
But wait, there's more! Simplify lets you hide so much more than that! The following items can be hidden:
- Administrative overlay (Users)
- Authoring information
- Book outline
- Comment settings
- Contact settings (Users)
- Menu settings
- Publishing options
- Relations (Taxonomy)
- Revision information
- Text format selection
- URL alias (Taxonomy)
- URL path settings
- Meta tags
- URL redirects
- XML sitemap
Install Simplify for Drupal 7
Modules Unraveled: 133 There's a Module for that! Don't use it! with Ted Bowman - Modules Unraveled Podcast
- So, let’s start out by talking about the genesis of your session. What made you think this topic needed to be covered?
- What’s the problem with just installing another module?
- What if I don’t program?
- Reuse modules
- Push back on requirements
- Make sure the cost of adding another module is not just the cost of the time it takes to install it
- Simple modules really aren’t programming
- What are the potential problems with custom code?
- How do you determine if you should install a module or write some custom code?
Not really telling people to avoid specific modules more about thinking twice when they select them.
* Entityform vs. Webform
* Entity View Modes
* Page title
* Commerce Custom Order Status
We are growing, we are hiring... well not in a sense of spending money, but the #d8rules initiative is proud of already having 26 contributors who got their pull requests merged on github. But how did that happen and what exactly happened since our last update by the end of last year? Drupal Dev Days Montpellier are definitely the most exciting part of this list so we'll keep it for the end :)#d8rules Presentation
We travelled all around South America and Europe to give people an update on the initiative, including DrupalCon Latin America Bogotá, DrupalCamp London, European Drupal Days Milano, Drupal Dev Days Montpellier. You can watch a video recording on youtube.Workshops & Sprints
At Global Sprint Weekend Zurich we sprinted with some first-time #d8rules contributors mainly on porting actions. For example, vasi worked on porting some actions but also dermario and me started working on a Rules component admin UI.
At European Drupal Days Milano, we did a full workshop to teach new contributors the underlying concepts of Drupal 8: dependency injection, plugins, typed data, unit tests etc. With the following sprints, we were able to make good progress with porting actions. Special thanks to bojanz for writing the first derivative plugin: The Entity create action plugin will generate derivatives based on the entity types available, for example "Create a new user", "Create a new node".Drupal Dev Days Montpellier
We have counted at least 20 people involved in the #d8rules sprints last week in Montpellier, France which is well - awesome and a bit overwhelming at the same time :) Thanks to the great excitement of so many new and recurring contributors, we were able to make major progress not only by finishing most of the action ports but also by starting work on other areas of the Rules module and its integrations. You can find a more detailed summary of everyone has been working on in our meeting minutes. Let me name a few examples:
- mariancalinro wrote the first automated tests for derivative plugins, picking up bojanz' work, investigated about the extracting the Views fields & filters selection widget and started mentoring other sprinters on that topic.
- a.milkovsky ported various actions, started working the Rules settings UI and also mentored other contributors with the gained knowledge.
- czigor ported various actions and started the porting the first Flag action. I won't repeat has mentored others because one of the most exciting parts of this sprints was seeing everybody mentor each other on what they know.
- katia and pjezek also dove deep into porting the flag and unflag actions.
- Steve Purkiss amongst porting actions started extending the Rules documentation.
- nielsdefeyter picked up the work on the Rules component UI and helped us to get it together with a Rules UI skeleton committed during dev days.
- lewisnyman helped us define personas, user stories & user journeys in order to validate the usabliity of the Rules 7.x UI and target improvements for the Rules UI in 8.x
- m1r1k did reworked the logging service and even started integration with webprofiler
- xano joined us for the discussion on implementing a generic plugin selector widget and even created Plugin Selector as a spin-off from what he implemented for payment.
- fubhy started implementing a lexer/parser for mathematical expressions
- nlisgo, claudine, branislav, mikl & martin also joined us for porting actions & cleaning up inconsistencies in the code base
- klausi, fago & fubhy provided guidance, reviews & were able to merge many pull requests besides working on improvements of the Rules engine
Thank you so much everyone for participating and helping out! I hope I covered most of the things. Personally, I was really glad to be able to focus on motivating people. Somehow it felt like we all got into a good flow with a self-organising team that started mentoring & reviewing each others work.It isn't over yet
As we gained so much good momentum during the recent sprints, we would like to invite everyone interested in joining our weekly calls on Google hangout: every Thursday at 4:30pm CEST we announce them on IRC: #drupal-rules. Also check out the meeting notes.
I'm running endlessly through the woods, as far away from Silicon Forest/Valley as I can. Facebook has collapsed, so has Google, so has everything. A post-social media, free internet, apocalyptic world has ensued and all of the developers have gone into the woods to escape the aftermath clutching their now worthless laptops. In my dream all the CEOs of the software companies are in a room patting themselves on the back for giving it a good go, while the world falls apart in the aftermath of their self-focused existence.
This may have just been a crazy post White God viewing dream I had, but it touches on something real. Something that as a consultant for multiple companies I see all the the time.
And it's killing me. It's killing your company, and you're too busy getting beers with your funders to notice. Meanwhile your developers, project managers, and everyone else that is the core of your business is slowly burning out until they rage quit and go somewhere else to start it all over again.Read more
As the potential release date for Drupal 8 slowly creeps up we've launched our first Drupal 8 site and are planning to kick off several more in the next few months. Through this process we've learned a lot about the reality of what it means to launch a site on beta software and what that means for your next project.
When do you need it done by?
Drupal 8 will be here soon, but your project may not need to be. If you are just starting to think about the strategy for your project now, and aren't planning on going into heavy development until later this summer, you should definitely be considering Drupal 8 as an option.
Author and software consultant LORNA JANE MITCHELL, fresh from her DrupalCon book-signing (PHP Web Services) and talk, is a frequent visitor to Amsterdam – she lives in Leeds, an hour flight away, and loves the city.Tags: Video DrupalCon DrupalCon Amsterdam Video:
Happy Earth Day! Since the last Drupal Core Update, the Drupal Developer Days event brought lots of exciting progress: we (briefly) reduced the number of critical issues to 35, and a week-long performance sprint made Drupal 8 2—20 times faster! Also, Gwendolyn Anello at DrupalEasy announced that DrupalEasy is partnering with Stetson University to offer Drupal courses!
Some other highlights of the month were:
- Pratomo Ardianto at X-Team developed an in-depth tutorial on theming in Drupal 8, Christopher Hall continued his series on theming in Drupal 8 with a breakdown of responsive breakpoints, and Wim Leers posted a tool to visualize Drupal 8's render tree.
- On the front-end, Phase 1 of the Consensus Banana initiative (moving CSS clases from preprocess functions to Twig templates) was completed, the active class was changed to is-active, and we fixed a bug where CSS in libraries would override CSS in themes.
- To improve developer experience, the user_name handler is now handled by the Field API, and the Entity display class no longer depends on the field module.
- Joe Shindelar shared some tips & resources to get started with Drupal 8, Jimmy Berry unveiled a Drupal testbot command-line tool so you can run the full Drupal test suite on your local machine, Mark Ferree at Chapter Three shared his presentation on Drupal 8 module development, and Ray Saltini at Blink Reaction wrote a brief introduction to the Drupal Console project.
- Internal page caching was moved into a module so it can be easily turned off for development, core now uses the APC Classloader by default if it's available, and showing comments no longer requires generating temporary users for anonymous users.
- Mike Potter at Phase2 announced the Features module for Drupal 8.
- To clean up the API, update_project_storage(), element_info(), element_child() and element_children() (and element_info_property() was deprecated), drupal_form_submit() were all removed, and entity_load('image_style') and entity_load_multiple('image_style') were replaced with static method calls.
- Lauri Eskola at Druid wrote about his team's experiences launching a site on Drupal 8, John Locke at Freelock explained when Freelock recommends using Drupal 8 now, Kristof Van Tomme at Pronovix explained the Drupal 8 Accelerate funding program and how Pronovix is encouraging their customers to help, Chris Smith at OPIN Software Inc. interviewed Chris Luckhardt about Drupal 8, it's release date, and it's impact on the community, and Steve Burge at OSTraining announced a kickstarter to create free Drupal 8 training videos.
- Also, PHP7 EngineExceptions can now be caught in the general error handler and we can now perform front-end testing with the Mink driver.
See Help get Drupal 8 released! for updated information on the current state of the release and more information on how you can help.
We're also looking for more contributors to help compile these posts. Contact mparker17 if you'd like to help!Drupal 8 In Real Life
- Cornell Drupal Camp starts tomorrow, April 23–24 in Ithaca, NY, USA with sessions on Drupal 8 for site builders, unit testing with PHPUnit, an introduction to Drupal 8 for end-users, and migrating Drupal 6 sites to Drupal 8.
- On Friday, April 24, there is a code sprint to port Views GeoJSON to Drupal 8 in Durham, NC, USA.
- The Village of Oak Park Drupal User Group is hosting a Drupal 8 core sprint on May 3 in Oak Park, IL, USA.
- DrupalJam will be taking place on April 30 in Utrecht, Netherlands with sessions on headless Drupal 8, responsive images, and continuous integration.
- DrupalCon Los Angeles in Los Angeles, CA, USA is only 19 days away (May 11–15, although sprints start on the 9th)! Regular ticket pricing ended last week, but late tickets are still available.
- DrupalCamp Spain will be May 22–24 in Jerez de la Frontera, Cádiz, Spain! There are still tickets left, and members of the Asociación española de Drupal get a 10% discount! There are sessions on Drupal 8 forms, theming, site-building, and building multilingual sites in D8.
- The Drupal North Regional Summit in Toronto, Ontario, Canada will be June 25–28. Registration is free, but you should register now so the event organizers can plan for you to be there. The event’s theme is Drupal 8!
- DrupalCamp Ottawa announced their new date and location: Friday, July 24 at University of Ottawa, Ottawa, Ontario, Canada.
Do you follow Drupal Planet with devotion, or keep a close eye on the Drupal event calendar, or git pull origin 8.0.x every morning without fail before your coffee? We're looking for more contributors to help compile these posts. You could either take a few hours once every six weeks or so to put together a whole post, or help with one section more regularly. If you'd like to volunteer for helping to draft these posts, please follow the steps here!
When you save (precisely for an update) an entity Drupal does a massive job:More articles...
- Git shell on Windows reports “sh.exe has stopped working (APPCRASH)”
- Decent PDF generation in Drupal
- Benchmarking Drupal 7 on PHP 7-dev
- Installing Drupal on Windows and SQL Server
- Hiding the fact that your site runs Drupal
- Calling .Net Framework and .Net Assemblies from PHP
- When PHP crashes: how to collect meaningful information and what to do with it
- Setting up Code Syntax Higlighting with Drupal
- Distinct options in a views exposed filter: The Views Selective Filters Module
- How to use NetPhp
The next beta release for Drupal 8 will be beta 10! (Read more about beta releases.) The beta is scheduled for Wednesday, April 29, 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 April 29.
Drupal 7 is by far my favorite CMS to date and Zurb Foundation is currently my go to theme. Although, I wouldn't really call Foundation a theme, but more of a responsive front-end framework that you can use to build your themes from.
Here is how to setup a fresh copy of Drupal 7 and configure a Foundation sub-theme quickly to get your project up and running:Install Drupal using Drush
Although you can do this all the old fashion way, I prefer to use drush for this. Here are the drush commands to make this all happen:drush dl drupal --drupal...
Why would you want to import tweets into a Drupal site? For one, I want to own the content I create. Unlike other social media sites, Twitter allows great access to the content I create on their platform. Through their API, I can access all of my Tweets and Mentions for archiving and displaying on my own site.
I have had a couple of instances with clients where the archiving of Tweets came in handy. One when a Twitter account was hacked, and one when someone said something that wasn't supposed to be said. At the very least, it is an offsite backup of your content at Twitter, and that is never a bad thing.
I have used this module for building aggregated content. If you have a site that is surrounded by topics, you can build lists of Twitter accounts or #hashtags. Imagine if you were running a Drupal Camp, you could build a feed of all of the speakers and sponsors, or a feed of the camp's #hashtag, or both!
You could also build a Twitter feed of only your community. This module allows each and every Drupal user account to associate with one or many twitter accounts. The users just need to authorize themselves. The possibilities seem endless.
OK, so on with the good stuff. Importing Tweets into your Drupal 7 site is very quick and easy using the Drupal Twitter Module.
The Salesforce Suite has been around since Drupal 5 and it’s evolved quite a bit in order to keep up with the ever-changing Salesforce and Drupal landscapes. Several years ago, we found ourselves relying heavily upon the Salesforce Suite for our Salesforce-Drupal integrations. But there came a point where we realized the module could no longer keep up with our needs. So we, in collaboration with the maintainers of the module at the time, set out to rewrite the suite for Drupal 7.
We completely rewrote the module, leveraging Drupal's entity architecture, Salesforce's REST API, and OAUTH for authentication. We also added much-needed features such as a completely new user experience, the ability to synchronize any Drupal and Salesforce objects, and a number of performance enhancements. This was a heck of an undertaking, and there were dozens of other improvements we made to the suite that you can read about in this blog post. We’ve maintained this module ever since and have endeavored to add new features and enhancements as they become necessary. We realized this winter that it was time for yet another batch of improvements as the complexity and scale of our integrations has grown.
In addition to over 150 performance enhancements and bug fixes, this release features an all new Drupal entity mapping system which shows a log of all synchronization activity, including any errors. You can now see a log entry for every attempted data synchronization. If there’s a problem, the log will tell you where it is and why it’s an issue. There’s now a whole interface designed to help you pinpoint where these issues are so you can solve them quickly.
Administrators can even manually create or edit a connection between Drupal and Salesforce objects. Before this update, the only way to connect two objects was to create the mapping and then wait for an object to be updated or created in either Drupal or Salesforce. Now you can just enter the Salesforce ID and you’re all set.
Take the following example to understand why these improvements are so critical. Say that your constituents are volunteering through your Drupal site using the Registration module. The contacts are created or updated in RedHen and then synced to Salesforce. For some reason, you can see the new volunteers in Drupal, but they are not showing in Salesforce. It used to be that the only clue to a problem was buried in the error log. Now, all you have to do is go to the RedHen contact record, and then click “Salesforce activity,” and you’ll see a record of the attempted sync and an explanation of why it failed. Furthermore, you can manually connect the contact to Salesforce by entering the Salesforce ID.
Finally, you can now delete existing mappings, or map to an entirely different content type. The bottom line is that module users have more control of, and insights into, how their data syncs to Salesforce. You can download version 7.x-3.1 from Drupal.org and experience these improvements for yourself.
We’ve been hard at work polishing several other of our modules and tools, like the RedHen suite and Entity Registration, which also saw new releases. We’ll tell you more about what you can expect from those new versions in our upcoming blogs.