Planet Drupal

Syndicate content - aggregated feeds in category Planet Drupal
Updated: 23 min 36 sec ago

Acquia Developer Center Blog: Powerful Ways to Extend and Develop Drupal 8

Thu, 10/22/2015 - 20:44
div class=field field-name-field-author field-type-entityreference field-label-hiddendiv class=field-itemsdiv class=field-item evenJessica Fujimori/div/div/divdiv class=field field-name-field-blog-image field-type-image field-label-hiddendiv class=field-itemsdiv class=field-item evenimg typeof=foaf:Image src= width=140 height=85 alt= //div/div/divdiv class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodedpIn our a href= post/a, we looked at why Manhattan Associates was happy with Drupal 8 from a front-end perspective. What sealed the deal for them, though, were the powerful ways they could extend and develop Drupal 8 with improved configuration management, a new Web services API, and easy internationalization./p /div/div/divdiv class=field field-name-field-blog-tags field-type-taxonomy-term-reference field-label-inline clearfixdiv class=field-labelTags:nbsp;/divdiv class=field-itemsdiv class=field-item evena href=/tags/acquia-drupal-planet typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=acquia drupal planet/a/div/div/div

Pantheon Blog: Using the Configuration Module Filter in Drush 8

Thu, 10/22/2015 - 18:12
Having a Dev/Test/Live workflow is indispensable to safe and convenient website development.

DrupalCon News: How to say Drupal in Hindi!

Thu, 10/22/2015 - 15:28
div class=field field--name-body field--type-text-with-summary field--label-hiddendiv class=field__itemsdiv class=field__item evenpDrupalCon Asia 2016 is shaping up to be an amazing event with participation from all of the major system integrators and the Indian Drupal community./p pDid you know that companies such as TCS, Sapient, Accenture, Cap Gemini, Infosys, Cognizant, Wipro and Mindtree all have 40+ member Drupal teams? Some of these firms have 300 or 400 people working in Drupal - making them the largest employers of Drupal talent in the world./p/div/div/div

InternetDevels: Lviv Euro DrupalCamp 2015: mission completed successfully!

Thu, 10/22/2015 - 08:02
div class=field field--name-field-preview-image field--type-image field--label-hiddendiv class=field__itemsdiv class=field__item evenimg src= width=863 height=577 alt=Lviv Euro DrupalCamp 2015: mission completed successfully! //div/div/divdiv class=field field--name-body field--type-text-with-summary field--label-hiddendiv class=field__itemsdiv class=field__item evenpemAn open-source community is also open-heart! ;) Drupalers are one of the most friendly people on Earth and they need to stick together. Knowing that, every autumn InternetDevels a target=_blank href= development company/a organizes a cool IT hangout called Lviv Euro DrupalCamp./em/ppDear drupalers, we’ve done it! :) This year’s camp has surpassed our expectations and exceeded a milestone of 200 participants. Let’s keep rocking!/p a href= more/a/div/div/div

Realityloop: 7 things you can to to help get Drupal 8 contribs faster

Wed, 10/21/2015 - 23:47
div class=field field-name-post-date field-type-ds field-label-hidden span class=day22/span Oct /div div class=field field-name-author field-type-ds field-label-hidden Brian Gilbert /div div class=field field-name-field-imageimg typeof=foaf:Image src= width=780 height=415 alt= //divdiv class=field field-name-bodypUnless you live under a rock you’ve likely heard that Drupal 8 has a release candidate. This means that a stable release is not far away, and now much more complex sites can be built with Drupal 8 core alone./p pFor a while we’ll invariably still come up against projects that we have to use Drupal 7 for because you need certain contributed modules that don’t have a Drupal 8 release yet. Here are 7 things that will help allow you to build everything in Drupal 8 faster./p h3Help maintainers in their issue queues/h3 pWhen building Drupal 7 sites, take a few minutes to to look at the issue queue of the contribs you are using and help progress or close nbsp;2 to 3 of the open issues./p pThis is also a good way to get up to speed with a module before you use it, and looking at the issue queue is one of the ways we grade modules before using them. So it’s not a stretch to do it again for a few minutes after you have implemented the module./p pFor a more in depth list of things you can do to help in issue queues see:br / a href= h3Roll and re-roll patches/h3 pWhenever we build a site we’ll almost always find some modules that need patches applied, often we’ll have to create these patches ourselves. Rather than store these patches in our own private project repositories we always contribute them back to the issue queue of the project./p pUploading patches to issues queues has a twofold benefit, firstly it saves the maintainer from writing this code allowing them to perhaps focus on another issue instead, and secondly it allows others to make use of the fix up until the maintainer has time to incorporate it in a release./p pIf you find an existing patch that no longer applies, re-roll it against the latest development branch and upload the new patch to the issue./p pAlso remember to upload any partial fixes or findings you turn up when investigating a problem this can potentially save the maintainer or another user you investigative time allowing them to progress the issue further./p h3Mark issues as “Reviewed and tested by the community”/h3 pIf you find an issue with a patch and successfully use the patch don’t just add a comment saying it worked for me, mark the issue status as RTBC, and comment about how the patch worked for you./p pWhen marking an issue as RTBC you should provide some before and after information to show how the patch resolved your issue, screenshots or videos are often really helpful./p pRTBC is relative. Effectively, it means Ready to be reviewed by committers, with the assumption that enough non-committers have reviewed, tested, audited, etc, to catch the obvious problems. Different people set an issue to RTBC with various levels of effort.nbsp;Some will RTBC just on a visual inspection of a patch. nbsp;Others will only do so if they've reviewed, audited, applied, tested, etc, etc. nbsp;Basically, you build up a reputation for how much your RTBC counts based on how thorough your reviews are when you mark issues that nbsp;br / way./p h3Request contrib development time/h3 pIf you work at a company with module contributors, request that they be allowed to allocate some of their time to work on their contribs. If you are in charge of developers give them time to work on contributed modules./p pThis has numerous benefits:/p ol liThis can allow your developers to grow their expertise while working on a project they are passionate about/li liIt’s now possible for developers to flag that development time was was provided by your company/li liNot only is your developer giving back to the community, your company is as well/li liPotential clients are likely looking for a team that is involved in the community/li liYour developer will become known as contributors and will be able to make connections with other contributed module developers that may benefit you in future projects/li liDrupal marketplace company listings are now weighted by community contribution/li /ol h3Sponsor development of modules/h3 pA lot of module maintainers don’t have a lot of time to spare between work and family, especially when they have multiple contributed modules. They may find it hard to allocate as much time as they like to their projects. If you are in a position to help fund some development time then you can use the contact form on the maintainers profile to get in touch./p h3Offer to co-maintain a module/h3 pIf you're doing PHP based development at all, consider looking for a module you like that is a href= co-maintainers/anbsp;and offer to get involved./p pSome potential benefits of this:/p ol liYou may find a mentor to help you improve your coding ability/li liYour giving back to the community (good karma)/li liYou will make connections and friendships with other developers around the world/li /ol h3Organise a module port-a-thon/h3 pOrganise an event where people come to help upgrade modules to Drupal 8. This is possibly one of the hardest things to co-ordinate so I’m going to write a whole post about it in three weeks time./p h3Why did I write this?/h3 pThe Realityloop team are involved with a substantial amount of contributed modules, many of which we no longer actively use. Our availability to work on these ebbs and flows and we’re sure there are other developers with modules that fit this pattern./p pNot all of our modules need to exist in Drupal 8, but there are several really awesome ones Stuart (Deciphered) has written that we would really like to get ported as soon as possible./p pI believe that as we are working with open source we have an obligation to help sustain its ongoing development this is the reason that Realityloop:/p ol liis a supporting partner of the Drupal Association/li liorganises our local meetups and camps/li lishare the modules we develop back to the community/li limentors at DrupalCon’s/li ligives back to the community in many other ways/li /ol pIn many ways the power of Drupal is it’s contributed modules, it is this that allows us to build such a wide variety of sites. I’m sending a call to everyone that builds sites using Drupal to help get that power to Drupal 8 as soon as possible!/p /divdiv class=field field-name-field-tagsdrupal planet/div Thinking (And Choosing) Elm

Wed, 10/21/2015 - 22:00
pIn my a href= post/a I was giving a high level overview of why we were looking at Elm in Gizra. Since that post, we#39;ve almost completed the a href= app/a, and we#39;ve changed our status from quot;Looking at Elmquot; to quot;Choosing Elmquot;./p pThe reason? In short - I believe it will save us (Oh, and it#39;s fun)/p div class=thumbnail iframe src= frameborder=0 scrolling=no width=800 height=555 style=-webkit-backface-visibility: hidden;-webkit-transform: scale(1); /iframe /div pa href= reading…/a/p

Drupal @ Penn State: Producing new applications in our network

Wed, 10/21/2015 - 21:36
pThis video shows the automation involved in creating a new tool in span class=capsELMSLN/span. A tool in span class=capsELMSLN/span = new install profile = new domain = new drupal distribution./p pimg alt=New Idea + New Distribution + New Domain = New Tool src=/sites/default/files/2015-10-21_14-00-44.png //p

Drupal @ Penn State: A Significant Event

Wed, 10/21/2015 - 21:36
pYesterday something significant occurred, a href= target=_blank launched on the new Polaris 2 Drupal platform. And soon the a href= target=_blankAbington Campus/a web site will move to the same platform. And perhaps many more./p

Chapter Three: Giving Back

Wed, 10/21/2015 - 20:30
pA couple years ago, we decided to make a substantial investment in a href= by employing a Drupal 8 Core Developer. The investment has paid off in ways we never anticipated, transforming our company for the better./pbr / br / h2How it began/h2br / br / pa href= 8/a development began in 2011. It plugged along for a couple of years and as it got closer to becoming a reality it became clear that the Drupal community would need to adapt their skill sets to accommodate the changes inherent in the new platform architecture. This was daunting. We knew the cost of getting our team ramped up on Drupal 8 was significant and that there could be a steep learning curve./p frontpage posts for the Drupal planet: Drupal 7.41 released

Wed, 10/21/2015 - 20:25
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item evenp style=position: inherit;Drupal 7.41, a maintenance release which contain fixes for strongsecurity vulnerabilities/strong, is now available for download. See the a href= 7.41/a release notes for further information./p div style=float: right; margin: 0 0 1em 1em; text-align: center; a href= class=link-button style=margin: 0 0 0.6em 0;spanDownload Drupal 7.41/span/a /div p style=position: inherit;stronga href=/upgrade/Upgrading/a your existing Drupal 7 sites is strongly recommended./strong There are no new features or non-security-related bug fixes in this release. For more information about the Drupal 7.x release series, consult the a href= 7.0 release announcement/a./p !--break--div style=float: right; padding: 0 0 2em 1em; margin-left: 2em; width: 35%; border-left: 1px solid #cdcdcd; h2Security information/h2 pWe have a a href=/securitysecurity announcement mailing list and a history of all security advisories/a, as well as an a href=/security/rss.xmlRSS feed with the most recent security advisories/a. We strongstrongly advise Drupal administrators to a href=/securitysign up/a/strong for the list./p pDrupal 7 includes the built-in Update Manager module, which informs you about important updates to your modules and themes./p h2Bug reports/h2 pDrupal 7.x is being maintained, so given enough a href=[]=8amp;categories[]=1bug fixes/a (not just a href=[]=1amp;categories[]=1bug reports/a), more maintenance releases will be made available, according to our a href= release cycle/a. /p/div h2Changelog/h2 pDrupal 7.41 is a security release only. For more details, see the a href= release notes/a. A complete list of all bug fixes in the stable 7.x branch can be found in a href= git commit log/a./p h2Security vulnerabilities/h2 pDrupal 7.41 was released in response to the discovery of critical security vulnerabilities. Details can be found in the official security advisory:/p ullia href= /ulpTo fix the security problem, please upgrade to Drupal 7.41./p h2Known issues/h2 pNone./p /div/div/divdiv class=field field-name-taxonomy-vocabulary-34 field-type-taxonomy-term-reference field-label-abovediv class=field-labelFront page news:nbsp;/divdiv class=field-itemsdiv class=field-item evena href=/taxonomy/term/903Planet Drupal/a/div/div/divdiv class=field field-name-taxonomy-vocabulary-5 field-type-taxonomy-term-reference field-label-abovediv class=field-labelDrupal version:nbsp;/divdiv class=field-itemsdiv class=field-item evena href=/taxonomy/term/120Drupal 7.x/a/div/div/div

Drupal core announcements: Drupal 7 core updates for October 2015

Wed, 10/21/2015 - 18:20
pWelcome to the first in an occasional series of posts about recent happenings in Drupal 7 core./p pThis is modeled after the Drupal 8 posts that have been going on for a while; you can find all Drupal 8 and Drupal 7 core updates on the a href= Core Updates page/a going forward./p h2Drupal 7.40 released/h2 pa href= 7.40/a was released last week! This is a maintenance release containing bug fixes, performance improvements, and a few new features. Now is a good time to test it out and upgrade your sites. If you discover any problems introduced by this release, report them in the a href=;version=7.xissue queue/a./p pDrupal 7.40 contains no security fixes, but a href= 7.39/a (released in August) does, so make sure your sites are updated to at least that version. Note that there is a a href= release window/a coming up today (October 21) also./p h2New features in Drupal 7 core/h2 pMany people have the misconception that Drupal 8 will be the first version of Drupal that allows new features to be added after the initial stable release, but in fact that's been the policy for Drupal 7 a href= early 2012/a./p pSeveral features have been added to Drupal 7 since it was released, but awareness is not as high as it could be which is one of the reasons we haven't added more. One goal of this series of posts is to highlight features that have been added recently as well as new ones that are up for consideration. A sample is below. /p h3For site builders/h3 ulli Want a faster front-end experience for your users? You can a href= Drupal from loading jQuery and other JavaScript files on pages that don't use them/a (since Drupal 7.36). Currently this can be enabled via a variable (e.g. in settings.php) but there's an issue to consider a href= a user interface for it/a. Make sure to read the caveats before turning this feature on. /li li Don't like incomprehensible machine names such as hero_large_retina_1325x505? Drupal supports a href= labels on image styles/a (since Drupal 7.23), so you can now use capital letters, spaces, parentheses and anything else you want when naming image styles. /li li The Statistics module can now a href= hits to your content via client-side JavaScript/a (since Drupal 7.25), which allows cached page views that weren't even served by the Drupal site to still be accurately counted. Make sure to read the caveats before enabling this, though, especially if you have a high traffic site. /li /ulh3For developers/h3 ulli Want a convenient theme debugging tool? There's one a href= into Drupal core/a (since Drupal 7.33). Just add the indicated line to the settings.php file in your local testing environment (or, since Drupal 7.40, uncomment the line that's already in the default settings.php file) and debug away. /li li Do you like a href= traits/a? You can now easily use them because a href= Drupal 7 autoloader supports them/a (since Drupal 7.40). Just be aware that they are a PHP 5.4 feature, so if your module relies on them then sites running on earlier versions of PHP won't be able to use your module. /li li When specifying dependencies in your module's .info file, you now can (and are encouraged to) a href= the project that your module depends on also/a (since Drupal 7.40) - for example, codedependencies[] = views:views_ui/code to declare a dependency on the Views UI module within the a href= project/a, rather than just codedependencies[] = views_ui/code. This extra information will help resolve ambiguities and can potentially be used by other tools in the future, for example by the testbot or Drush to be able to automatically download dependencies that currently can't be downloaded automatically. /li /ulpIf you have ideas for other new Drupal 7 features you'd like to work on, get started in the a href=;version=7.xissue queue/a (but keep in mind that they still must be subject to the a href= policy/a)./p h2Proposed Drupal 7 changes that need your feedback/h2 pHere are some possible Drupal 7 changes on the horizon that need feedback from Drupal 7 site builders or developers to make sure we don't cause problems for existing sites and existing code (and some of them need developers to work on the patches also):/p ulli We'd like to stronga href= an administer fields permission/a/strong to core which would be required to use the field UI (in addition to whatever permission is required by each entity type the fields are attached to). This should benefit site builders and allow for more secure permission setups, but it could have a minor impact on existing sites and a moderate impact on contributed module automated tests; see the linked issue for details. /li li Should we stronga href= on page caching and CSS/JavaScript aggregation in the Standard install profile/a/strong in Drupal 7 (similar to what Drupal 8 did)? See the linked issue for details and to provide your feedback. /li li How about stronga href= the Modules page/a/strong, in particular to hide the less-useful dependency information by default? This could potentially be a big user-experience win for Drupal 7 sites. Discussion (and potentially patches) are needed on the linked issue. /li li Would your Drupal 7 sites be impacted if we stronga href= a default clickjacking defense to Drupal 7 core/a/strong? This is a security improvement which would involve preventing Drupal 7 sites from being shown inside an iframe on a site with a different domain. For sites that need to be shown inside such an iframe, the protection could be turned off, but we need to make sure we get this right before adding it to core. /li li We'd like to stronga href= the Limit allowed HTML tags filter to also restrict HTML attributes/a/strong in Drupal 7, to make Drupal's text filtering options a bit more flexible. Help in particular is needed with backporting the Drupal 8 patch on that issue. /li /ulpPlease leave constructive feedback on any these topics in the individual issues linked above./p h2Proposed new release schedule for Drupal 7/h2 pWe're considering a href= a similar release schedule for Drupal 7 that Drupal 8 will be using/a (i.e., a 6-month feature release schedule, with pseudo-semantic versioning). See the linked issue for details and to participate in the discussion./p h2And that's a wrap/h2 pThanks for reading; hopefully you found this post useful!/p pIf you'd like to see more of these posts in the future (or if you'd like to help write them) or if you have any general feedback, feel free to leave your feedback in the comments. But if you have feedback on specific issues mentioned above, please leave it on the relevant issue instead. Thank you./p

Dries Buytaert: Announcing Acquia Content Hub

Wed, 10/21/2015 - 18:11
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodedpThe explosion of content continues to grow. With more and more organizations a href= multiple sites/a and digital channels, the distribution of content is increasingly difficult to manage. Content can easily become siloed in different sites or platforms. Different data models make it challenging to access, update, and replicate content changes across your sites./p pToday, we're excited to announce a href= Content Hub/a, a cloud-based content distribution and discovery service. Content Hub serves as a central content repository or emhub/em that allows for bidirectional distribution of content between different platforms. Content Hub lets authors and site owners reuse content from other sites, commerce platforms, and more. To facilitate sharing between all these different systems, we normalize the content, and provide centralized tools to search and discover content within your network of sites. In addition, Content Hub can automatically keep content consistent across different sites (publish-subscribe), mitigating the risk of out of date information, all while respecting workflow rules on the local destination site. /p pI'm excited about the launch of Content Hub because I believe it will become a critical building block for creating digital experiences that are smart, personal, contextual, predictive, and continuous across digital touch-points in our lives (see a href= Reverse of the Web/a). It's an ambitious vision that will require organizations to better leverage all of their content and data. This means that eventually all data has to get linked: from textual, audio and video data, to customer information and customer support data, to sensory and contextual customer information. To process that amount of data, we will have to build smart systems on top of it to create better digital experiences for the customer. Last year a href= launched Acquia Lift/a, and now 12 months later we're launching Content Hub -- both are important steps towards that vision./p /div/div/div

OSTraining: How to Create a Popular Articles View in Drupal

Wed, 10/21/2015 - 17:15
div class=ost-intro-imageimg src= alt=drupal docker width=200 height=133 alt=How to Create a Popular Articles View in Drupal //divpMany sites want to showcase their most popular content to visitors./p pHowever, creating a Popular Articles list in Drupal is harder than it might seem./p pIn this video, Robert shows you how to use the Statistics module (part of the Drupal core) to organize your articles by popularity. pThis video is taken from our a href= Views class/a./pimg src= height=1 width=1 alt=/

Red Crackle: Reducing Drupal#039;s page load times using Fastly CDN

Wed, 10/21/2015 - 16:54
If you have ever optimized a Drupal site, you must have heard that you should serve static assets using a Content Delivery Network (CDN). In this post, we'll go over how CDNs help in reducing page load times. We'll cover one CDN, Fastly, in detail. The reason being that in addition to caching static assets, it caches dynamic HTML content as well and since it's built on top of Varnish, it integrates with Drupal seamlessly.

Palantir: Building a Better Drupal

Wed, 10/21/2015 - 16:52
span class=featured-blog-image img typeof=foaf:Image src= width=262 height=175 alt= - CC BY-SA 2.0 title=Building a Better Drupal - main image / /span pIn his semi-annual “a href=” at DrupalCon Barcelona last month, Drupal founder and project lead Dries Buytaert spoke openly and frankly about some of the challenges facing the Drupal project and ecosystem. One of those challenges is the increasing amount of time it’s taken to develop each release as Drupal has grown larger and more complex. /p pIn my session the next day, a href= Drupal Businesses that Are Built to Last/a, I discussed how building complex software is in many ways like building a large building. Much as the way that we’ve approached construction has changed over time, so has the way that we approach building websites./p pFor most of recorded human history our largest structures were made simply by piling huge stones on top of each other. The Great Pyramid of Giza was built by thousands of laborers over a period of 10-20 years and completed around 2560 BC. For nearly four thousand years, it was the largest structure in the world at about 481 feet./p pThis is also pretty much how we built websites back before content management systems became widespread; there was a vision of what the end product needed to look like, and we’d just keep piling on more code and markup until it was done. It was usually a very labor-intensive process that took a long time to complete, and you didn’t have a lot of flexibility with the end product, but it got the job done./p pimg src=/sites/default/files/general/images/building-better02.jpg width=978 height=733 alt= - CC BY-SA 2.00 title=Building a Better Drupal - image 2 //p pThe Great Pyramid was surpassed in height only in the 14th century by the Lincoln Cathedral in the United Kingdom’s East Midlands. At 525 feet tall, it was reputedly the tallest building in the world from about the year 1300 until its central spire collapsed in 1549 and was not rebuilt./p pCathedral construction in the Middle Ages was a community-funded and supported effort, frequently taking decades or even centuries to complete. When building a cathedral, the general approach was to get something fully functional up first, usually the chancel, which is where the high altar sits and the choir sings. Once this “minimum viable product” was completed, you could then extend outward as time and money became available, all the while maintaining a working place of worship. Because these buildings were built in stages over long periods of time, they also could evolve during construction and there was a fair amount of architectural experimentation and innovation as a result./p pAnd this is what building a website with a content management system can get you; you can get a basic site up and running fairly quickly, then build on top of it and innovate over time without having to take it down or over from scratch. Like the cathedrals of the Middle Ages, open source content management systems like Drupal, WordPress, and Joomla! are community projects that are supported and maintained by a wide variety of agencies, paid developers, and volunteers./p pimg src=/sites/default/files/general/images/building-better03.jpg width=2048 height=1356 alt= - CC BY 2.0 title=Building a Better Drupal - image 3 //p pThe Washington Monument, which was completed in 1884, is the world’s tallest stone structure even today at 555 feet tall. It’s very large and impressive, but like the pyramids, cathedrals and other monuments that came before it, the Washington Monument is primarily not functional in nature, but ornamental. Despite their tremendous diversity of shapes and sizes, the kinds of tall buildings that were constructed up until the late 19th century were designed as places of worship and monuments to kings, emperors, and presidents, not as places that you could live or work in every day./p pAnd this is also the limitation of many websites that are designed as completely bespoke solutions. They’re great expressions of the business needs that existed at the time and place in which they were built, but all too often they aren’t built to adapt as those needs change over time./p pIn 1884, the same year that the Washington Monument was completed, a Chicago architect named William Le Baron Jenney made a huge innovation with the Home Insurance Building, which was built using a load-bearing structural steel frame that supported the entire weight of the walls, instead of load-bearing walls that carried the weight of the building. This was called the Chicago Skeleton method. For the first time, it was possible to have a tall building with usable space all the way up to the top floor./p pimg src=/sites/default/files/general/images/building-better04.jpg width=2048 height=1464 alt= - CC BY 2.0 title=Building a Better Drupal - image 4 //p pSteel replaced stone architecturally, and the age of the skyscraper began. Its pinnacle was reached in 1931 with the construction of the Empire State Building, which is 1,250 feet in height. These skyscrapers were a huge leap forward, but they were ultimately limited by the both the cost of building them and the inflexibility of the skeleton method; you could pretty much just build a tower straight up. The Empire State Building remained the tallest building in the world for 40 years./p pThis is the point that we have reached with Drupal 7. While the raw size and functionality of the sites we can build has scaled greatly, we’ve also hit the limits of Drupal’s cost effectiveness, technical overhead, and flexibility. Drupal 7 as a project has had difficulty adapting to meet some of the needs of today’s Web. It’s often cheaper and easier to use a framework than it is to use Drupal, and while that’s true for sites of all sizes, it’s particularly true for the largest customers, who often choose to create their own bespoke platforms. It’s been very clear for some time that something needs to change./p pimg src=/sites/default/files/general/images/building-better05.jpg width=2048 height=1365 alt= - CC BY-ND 2.0 title=Building a Better Drupal - image 5 //p pIn 1969, Skidmore Owings and Merrill (SOM) were hired to create a building with 3 million square feet of office space for thousands of Chicago-based employees of the Sears Corporation. To meet this challenge, SOM architect Bruce Graham and engineer Fazlur Kahn designed an approach that combined nine individual “tubes”, each of which was essentially an independent building, clustered in a three-by-three matrix. The Sears Tower was completed in 1974, and reached a height of 1,729 feet. /p pThe advantages of the bundled tube structural system is that it provides great economic efficiency, because it required less steel, and offers greater flexibility for buildings to take on more shapes. The structural innovations introduced by the Sears Tower four decades ago brought about a renaissance in skyscraper construction that continues to this day. /p pThis kind of renaissance is also what Drupal 8 offers with its object-oriented approach, configuration management, improved APIs and native Web services support. Drupal 8’s more modular architecture makes it much easier to create so-called “headless” or “decoupled” websites that play nicely with a wide variety of frameworks and Web services. /p pWhen you have this kind of flexibility, all sorts of things are possible. This is the direction Drupal needs to go in order to remain competitive with other platforms like WordPress, Typo3, Adobe Experience Manager, and Sitecore./p pDrupal answers the increasing call for skyscraper websites. It can and does support some of the largest, most trafficked, most complex sites on the planet, and with Drupal 8 we’ll be even better equipped to do so./p blockquotep Images used in this post are done so under Creative Commons. In order:br /a href= - CC BY-SA 2.0br /a href= - CC BY-SA 2.0br /a href= - CC BY 2.0br /a href= - CC BY 2.0br /a href= - CC BY-ND 2.0 /p/blockquote

Drupal Commerce: Commerce 2.x Stories: Update

Wed, 10/21/2015 - 15:50
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodedpDrupal 8 is now ready for production use, with RC1 released just recently. This also means that work on D8 contrib is accelerating, and everyone is curious about when they can start their first eCommerce sites./p pA production ready Commerce 2.x beta won’t happen for another two months. However, we’re ready to start releasing related modules, tag Commerce alphas, write documentation, and track our progress more publicly. Starting from today we’ll do weekly blog posts showing the current state of Commerce 2.x. And for the people who want to build the future instead of just anticipating it, we’re holding IRC meetings every wednesday at 3PM GMT+2 on #drupal-commerce./p pa href=, what have we been up to?/a/p /div/div/div

Wunderkraut blog: The Wunderkraut Gotcha collection volume 3

Wed, 10/21/2015 - 14:28
p class=field-ns-blog-post-lead The developers of Wunderkraut have worked hard on digging up fun and exciting surprises about Drupal since the last edition was published. Now that Drupal 8 is just around the corner, I expect that this will be the last edition of gotchas about Drupal 7 - brace yourself for new ones in Drupal 8! /p div class=field-ns-blog-post-body clearfix div class=field-item evenpThanks to my great colleagues who have helped me gather this list: a href=, a href=, a href=, a href=, a href=, a href=, a href=, a href=, a href=, a href=, a href=, a href=, a href=, a href=, a href=, a href=ķelis/a, a href= translatability/h2pa href= writes: /ppThis annoyed me for two days and took another colleague of mine almost a day until I accidently came across it, to help him out:/ppYou configure breadcrumb, metatags or you-name-it in this great dynamic way like: Read all about [node:field-headline], which is replaced to, say Read all about Munich./ppEverything is just fine./ppUntil you are starting with translation stuff./ppThe token simply resist being translated, no matter what./ppYou put it though t() and surely find it in the translation interface, you translate it to German like Lies alles über [node:field-headline] and end up with a German/English mixture: Lies alles über Munich. (while you would expect to see the german word for Munich here: München)./ppLots of blood, sweat and tears later you find out that tokens with underscores work just fine: /ppPut Read all about [node:field_headline], translate it to Lies alles über [node:field_headline] and you are done./pdivspanDisabling e-mails sent out to new users by Drupal/span/divpYou know, sometimes you don’t want Drupal to send people all those emails when they are signing up to your site. The slightly annoying problem is that the Drupal interface to choose which emails get sent out is a bit hidden. Deep down somewhere: /p pre [11:14] Cristian: I just need to disable that single email ... and I*m not finding a contrib module for that [11:17] Sampo: I think there should be a variable for each of those notifications, but not all of them are exposed to the UI. maybe [12:39] Cristian: @sampo, you were right . I've added the following to settings.php and all is right in the world [12:39] Cristian: $conf['user_mail_register_no_approval_required_notify'] = FALSE;/pre divspanHere is a list of possible values (check the $notify = variable_get('user_mail_' . $op . '_notify', $default_notify); line /spana href=!user!user.module/function/_user_mail_notify/7!user!user.module/function/_user_mail_notify/7/a/div pre [12:50] Jani: @Bernt This _should_ provide a UI for those: h2Panels and Display Suite and region names with 3-col are not friends/h2div /divpa href= wrote this to me: /ppHi! Juho asked me to give this link to you for your next blog post? a href='s an issue where Panels layout doesn't work with Display Suite and the issue occurs because I used names like 3-col in the region. /ph2Time zone handling with Tokens/h2pa href= writes: Note that when displaying date/time values through tokens, it will use default timezone handling ...even you have configured in field that differently (like no timezone handling etc.)/ph2Another inconsistency - with the date module/h2p[10:23] a href= Ehhhh... Nice gotcha from the page:/pplt;?phpbr /$start_date = $wrap_node-gt;field_my_data-gt;value()['value'];br /$start_date = $wrap_node-gt;field_my_data-gt;value-gt;value();br /?gt;/pp /ppAbove two methods of accessing the date value ARE NOT EQUIVALENT. The first one returns date string, and the second a timestamp! I think it should be noted on the page./ppOlli also provides an example as to why that value-gt;value() is there: /ppSince for date fields:/p pre -gt;value()['value']; -gt;value()['value2'];/pre pspanIs pretty much value-gt;value() and value2-gt;value();/span/ppJust slightly different output, for whatever reason. /pdivspanBlock caching - a favourite that has gotten me too/span/divpa href= wrote about a strange case: /ppI have a block that allows to add products to the cart right under the cart page (/cart). This is a form method post that sends to /cart.
 I can't get why it sometimes works, and then i get first a 302 response and then another GET request of /cart. Other times I get a 200 OK response instead and that's it, no product is added.
/ppWhy is this happening - I don’t see no logic to it.. /ppAnd then a bit later: /pp class=quote-greenWow @a href= fixed it! it was a block being cached, damned little riot!/ppFollowing up after this: /ppJani: So resolution was DRUPAL_NO_CACHE Instead of the default DRUPAL_CACHE_PER_ROLE?br /Pauli: One could say that you should always disable caching for any block that contains a form. /ph2Caching form token is a bad idea/h2pNote: This is not a problem for anonymous users/ppThis one I picked up from our favourite friend Drupal Answers: /ppa href= Form API generates a form, it also generates a token that is passed out with the form in a hidden field, and expected to be returned back. If it is, the form is processed./ppIf a rendered form were ever to be cached, say, by Varnish, this mechanism breaks. The first user submitting the form will consume the token, and following attempts to use the form will be rejected. writes user a href= API surprise/h2pAnd here is one gotcha that I stumbled over in a a href= post/a from Garrett Dawson at Aten Design: /ppOne gotcha that seriously gotcha'd me is the necessity of providing a value for either version argument or version callback. The documentation for hook_libraries_info() says that both are optional, but if at least one isn't provided, the library isn't available to load. If you're not concerned about the version of the library, you can use a short-circuit function for the version callback. /ppa href= the original blog post for more/a/ph2Rewrite Results with Path results in doubled language prefix/h2pDrupal user Ursula posted an issue where she reported a problem with views and rewriting of paths on a multilingual site at a href= class=quote-greenTo Fields, I added Content:Path and another field (Content:Performance Title). I then, under Rewrite results of the second field, I check Output this field as a link, and set [path] as the Link path. I tried this with Use absolute path and /spanThe resulting link includes a doubled language prefix like:/spanbr /spana href= href= had a great solution at hand: a href= class=quote-greenWell the problem is that the node:path field is not the best one to use here. A good way is to add a hidden nid field, and then use that as a token when outputting the link like this: node/[nid]./pdiv /divh2Display Suite preprocessed fields are a can of worms/h2pIt is easy to start liking Display Suite’s preprocessed fields as they are quick to get working. But then you might want to put one inside a Field Group - and boom it won’t work as this issue states: a href= got some good advice from a href= /pp class=quote-greenI also got smacked in the face a few times in one project by the inside field group issue, and after that, I learned that it's usually better to favour hook_ds_fields_info over ds preprocessed fields./ph2Creating a Views Bulk Operation based on example module/h2divspanIt is really easy to implement custom actions for VBO, just create a normal Drupal action. But if you want to edit entities, read this Drupal Answers article BEFORE you start working, note especially what it says about 'behaviour': /span/divpa href= found this information AFTER I had gotten it to work properly - I put the 'behaviour' in there because it made sense according to the example module, but my action didn't seem to work because VBO would overwrite my changes. Thank you VBO for 7 new grey hairs. I went through this so that you don't have to! /ph2Interesting way to fill up your database/h2pYet another tip from a href= /ppBe careful with what you put into the t() function. If you put a variable in there, there are good chances you'll fill your translation table very quickly.../ph2Watch out for this when using views and menu_get_object for taxonomy pages/h2 pre [16:34] a href= @Daniel #drupal-gotcha: menu_get_object('taxonomy_term' ..) does not return the expected result, when the taxonomy pages are overridden with views [16:35] Olli: Yep, need to menu_get_object('views_args', ...) or something similar [16:37] Andreas: @Olli yeah, and even worse, when the view is placed on a panel page, those things really bite you in the @ßß when the code relies on the configuration remaining unchanged :( [16:40] Andreas: And it is much easier for debugging, when we do not use the common drupalism to assign the function to a var inside an if test
 if ($term = menu_get_object(...)) gets stepped over in a blink of an eye by the debugger/pre div /divh2Views query alter documentation has important information/h2pa href= from Drupal Answers pointed out a href= important information/a:/ppIf you look at the documentation for views_plugin_query_default::add_where_expression(), you will notice the following note. (The emphasis is mine.)/ppThe caller is responsible for ensuring that all fields are fully qualified (TABLE.FIELD) and that the table already exists in the query. Internally the dbtng method where is used./ph2Batch runs on load balanced environments can give headaches/h2pa href= reported this: /p pre [13:42] Tuomas: If you ever experience issues with batched exports on load balanced environments, this is useful [13:42] Tuomas: #These should be pointed to only one front. if(req.url ~ ^/batch) { set req.backend = web1; } else { set req.backend = default_director; }/pre pTook a while to debug why not all items that should be on export aren't there. Seems some chunks got passed to different server and were not included in the export./ppstrongNote from Janne:/strong An even better approach would be to use client director instead of round robin. That way you don't have to worry about forgetting some path, you still have loadbalanced stuff for all users, and it's even failsafe in that if the web1 goes awol it is still able to direct traffic to web2 instead./pdiv /divh2Date and views together /h2pSomething tells me this one has struck many of us:/p pre [11:51] a href= Hi . Has anybody @here encountered this before ? I have a field of type date which I use to collect date when a certain node was updated ( user inputs the data ) . I want to create a view where I filter all those nodes which have not been updated in the past 3 months. The views filter does not recognize the field as a date field but rather as a test field. Any ideas on what could be wrong ? [11:51] Jim: is views date enabled @Cristian? [11:52] Federico: u're missing views date or date_views maybe? yep the right module is date_views :) [11:53] Cristian: I'll go sit in the corner now ... thanks guys [11:53] Peeter: pshh.. someone take a pic of it. [11:55] Miķelis: ahh, the good old drupal. solve any problem by adding a module. :) [11:56] Federico: :p well sometimes brainfarts happen @Cristian :) [11:56] Cristian: @Bernt , there's another gotcha for you/pre h2Weird error messages and crashing/h2pI am pretty sure a lot of frontenders have been hitten by this one: A lot of core dumps with error messages that don’t really make any sense. /ppAfter digging and digging you ask a colleague and he asks you if you’re using npm in your project? Ooh yes - and then you do realise that php-fpm core dumps because drupal didn't understand the info-files from npm-installed things, in it’s node_modules folders. /ppIssue here: a href= for reporting, a href= The problem that fixed itself/h2pThis is a nice WTF moment, when you spend a while fiddling with a module that doesn’t work right, you check the documentation, Google it a bit, maybe you even open up the debugger and step through the code to see what’s going on, you find the bug and then, only when you’ve even fixed the bug and are ready to create an issue and submit a patch you check the issue queue only to see that somebody beat you to it. /ppA year ago. /ppThe moral to the story is of course to check the issue queue first, and check patches that don’t necessarily seem to be related. /ppAnd if you know a module maintainer that have such lingering patches it doesn’t hurt to remind them over lunch. /p/div /div

Dries Buytaert: WPP-Acquia Alliance: a milestone for Drupal

Wed, 10/21/2015 - 13:23
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodedpToday Acquia announces a href=https://www.acquiaalliance.wpp.comthe WPP-Acquia Alliance/a, a global partnership with the world's largest communications services company. This isn't just a milestone for a href=http://acquia.comAcquia/a -- I believe it to be significant for the a href=http://drupal.orgDrupal community/a as well so let me tell you a bit more about it./p pa href= is a marketing company. A very, very large marketing company. With more than 188,000 people in 112 countries, WPP's billings are nearly $76 billion USD and its revenues approach $19 billion USD. /p pThe reason that the WPP-Acquia Alliance is interesting for a href=http://drupal.comDrupal/a, is because WPP's primary client is the Chief Marketing Officers (CMO). The influence of the CMO has been on the rise; their responsibility has evolved from the one responsible for advertising to having a critical role in designing the customer experience across all the customer touchpoints (including the websites). The CMO often has a deep understanding of how to use technology to deliver an integrated, system-wide customer experience. This is one of Drupal's strengths, and bringing organizations like WPP into the Drupal fold will help bring Drupal into the office of the CMO, grow the adoption of Drupal, and expands the opportunity for everyone in our community. If you believe, as I do, that the CMO is important, than I can't think of a better company to work with than WPP./p pWPP will connect its Drupal developers from several agencies under one umbrella, creating a Drupal center of excellence, and the world's largest Acquia-certified Drupal practice. a href=http://www.globant.comGlobant/a, a href= Hogarth/a, a href=http://www.mirumagency.comMirum/a, a href=https://www.possible.comPossible/a, a href=http://rockfishdigital.comRockfish/a, a href=http://www.vml.comVML/a and a href=http://wunderman.comWunderman/a are some of the agencies who'll be contributing to the WPP-Acquia Alliance, and building innovative Drupal applications for global clients. Acquia will provide WPP its open cloud platform, a href= for multi-site management/a, a href= tools/a, and more./p /div/div/div

Darryl Norris's Blog: Pokémon and Drupal with Pokéapi

Wed, 10/21/2015 - 10:16
img src= style=max-width: 100%; alt=Banner /br / I have been working on website (un)official Pokemon fan website and as part of this project we need to create pages with Pokemon data. I found a href=éapi/a which is a Pokémon RESTful API. Pokéapi have all the data (and even more) that what I need in order to generate my nodes. So, I wrote a a href= that is going to take data from Pokéapi and generate into nodes. I decide to upload that module into just in case someone was to build another Pokemon /br / Initially, I wrote a Drupal 7 module, but since this is a very simple module I decide to port this module to a Drupal 8 module. The D8 version does not require any extra contrib module thanks to the CMI. Here is the project page: a href= href=/blog/pok%C3%A9mon-and-drupal-pok%C3%A9api class=more-linkRead more/a/a

DrupalCon News: Show off your Drupal 8 Recipe at DrupalCon Asia!

Tue, 10/20/2015 - 22:58
div class=field field--name-body field--type-text-with-summary field--label-hiddendiv class=field__itemsdiv class=field__item evenpThe easiest way to get started with Drupal is to do some stuff with Drupal, without writing any code. Yes, there is a module for everything in Drupal. But what makes Drupal even more powerful is how you could get these modules work together, again without any coding!/p h2So, What is a Drupal Site Building Recipe?/h2 pWell it could be a bunch of modules that you could put together to build a site that accomplishes a set goal. A set of instructions on how you configured the modules to work together would make the recipe even more interesting./p/div/div/div