Drupal

JavaScript breakpoints

New Drupal Modules - 25 March 2018 - 5:04am

Use your Drupal breakpoint media queries in your JavaScripts!

Given the following in the active theme's *.breakpoints.yml:

mobile: label: mobile mediaQuery: '' weight: 0 multipliers: - 1x narrow: label: narrow mediaQuery: 'all and (min-width: 560px) and (max-width: 850px)' weight: 1 multipliers: - 1x wide: label: wide mediaQuery: 'all and (min-width: 851px)' weight: 2 multipliers: - 1x

You can use your Drupal breakpoints with Window.matchMedia in your conditions:

Categories: Drupal

Savas Labs: Updating Drupal 8 core via Composer

Planet Drupal - 24 March 2018 - 5:00pm

Updating Drupal 8 core with Composer has proven to be a problematic process for many developers and has caused some to abandon the platform entirely, opting to stick with Drupal 7. Having updating our own Drupal 8 sites many times now, we've compiled some notes on how to use Composer to update core and what to do when issues arise. Continue reading…

Categories: Drupal

Instagram Hashtag Fetcher

New Drupal Modules - 24 March 2018 - 10:38am

This module adds a way to create entities with data from Instagram which can be used in Instagram carousels or what not.

It uses https://github.com/postaddictme/instagram-php-scraper to scrape Instagram using a Hashtag (#summer for example) and presents all the pictures in pages letting you add them to the entity for usage in views or what ever.

Categories: Drupal

Views taxonomy term name into ID

New Drupal Modules - 24 March 2018 - 9:29am
About

Drupal 8's version of Views is included in core, and very powerful.

However, its handling of taxonomy terms is missing some important features, and can be confusing to configure properly.

The default contextual filter (aka "argument") for D8 taxonomy terms is called "Has taxonomy term ID", which builds the most efficient query to find content tagged with a given term.

Categories: Drupal

Paragraphs Browser+Previewer

New Drupal Modules - 24 March 2018 - 3:02am

This module provides possibility to use functionalities from Paragraph Browser widget and Paragraph Previewer widget in one widget.

Categories: Drupal

KnackForge: How to update Drupal 8 core?

Planet Drupal - 23 March 2018 - 10:01pm
How to update Drupal 8 core?

Let's see how to update your Drupal site between 8.x.x minor and patch versions. For example, from 8.1.2 to 8.1.3, or from 8.3.5 to 8.4.0. I hope this will help you.

  • If you are upgrading to Drupal version x.y.z

           x -> is known as the major version number

           y -> is known as the minor version number

           z -> is known as the patch version number.

Sat, 03/24/2018 - 10:31
Categories: Drupal

Ashday's Digital Ecosystem and Development Tips: The Future of Websites: CMS or Website Builder Tools?

Planet Drupal - 23 March 2018 - 1:00pm
Why Squarespace Will Replace Wordpress, Wordpress Will Replace Drupal, and Drupal Will Replace Drupal

When the open source WordPress blogging platform first came out, it opened up the world of internet publishing to the masses. Sure, there were website builders out there like GeoCities and Angelfire, but they lacked much and were very ugly. When WordPress came along it gave voice to those willing to overcome the barriers of setting up web hosting and installing the software. These days there are much better website builders for the common person. Squarespace being a standout of the group even has an easy to use e-commerce option. Because of this, the roles of many popular Content Management Systems (CMS)s are shifting.

Categories: Drupal

DrupalCon News: Join the Developer Contest in Nashville

Planet Drupal - 23 March 2018 - 11:51am

We're excited to welcome back the DrupalCon Developer Contest - our first since Los Angeles.

Categories: Drupal

Search Index

New Drupal Modules - 23 March 2018 - 11:44am

Tired of having huge search index tables on your website's database? Read further!

The core search module disregards use cases when Drupal sites need to have only certain content types indexed. It scans all nodes of all existing content types, regardless if some of them are never meant to be searchable, and so adds a lot of unnecessary processing load during indexing and inserts a lot of extra data in the database, which will never be used.

Categories: Drupal

Acro Media: A Reaction to "A New Documentation Initiative"

Planet Drupal - 23 March 2018 - 11:06am

Matthew Grasmick, grasmash on drupal.org and twitter.com, has written another inspiring post on documentation. As our CTO, Shawn McCabe has often said before, give Acro an easy button, and we’re 100% behind better documentation.

You can read Matthew’s original blog post for a more thorough and somewhat more roundabout explanation of his proposal. Below I’ve edited the heart of his post into 6 distinct proposals and responded to each one.

In general, I think we can all agree the documentation for Drupal has needed a breath of fresh air and is constant source of frustration for new and experienced users alike.

Proposal #1A:  Elevate some docs to "official"

Elevate the Drupal 8 User Guide to the status of "Official Documentation"

The idea of creating a tiered documentation has been implemented partially already with the new documentation migration initiative. I think Matthew’s proposal goes one step further by wanting to introduce a new taxonomy term called “Official” for the “documentation page” and “documentation guide” that carries more weight. This idea is very drupally, as we currently do this exact same thing with marking modules as covered by the security policies. Providing a level of assurance that a certain module is produced by people who know what they’re doing and backed up by a team of specialists who voluntarily deal with logistics and other high-level situations.

In general, I think Matthew’s first proposal is a good one. We should implement it by “blessing” certain documentation pages and guides with a stamp of approval / official.

Proposal #1B:  Prominently Feature "Official Docs"

Update the UX on Drupal.org to prominently feature the Official Documentation on major site entry points.

Along with the “stamp of approval” we would “red light / green light” these pages. Essentially flagging pages as “red light, unofficial” and “green light, official” would go a long way to signalling to the community at large that we take documentation seriously and only greenlight the best of the documentation.

To take Matthew’s proposal seriously, though, we would also need to implement new call-to-actions on non-documentation pages that point to the “official” pages. Maybe revamp the navigation of header and footer on drupal.org to clarify the difference between “official” documentation and “unofficial.”

Proposal #2:  Adopt Best Practices

We should adopt the following as best practices for all Official Documentation:

This is the heart of the proposals. Matthew wants to constrain the carrot, that “official” stamp of approval, through a high-level checklist of best practices. Agreed. Below is a quick run down of the best practices Matthew is proposing.

  1. A governance process
  2. Use version control
  3. Use and follow documentation standards
  4. Write documentation in markdown format
  5. Use continuous integration process to generate and update screen shots of Drupal interfaces. (<a href="https://drupalize.me/blog/applying-lessons-user-guide-drupal-documentation">Additional Info</a>).
Proposal #3:  Integrate Semantic Versions

Let's integrate the semantic versions (8.5.x, 8.6.x, 9.0.x, etc.) into the Official Drupal.org Documentation UX, much in the way that Symfony and Laravel do.

This is absolutely critical but also a huge technical task (high risk). It means that official documentation would need to have it’s status coupled with minor releases of Drupal. The bigger our official documentation grows, the larger the task will be to maintain it adequately between minor versions. I think the manpower needed to make this idea happen might just burn out the individuals interested in stepping up to make it happen. If we, the Drupal community, can stomach the high risk nature of such a claim, then by all means, we need this.

Perhaps a way to reduce risk is to “evergreen” stamp certain pages, clarifying the fact that certain pages would not likely need updated between minor releases. We could also reach out to Symfony to ask how they manage minor releases and documentation.

Proposal #4:  Lower Contribution Barrier

Lower the contribution barrier.

Decoupling the documentation contributors could impact the early adopters positively and long term users negatively. I think think the primary way to achieve the goal set out in this proposal is tightly coupled with the next proposal, by letting users of an open source git-powered platform make the edits, we essentially open source our documentation and our processes at the same time.

I helped spearhead the move of Drupal Commerce’s documentation to the subdomain “docs” for the same reason. We have much better documentation because of this move. Anecdotally, for Drupal Commerce 1, we had maybe a handful of contributors to Drupal’s documentation. Now, for version 2, we have a myriad of contributors (51!!). Scaling documentation is hard, and this is one way to increase involvement.

Personally, I absolutely love this part of Matthew’s proposal. Professionally, I think the community is divided and people are picking sides. They are rightly asking: Why can't Drupal do this very content heavy thing better? Perhaps the answer is: Drupal can do this! We just have to accept this content lives in a version-controlled repo and not in the database.

Proposal #5:  Host Docs on Repo

Use a repository that is hosted on GitHub (or GitLab) to manage the official Drupal documentation.

Agreed. I’m looking forward to learning how drupal.org will move to one of the git-based hosting services. I’d throw my hat into the github arena, but the initiative for drupal.org has already chosen bitbucket. So let’s use bitbucket.

Proposal #6:  One Pager

Create a new class of documentation that we're lacking: "The Official One Pager."

Cool, love the idea. I think we could take or leave this. If I were proposing these changes to a client, I would mark this proposal as optional. This helps communicate that this proposal is a lower priority (unless the decision makers want to make it a higher priority) and helping the decision makers understand that this scope increase, while very beneficial, would impact the delivery and bottom line and could easily be moved on to a different delivery schedule.

Categories: Drupal

Shutdown Maintenance

New Drupal Modules - 23 March 2018 - 8:34am

By default, Drupal's maintenance mode permits users to log in, so long as they have the correct permissions.

This module hardens the system: users may not log in; logged in users are logged out. Unless other contrib modules intervene, only the maintenance page is displayed.

Why? This module permits a site builder to shut down Drupal in the event of a security concern that implicates the log in function.

Categories: Drupal

Brian Osborne: Overriding module configuration in a Drupal 8 installation profile (with some "gotchas")

Planet Drupal - 23 March 2018 - 6:31am

I'm working in creating a Drupal 8 installation profile and learning how they can override default configuration that its modules provide at install time.

Categories: Drupal

Material ScrollTop Button

New Drupal Modules - 23 March 2018 - 5:39am

This module makes it easy to use Material ScrollTop Button within a Drupal 7 site.

Categories: Drupal

Valuebound: How to integrate Salesforce with Drupal 8 website

Planet Drupal - 23 March 2018 - 5:16am

Integration of CRM tool with web applications has turned out to be an undaunted task especially when you monitor/manage your contacts, existing clients and leads generated for marketing campaigns. In this post, I would like to walk you through Salesforce integration with Drupal web application. Let’s dive in to the basics of Salesforce.

Salesforce is a cloud-based CRM solution that helps business effectively manage sales, service, marketing, collaboration, analytics, and building custom mobile apps. In order to manage the business effectively, companies need to integrate their Drupal website with Salesforce CRM solution, which…

Categories: Drupal

Soundcloud with WYSIWYG

New Drupal Modules - 23 March 2018 - 4:55am

This WYSIWYG plugin will allow to embed soundcloud music into the ckeditor as iframe. We can play the music in the site.

Categories: Drupal

Link Popup using Bpopup

New Drupal Modules - 23 March 2018 - 4:47am

Link Popup - Open Link in Pop up - use bPopup

This module will allow to open the links in drupal in popup whether it is node link or any custom page link.
To do so one has to add attribute rel="link-popup" in the link tag.

This module requires the bPopup library which can be downloaded from:
http://dinbror.dk/bpopup/
OR
https://github.com/dinbror/bpopup

Categories: Drupal

Rakuten Web Service

New Drupal Modules - 23 March 2018 - 4:34am

Unofficial integration module with Rakuten Web Service SDK for PHP.

Rakuten Web Service SDK for PHP is a library to make it easy to connect to the Rakuten APIs.

Categories: Drupal

fake_data_generator

New Drupal Modules - 23 March 2018 - 2:37am
Categories: Drupal

Database Administration Tool

New Drupal Modules - 23 March 2018 - 1:08am
Categories: Drupal

Vimeo Entity Field

New Drupal Modules - 22 March 2018 - 11:18pm

The Viemo field module will give a simple field that allows admin to add a viemo video to a content type or any other Drupal entity.

This module is a simple and lightweight compare to Media, Embedded Media Field , and Video Embed Field.

Categories: Drupal

Pages

Subscribe to As If Productions aggregator - Drupal