Planet Drupal

Syndicate content
Drupal.org - aggregated feeds in category Planet Drupal
Updated: 11 min 25 sec ago

myDropWizard.com: It's NOT Amazon's fault the internet broke yesterday - it's OURS!

Wed, 03/01/2017 - 17:26
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item evenpYou probably noticed that many sites and apps were having serious problems yesterday due to an Amazon AWS outage./ppSome sites/apps were completely down, and others had partial or reduced functionality. In the Drupal world, a href=https://status.pantheon.io/incidents/4fdw1tgvkqsqPantheon was affected/a: sites didn't go down (huzzah for Pantheon!), but everything was in read-only mode for several hours, so users couldn't upload files to their sites and many dashboard functions didn't work./ppAlready, many are talking about how this outage is proof that the public cloud is a bad idea. Or, that Amazon messed up big time and maybe we should look at other cloud providers./ppstrongHowever, I'm going to argue that it wasn't Amazon's fault that this outage took down so many sites and apps./strong/ppAnd by extension, this isn't proof that the cloud is a bad idea, or that we should look to providers other than Amazon. The cloud is great, and so is Amazon AWS./ppstrongI'm going to argue that it's OUR fault -- the web developers who make all these great apps and sites -- that this outage broke the internet./strong/ppPlease read more to find out why!/pp/div/div/div

Evolving Web: Drupal Theming and Site Building: 6 Best Practices

Wed, 03/01/2017 - 16:39
a href=https://evolvingweb.ca/blog/drupal-theming-and-site-building-6-best-practices?utm_source=feedutm_medium=feed_image img src=https://evolvingweb.ca/sites/default/files/styles/ewsite8_blog_image/public/2017-02/iclzbvw5w5a-todd-quackenbush.jpg?itok=ULpMSYPL width=720 height=585 alt=Drupal Theming and Site Building: 6 Best Practices typeof=Image class=img-responsive //apThere are many ways of building sites and themes - be it Drupal, Wordpress, Magento or any Content Management System. In my particular case, after nine years of building Drupal themes, reading how other themers do it, and learning from my mistakes, I came up with a few tips I would like to share with everyone./p h2Choose a good base theme/h2 pAs I mentioned in my previous post, span class=quickedit-field data-quickedit-field-id=node/248/title/en/fullema href=https://evolvingweb.ca/blog/planning-your-drupal-8-theme-choosing-base-themePlanning Your Drupal 8 Theme: Choosing a Base Theme/a/em, there are lots of factors that will influence your final decision, but you'll eventually start feeling more comfortable with one, and that will be the one you'll be using for most projects./span/p h3span class=quickedit-field data-quickedit-field-id=node/248/title/en/fullStudy the options/span/h3 pspan class=quickedit-field data-quickedit-field-id=node/248/title/en/fullMy first and most important tip: strongchoose a base theme wisely/strong. Try to see what other people use, how they do it and what experiences they had with it. /span/p pspan class=quickedit-field data-quickedit-field-id=node/248/title/en/fullApart from the quality and popularity of a theme, the following questions will always help you make your choice:/span/p ullispan class=quickedit-field data-quickedit-field-id=node/248/title/en/fullstrongHow many people use it?/strong Some themes like a href=https://www.drupal.org/project/bootstrapBootstrap/a have a href=https://www.drupal.org/project/usage/bootstrapmore than 130,000 Drupal 7 8 reported installs/a. This means more people testing it, more live sites and more interest in pushing it forward./span/li lispan class=quickedit-field data-quickedit-field-id=node/248/title/en/fullstrongIs its use increasing?/strong A theme that more and more people use all the time is a good indicator of the emproject health/em. The Installation ratio indicates that it is growing up and gaining popularity across the community./span/li listrongIs there someone regularly behind it? /strongJust feel free to check the issue queue for the latest issues and commits./li listrongHow do I start? What if I have questions?/strong Most themes include their own detailed docs. The issue queue is also a nice source for docs which help one learn how to work with the relevant theme./li listrongHow safe is it?/strong Themes and modules are as safe as any Open Source software. Check for the well-maintained ones, and make sure their stable releases are covered by the a href=https://www.drupal.org/security-advisory-policySecurity Advisory Policy/a - the green shield close to the download./li /ulpAs I said before, feel free to explore a href=https://www.drupal.org/project/project_themeall the available options at Drupal.org/a and ask yourself each one of those questions before making a final decision./p h3...and never modify the base theme/h3 pstrongBase themes are meant to be used as base themes, not as starter themes/strong. If you edit theme files directly, the changes may be lost when you run updates in the future. Be sure to read the a href=https://www.drupal.org/docs/8/theming-drupal-8/creating-a-drupal-8-sub-theme-or-sub-theme-of-sub-themeCreating a Drupal sub-theme/a docs in Drupal.org to properly use these on your projects./p h2Views should always be your first approach/h2 pThere are many ways to build pages in Drupal, either using Views, a href=https://www.drupal.org/project/panelsPanels/a, Blocks, Full HTML on the node body and so on. But there is that feeling you get when you make it work using a View:/p pemWow... this is how it should be./em/p pWhen you use Views, you feel you are doing it right. strongYou feel it is reusable, portable and very flexible/strong. Any Drupal site should be, at least, 90% Views on the Front-end side./p pWhen creating a new page, I suggest preferring the following methods, in order:strong if you can't build your page with one method, only then fall back to the item below/strong. The lower you go down the list, the less reusable and flexible your solution will be./p pemCan I achieve it with...?/em/p ulliViews/li liPanels/li liBlocks/li liParagraphs/li liDisplay Modes/li liFull HTML/li liTemplate Files/li /uldivIn most cases, this has worked for me over the years. Just feel free to evaluate it against solutions you have built before. I would love to hear about your experience on comments below./div h2Template files are the last option/h2 pBased on the list above, editing the template files (code.tpl.php/code on D6/7 and code.twig/code on D8) strongshould always be the last option of your theming strategy/strong. /p pTemplate files should only be considered when:/p ulliAdding editing regions./li liMaking global layout changes./li liCustomizing your layout structure./li /ulpRemember that while overriding template files of a base theme, we are risking smooth support for future updates of it, making our update process harder when newer versions of the base theme come out./p h2Use SASS for your styles/h2 pWith a href=http://sass-lang.com/SASS/a, the strongmaintainability and reusability of CSS styles go to an entirely new level/strong. It is impressive how much time is saved and how flexible and easy to maintain SASS files are, compared to traditional CSS management./p pSASS helps you create styling that is more consistent across different site components, which makes themes more extensible. In a href=https://evolvingweb.ca/blog/setting-sass-compass-your-drupal-8-themea previous blog post/a, I detailed its benefits along with a comprehensive set of steps of how to add it to your theme while moving your existing stylesheets to SASS./p h2Use Paragraphs for your landing pages/h2 pa href=https://www.drupal.org/project/paragraphsParagraphs/a is a new module every site builder should use for creating landing pages. It is definitely a new approach for managing different sections of content inside of the embody field/em. You feel like you're managing movable pieces of HTML code, as it is a flexible way to add, sort customize sections on a particular section of a page./p pIf you are new to Paragraphs, my colleague Suzanne Dergacheva has an interesting post that details a href=https://evolvingweb.ca/blog/creating-landing-pages-drupal-8-and-paragraphsHow to Createspan class=quickedit-field data-quickedit-field-id=node/283/title/en/full Landing Pages with Drupal 8 and Paragraphs/span/a./p h2Where to go now/h2 pWell, it is definitely up to you :) but I suggest everyone to take a look at the following posts as these will help you improve your theming workflow and overall knowledge of Drupal 8:/p ullispan class=field-contenta href=https://evolvingweb.ca/blog/using-core-base-themes-drupal-8 hreflang=enUsing Core Base Themes in Drupal 8/a/span/li lispan class=field-contenta href=https://evolvingweb.ca/blog/drush-commands-for-themers-and-site-builders hreflang=enDrush Commands for Themers and Site Builders/a/span/li lispan class=field-contenta href=https://evolvingweb.ca/blog/how-integrate-material-design-drupal hreflang=enHow to Integrate Material Design with Drupal/a/span/li lispan class=field-contenta href=https://evolvingweb.ca/blog/how-sass-and-bourbon-neat-can-save-non-mobile-websites hreflang=enHow SASS and Bourbon Neat Can Save Non-Mobile Websites/a/span/li /uldivAnd feel free to give some feedback below. Your comments will help me and everyone else improve our theming skills./div a href=blog/drupal-theming-and-site-building-6-best-practices?utm_source=feedutm_medium=more target=_blank+ more awesome articles by Evolving Web/a

Evolving Web: Drupal Theming and Site Building: 6 Best Practices

Wed, 03/01/2017 - 16:39
a href=https://evolvingweb.ca/%20%20___ img src=https://evolvingweb.ca/sites/default/files/styles/medium/public/2017-02/iclzbvw5w5a-todd-quackenbush.jpg?itok=n8qGqX8G width=220 height=179 alt=Drupal Theming and Site Building: 6 Best Practices typeof=Image class=img-responsive //apThere are many ways of building sites and themes - be it Drupal, Wordpress, Magento or any Content Management System. In my particular case, after nine years of building Drupal themes, reading how other themers do it, and learning from my mistakes, I came up with a few tips I would like to share with everyone./pa href=https://evolvingweb.ca/blog/drupal-theming-and-site-building-6-best-practices hreflang=enread more/a

Acquia Developer Center Blog: 249: Changing lives, changing the world - voices from the Dublin Driesnote

Wed, 03/01/2017 - 16:30
div class=field field-name-field-podcast-image field-type-image field-label-hiddendiv class=field-itemsdiv class=field-item evenimg typeof=foaf:Image class=img-responsive src=https://dev.acquia.com/sites/default/files/styles/blog_node_image/public/podcast/images/changing-lives_changing-the-world_mp4.png?itok=Y2yI3s-W width=340 height=260 alt=Franck Seferiba Salif Soulama in the DrupalCon Dublin Driesnote title=Franck Seferiba Salif Soulama in the DrupalCon Dublin Driesnote //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:encodedp strongDrupalCon Dublin keynote community voices/strong - In Acquia podcast 248, Acquia Office of the CTO Multimedia Designer, Alena ASH Heath and I talked about helping capture stories of contribution and change from the Drupal community. In this quick follow-up, here are the soundbites that were featured in Dries Buytaert's Driesnote address at DrupalCon Dublin, 2016. /p p A warm round of thanks to Vijaya Chandran Mani, Zsófi Major, Drew Gorton, Franck Seferiba Salif Soulama, Suchi Garg, Ronan Dowling, Jack Holding, Sheena Morris, and Crispin Read. Thanks for all your help, contributions, and being part of the Drupal community! /p /div/div/divdiv class=field field-name-field-podcast-audio field-type-file field-label-hiddendiv class=field-itemsdiv class=field-item evenaudio controls=controlssource src=https://dev.acquia.com/sites/default/files/podcast-audio/changing-lives_changing-the-world.mp3 type=audio/mpeg //audio/div/div/divdiv class=field field-name-field-skill-level field-type-taxonomy-term-reference field-label-inline clearfixdiv class=field-labelSkill Level:nbsp;/divdiv class=field-itemsdiv class=field-item evena href=/skill-level/beginner typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Beginner/a/divdiv class=field-item odda href=/skill-level/intermediate typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Intermediate/a/divdiv class=field-item evena href=/skill-level/advanced typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Advanced/a/div/div/div

Acquia Developer Center Blog: 248: What's in a Driesnote? ASH 'n jam talk community stories.

Wed, 03/01/2017 - 16:30
div class=field field-name-field-podcast-image field-type-image field-label-hiddendiv class=field-itemsdiv class=field-item evenimg typeof=foaf:Image class=img-responsive src=https://dev.acquia.com/sites/default/files/styles/blog_node_image/public/podcast/images/ash-n-jam_mp4.png?itok=66XJs470 width=340 height=260 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:encodedpAcquia Office of the CTO Multimedia Designer, Alena ASH Heath and I collaborated in 2016, collecting stories about contribution and changing lives from members of the Drupal community. Soundbites from some of those conversations were included in Dries Buytaert's Driesnote keynote address at DrupalCon Dublin. In this podcast, we talk about ASH's history in Drupal, this project and what we learned along the way!/p /div/div/divdiv class=field field-name-field-podcast-audio field-type-file field-label-hiddendiv class=field-itemsdiv class=field-item evenaudio controls=controlssource src=https://dev.acquia.com/sites/default/files/podcast-audio/ash-n-jam.mp3 type=audio/mpeg //audio/div/div/divdiv class=field field-name-field-skill-level field-type-taxonomy-term-reference field-label-inline clearfixdiv class=field-labelSkill Level:nbsp;/divdiv class=field-itemsdiv class=field-item evena href=/skill-level/beginner typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Beginner/a/divdiv class=field-item odda href=/skill-level/intermediate typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Intermediate/a/divdiv class=field-item evena href=/skill-level/advanced typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Advanced/a/div/div/div

Chromatic: Code Reviews are Worth Their Weight in Gold

Wed, 03/01/2017 - 15:40
pCode reviews are not just a quality assurance (QA) process with a different name. They offer a wide variety of benefits to everyone involved, that go well beyond the inherent advantages of a QA process benefits./p

Blair Wadman: Transitioning from Drupal 7 to Drupal 8: programatically creating routes and menu items

Wed, 03/01/2017 - 15:29
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodedpRoutes and menu items are a critical part of the Drupal system. Without them, users would not be able to access the content of a website or any other page. Conceptually Drupal 7 and 8 are the same: map a URL to a function that is responsible for getting and returning the content./p/div/div/div

InternetDevels: The Group module to manage your site access and permissions

Wed, 03/01/2017 - 15:24
div class=field field--name-field-preview-image field--type-image field--label-hiddendiv class=field__itemsdiv class=field__item evenimg src=http://st2.internetdevels.net/sites/default/files/public/blog_preview/the_group_module_in_drupal_8.png width=937 height=622 alt=The Group module to manage your site access and permissions //div/div/divdiv class=field field--name-body field--type-text-with-summary field--label-hiddendiv class=field__itemsdiv class=field__item evenp style=text-align: right;emWe continue to bring you closer to Drupal 8 modules, because they worth your /embr /emattention. Previously we were talking about such modules as a href=http://internetdevels.com/blog/drupal-8-module-rules target=_blankRules/a, /embr /ema href=http://internetdevels.com/blog/bigpipe-drupal8-module-for-website-performance target=_blankBigPipe/a, a href=http://internetdevels.com/blog/the-fast-404-drupal-8-module target=_blankFast 404/a and others. /em/p a href=http://internetdevels.com/blog/group-moduleRead more/a/div/div/div

Mediacurrent: Mediacurrent to Present Seven Sessions at Drupalcon Baltimore

Wed, 03/01/2017 - 14:31
img typeof=foaf:Image src=https://www.mediacurrent.com/sites/default/files/styles/thumb_blog_spotlight/public/drupalcon-recap-01.png?itok=HYaQ7uSx width=200 height=152 alt=DrupalCon Los Angeles Recap title=DrupalCon Los Angeles Recap / p dir=ltrspana href=https://events.drupal.org/baltimore2017/news/announcing-161-sessions-diverse-speakers-new-perspectives-and-top-notch-topicsSelected sessions for Drupalcon Baltimore/a/spanspan have just been announced!br //spanspan/span/p

Agiledrop.com Blog: AGILEDROP: Drupal Logos as Fruits and Vegetables

Wed, 03/01/2017 - 10:30
a href=http://www.agiledrop.com/blog/drupal-logos-fruits-and-vegetablesimg src=https://www.agiledrop.com/sites/default/files/2017-03/fruit%20and%20vegetables.jpg //a Our journey with Druplicons has just started. Last time, we presented you Drupal Logos in Human and Superhuman Forms. Now, it's time to see, how Druplicon can be designed in the shapes of Fruits and Vegetables. First, we'll start with fruits. Druplicon can be an orange (Drupal Camp Atlanta 2016),     which is very similar to Druplicon from the same camp in 2009     Druplicon can be designed as an apple (Drupal Camp NYC 2014)     DruplIcon as a Lemon   Druplicon as a cherry (Drupal Camp Twin Cities 2011)     On the other hand, Vegetable is not neglected. Druplicon can be as an ear… a href=http://www.agiledrop.com/blog/drupal-logos-fruits-and-vegetablesREAD MORE/a

ADCI Solutions: Review of search tools for Drupal

Wed, 03/01/2017 - 10:12
pA quick search and retrieval of relevant results affect the overall quality of customer service. How besides the standard Drupal functionality could the search be implemented? First of all, a Drupal developer should consider a project’s size. A built-in Drupal search or a combination of Search API and a database search would be enough for small websites, but the same won’t work for high load websites. We described the most useful and easy-to-integrate with Drupal search engines. Below is a review of strengths and weaknesses of different systems depending on project requirements. Choose wisely! Read the full article a href=https://www.adcisolutions.com/knowledge/review-search-tools-drupal?utm_source=dorgamp;utm_medium=drupal-planet-feedamp;utm_content=rss-summaryhere/a./p pa href=https://www.adcisolutions.com/knowledge/review-search-tools-drupal?utm_source=dorgamp;utm_medium=drupal-planet-feedamp;utm_content=rss-picimg alt= src=https://www.adcisolutions.com/sites/default/files/filebrowser/users/7/Knowledge/Review_search_tools/review%20of%20search%20tools%20for%20Drupal-02.png style=width: 600px; height: 297px; //a/p p /p p /p p /p

Droptica: Droptica: Flexible and easy content creation in Drupal - the Paragraphs module 

Wed, 03/01/2017 - 09:56
Content creation using the Paragraphs module is a completely different approach compared to the standard content creation in Drupal. In short: we prepare the components (paragraph type) and then, during the creation of an entry, we select any of the available components.  The components can be simple elements containing text, contents with columns or such complex elements as sliders, videos or photo galleries. There are practically no constraints; we can define the available components by ourselves, which will then be used by people dealing with content management.  We can prepare our own templates for the components (tpl.php files). Properly prepared templates and styles for them will ensure the same display of components, regardless of their place of use and the device (responsiveness).

ADCI Solutions: REST Web Services in Drupal 8: quick start guide

Wed, 03/01/2017 - 09:30
pRestful API (also known as web services) gives a wide range of new abilities to developers. Being closely related to Headless Drupal, Restful API lets two computers communicate with each other without any human intervention. It’s called ‘Internet of Things’ (IoT): anything connected to the Internet can be a computer - even your coffee machine. That’s possible when devices use the same API. Amazing, isn't it? Let's look under the hood of the web services in Drupal 8, how they work and how they can be used. The full article is a href=https://www.adcisolutions.com/knowledge/rest-web-services-drupal-8-quick-start-guide?utm_source=dorgamp;utm_medium=drupal-planet-feedamp;utm_content=rss-summaryhere/a.br /a href=https://www.adcisolutions.com/knowledge/rest-web-services-drupal-8-quick-start-guide?utm_source=dorgamp;utm_medium=drupal-planet-feedamp;utm_content=rss-picimg alt= src=https://www.adcisolutions.com/sites/default/files/filebrowser/users/7/Knowledge/RESTful_Drupal/rest%20api_pic.png style=width: 720px; height: 421px; //a/p

Third Grove: Williams-Sonoma To The Trade Drupal Case Study

Wed, 03/01/2017 - 09:00
span property=schema:name class=field-name--titleWilliams-Sonoma To The Trade Drupal Case Study/span span class=field-name--uid rel=schema:authorspan lang= about=https://www.thirdandgrove.com/user/3 typeof=schema:Person property=schema:name datatype= xml:lang=antonella/span/span span property=schema:dateCreated content=2017-03-01T08:00:00+00:00 class=field-name--createdWed, 03/01/2017 - 03:00/span

Acquia Developer Center Blog: Drupal 8 Module (Distro!) of the Week: Panopoly

Tue, 02/28/2017 - 21:00
div class=field field-name-field-blog-image field-type-image field-label-hiddendiv class=field-itemsdiv class=field-item evenimg typeof=foaf:Image class=img-responsive src=https://dev.acquia.com/sites/default/files/styles/blog__190_x110_/public/blog/drupal_8_logo_isolated_cmyk_72_2_29.png?itok=7jopRxqy width=140 height=85 alt=Drupal 8 logo title=Drupal 8 logo //divdiv class=field-item oddimg typeof=foaf:Image class=img-responsive src=https://dev.acquia.com/sites/default/files/styles/blog__190_x110_/public/blog/panels_ipe_video_1_0.gif?itok=AdgmVrId width=140 height=85 alt=Panopoly Inline Panel Editor in action, 1 title=Panopoly Inline Panel Editor in action, 1 //divdiv class=field-item evenimg typeof=foaf:Image class=img-responsive src=https://dev.acquia.com/sites/default/files/styles/blog__190_x110_/public/blog/panels_ipe_video_2_0.gif?itok=_fUoVNsM width=140 height=85 alt=Panopoly Inline Panel Editor in action, 2 title=Panopoly Inline Panel Editor in action, 2 //divdiv class=field-item oddimg typeof=foaf:Image class=img-responsive src=https://dev.acquia.com/sites/default/files/styles/blog__190_x110_/public/blog/panels_ipe_video_3_0.gif?itok=eHEd01he width=140 height=85 alt=Panopoly Inline Panel Editor in action, 3 title=Panopoly Inline Panel Editor in action, 3 //divdiv class=field-item evenimg typeof=foaf:Image class=img-responsive src=https://dev.acquia.com/sites/default/files/styles/blog__190_x110_/public/blog/panels_ipe_video_4_0.gif?itok=Lk9Q4l0c width=140 height=85 alt=Panopoly Inline Panel Editor in action - mobile title=Panopoly Inline Panel Editor in action - mobile //divdiv class=field-item oddimg typeof=foaf:Image class=img-responsive src=https://dev.acquia.com/sites/default/files/styles/blog__190_x110_/public/blog/panopoly_2x_front_ipe_1.png?itok=MQbZwa23 width=140 height=85 alt=Panopoly for Drupal 8 title=Panopoly for Drupal 8 //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:encodedp emstrongThis week: a href=https://www.drupal.org/project/panopolyThe Drupal 8 Panopoly distribution/a/strong // Drupal 8 has more and more features available practically every day. Alongside module migrations and new projects, the Drupal community’s latest major release also offers new ways of solving common problems. Some functionality has moved to Drupal core and new modules have taken up the torch along the way. In this series, the Acquia Developer Center is profiling useful solutions--modules, themes, distros, and more--available for Drupal 8./em /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/divdiv class=field-item odda href=/tags/panels typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=panels/a/divdiv class=field-item evena href=/tags/scotch typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=SCOTCH/a/div/div/div

Drupal core announcements: Updated deprecation process for Drupal 8 code

Tue, 02/28/2017 - 19:20
pIn Drupal 8, a href=https://www.drupal.org/core/release-cycle-overviewminor updates/a can introduce new APIs and features. When a new API is added, the old API will be deprecated in favor of the new one. We cannot remove the old API in a minor release because Drupal 8 makes a a href=https://www.drupal.org/core/d8-bc-policybackwards compatibility promise/a, but it will usually be removed in the next major version (Drupal 9)./p pContributed project developers, as well as those maintaining custom integrations, should follow the deprecations when possible and use the latest APIs available. This means that when Drupal 9 is released they will have to make fewer changes to be compatible./p pFrom Drupal 8.3.0 onwards, in order to make the deprecation process as simple as possible for developers and users, we have created a a href=https://www.drupal.org/node/2856615#whatnew deprecation policy/a that details what can be deprecated and how./p

Mark Koester: Announcing Shave Module for Drupal: Truncate Text to Fit an HTML Element

Tue, 02/28/2017 - 16:00
div class=field field-name-field-image field-type-image field-label-hiddendiv class=field-itemsdiv class=field-item even rel=og:image rdfs:seeAlso resource=http://int3c.com/sites/int3c.com/files/field/image/shave-trim-for-drupal_0.pngimg typeof=foaf:Image src=http://int3c.com/sites/int3c.com/files/field/image/shave-trim-for-drupal_0.png width=1500 height=527 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:encodedpemEver needed to trim text to fit the height of an area?/em Shave Module for Drupal helps you do this intelligently by allowing you to truncate text to fit within an html element. Instead of merely tweaking the trim of characters output, set the max-height and Shave library will truncate or “shave” your text accordingly./p pstrongHow do we do this?/strong The a href=https://www.drupal.org/project/shaveShave for Drupal module/a provides integration with the a href=https://github.com/dollarshaveclub/shaveShave Library/a. Shave, which ironically enough we developed by the Dollar Shave Club, is a javascript plugin that truncates text to fit within a html element based on a set max-height. It a super lightweight library at ~1.5kb unminified and doesn’t require any other additional libraries./p pFor those who want the technical side, here is the gist:/p blockquote pShave is a zero dependency javascript plugin that truncates multi-line text to fit within an html element based on a set max-height. It then stores the diff of the original text string in a hidden span element following the visible text. This means the original text remains intact!/p /blockquote pstrongHow does the library work?/strong Shave actually maintains the original text after truncation, and instead it adds span and div tags to make the specific adjustments upon page load (or optionally dynamically). The integration only requires a selector and a max height/p pstrongHow to install?/strong Before enabling and installing this module, Download shave plugin from a href=https://github.com/dollarshaveclub/shavehttps://github.com/dollarshaveclub/shave/a into the libraries directory and rename folder to shave/p pstrongHow does the Shave for Drupal module work?/strong So, instead of using Drupal’s default trimming mechanism based on number of characters, you can set the max-height and the text will be trimmed accordingly to fit that height. We do this by using a custom text formatter./p pThe text formatter is called Shave Formatter,” and it can be used on node display, views, panels, etc. to set the height you wish to shave elements to. That way you can select format on textfield, textarea, etc with a size and it will shave content according to that./p pWe also provide Shaver classes on elements, That way you can add classes to fields like this shave-formatter shave-format-30 and it will shave that container text to appropriate size. This important if you want to shave titles, which do not provide by default a text formatter option./p pstrongSome more cool stuff about Shave Module?/strong It maintains the original text after truncation. You can use custom ellipsis and strings if you want. And if you are using Japanese or Chinese, Shave even supports non-spaced languages (Non-ascii)./p pHopefully this integration check your next project. Check out Shave for Drupal at: a href=https://www.drupal.org/project/shavehttps://www.drupal.org/project/shave/a. Comments, feature requests and bug reports welcome!/p /div/div/divdiv class=field field-name-field-tags field-type-taxonomy-term-reference field-label-abovediv class=field-labelTags:nbsp;/divdiv class=field-itemsdiv class=field-item even rel=dc:subjecta href=/tags/customization typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=customization/a/divdiv class=field-item odd rel=dc:subjecta href=/tags/drupal-7 typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=drupal 7/a/divdiv class=field-item even rel=dc:subjecta href=/tags/open-source typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=open source/a/divdiv class=field-item odd rel=dc:subjecta href=/tags/contribution typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=contribution/a/divdiv class=field-item even rel=dc:subjecta href=/tags/drupal-planet typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Drupal Planet/a/divdiv class=field-item odd rel=dc:subjecta href=/tags/planet-drupal typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Planet Drupal/a/divdiv class=field-item even rel=dc:subjecta href=/tags/responsive typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=responsive/a/div/div/divdiv class=view view-author view-id-author view-display-id-entity_view_1 view-dom-id-6e110cf25be78e124530df0fe42333ed div class=view-content div class=views-row views-row-1 views-row-odd views-row-first views-row-last div class=views-field views-field-nothing span class=field-contentdiv class=author_block div class=user_image img typeof=foaf:Image src=http://int3c.com/sites/int3c.com/files/styles/square_thumbnail/public/pictures/picture-2-1395211903.jpg?itok=IDtRASfs alt= / /div div class=user_details span class=nameMark Koester/span span class=twitter_handlea href=https://twitter.com/markwkoester target=_blank@markwkoester/a/span span class=job_titleMark has worked on Drupal since the early days of D6. He is passionate about open source as well as entrepreneurship. When he isn#039;t building, he enjoys traveling and speaking one of his many foreign languages. /span span class=locationChengdu, China/span /div /div/span /div /div /div /div

Agiledrop.com Blog: AGILEDROP: Context Groups

Tue, 02/28/2017 - 09:36
a href=http://www.agiledrop.com/blog/context-groupsimg src=https://www.agiledrop.com/sites/default/files/2017-02/Context%20group4.png //a When starting a new Drupal project, you have to decide, how you will handle a block layout. If you can’t achieve the desired layout with Drupal core block layout, you will probably choose Context or Panels module for handling a layout. If you chose Context over Panels, this blog post will help you build more complex layouts with context. Almost anyone, who used Context module, had a case, where they wanted to place two, three or more blocks next to each other and maybe one block below as it is shown in the picture bellow.     You probably managed that by creating a new region for the… a href=http://www.agiledrop.com/blog/context-groupsREAD MORE/a

SystemSeed: Q1 2017 - New year = new technologies

Tue, 02/28/2017 - 09:15
pLate last year we blogged about the SystemSeed company trip to Minsk in order to work, bond and be merry. Each were achieved in equal degrees and we came away with revitalised enthusiasm for our work and a shift in what exactly that work would contain./ppI’m happy to announce today a turning point at SystemSeed where we will begin to offer service beyond solely Drupal development. For the past 7 years+ we have branded ourselves as Drupal Enthusiasts™ but times change and we must all keep up, not with trends but an ever-moving landscape./ph2iDrupal+/i/h2pFrom Nov 2016 we have been developing with ReactJS and NodeJS as well as Drupal backend micro-services on internal projects. From Feb 2017 we starting rolling our this new stack to client projects that will benefit from it./ppWe aim to provide much of this work back the open source communities through Drupal.org and through our SystemSeed Github account in order to help support others who wish to benefit from this code and allow others to support us in our move to embrace the latest, greatest technologies./ppOur first client project to embrace this change will include:/pulliNew and exciting payment methods! :O/liliAPI-first micro-services across the backend./liliPublic accessible API design as standard, for public consumption as the client permits.br//liliFully decoupled ReactJS amp; NodeJS frontend GUIs./liliAPI versioning. Eg, the ability to turn on site upgrades per micro-service between separate sites running the same distribution (note - not distro-wide upgrades, but a custom mix of individual micro-service upgrades) /liliHealth Monitoring dashboards as standard checking:/liulliAll micro-services./liliAll regression and unit tests (live and multi-dev)/li/ulliAdmin UX discovery to drive intuitive CRUD of systems data./liliEnhanced Devops (per multi-dev build)/liulliAutomated high % test coverage of all code written/liliAutomated documentation for code/liliAutomated security checks within CI /liliAutomated open source upgrade checks within CI/liliAutomated performance checks within CI/liliHigh sensitivity alerts to cover downtime or performance issues/li/ul/ulpThis really is just the tip of the iceberg and as we open source our new toolset we’ll give a deeper insight into what strategy was followed and how everyone may benefit from this work./ph2#staytuned/h2

hussainweb.me: Drupal Meetup Bangalore – February 2017

Tue, 02/28/2017 - 05:58
This month’s Drupal meetup was held at TCS Global Axis office in Bangalore on February 25, 2017. TCS has previously hosted us at their other office in Whitefield and we are grateful for their support for Drupal community activities.