Drupal

SliderWidget

New Drupal Modules - 30 July 2018 - 1:26am

Module create slider widget for number field type. Widget use SliderUI JQuery library. All library options could be set in widget settings form.

Categories: Drupal

ZONModule

New Drupal Modules - 29 July 2018 - 9:31pm
Categories: Drupal

wkhtmltopdf

New Drupal Modules - 29 July 2018 - 6:07pm

Third party integration with https://wkhtmltopdf.org/

In development.... add tests, creating readme, improve approach

Categories: Drupal

ChatBro

New Drupal Modules - 29 July 2018 - 12:12pm

Integration of https://www.chatbro.com/

Categories: Drupal

CKEditor Widgets Bootstrap Grid

New Drupal Modules - 29 July 2018 - 7:06am

CKEditor Widgets Bootstrap Grid
This is just another small module introducing the Bootstrap Grid to CKEditor.

This only works if you have Bootstrap theme/library enabled!

Categories: Drupal

Feeds Big File Fetcher

New Drupal Modules - 29 July 2018 - 2:59am

This module will use cRUL to download the URL into a system file.
It is not processing the file directly, to avoid memory issue (by loading the content of the file in memory).

I've used this module together with:
https://www.drupal.org/sandbox/darthsteven/1728218

to import a large .xml file, avoiding memory issues.

Categories: Drupal

Layout Kit

New Drupal Modules - 28 July 2018 - 5:10pm

Layout Kit is a ready to use set of layouts, now (take a look at screenshots):

  • Accordion.
  • Conmutator (accordions where all the sections can be closed/opened at once).
  • Tabs: horizontal.
  • Tabs: vertical.
Categories: Drupal

hussainweb.me: Drupal Meetup Bangalore – July 2018

Planet Drupal - 28 July 2018 - 1:31pm
July’s Drupal meetup was held at 91Springboard in Koramangala. We are back after a long time and that’s thanks to 91Springboard for providing us with the venue. Snacks in the meetup and lunch after the meetup were courtesy of Axelerant.
Categories: Drupal

Cielo Integration

New Drupal Modules - 28 July 2018 - 7:31am

This module provides an integration with cielo api.

Cielo is the largest Brazilian credit and debit cart operator and the biggest payment system company in Latin America by revenue and market value.

Categories: Drupal

mark.ie: Exclude Current Node from List of Related Nodes by Taxonomy Term

Planet Drupal - 28 July 2018 - 3:28am
Exclude Current Node from List of Related Nodes by Taxonomy Term

You know the scenario - you want to list nodes that have the same taxonomy term(s) as the node you are currently viewing. Easy, but you also want to exclude the currently-being-viewed node from the list. Always trips me up.

markconroy Sat, 07/28/2018 - 11:28

Each time I have to do this, I read a blog or two or a Drupal issue or two and still I always end up with a quirk. Here's what I normally do:

  1. Create the view
  2. Add a contextual filter for the taxonomy field you want to filter by
  3.  Provide default value
  4. Taxonomy term ID from URL
  5. Load default filter from node page, that's good for related taxonomy blocks
  6. Limit terms by vocabulary
  7. Click Apply
Now I'm Stuck

This gives you a list of nodes related to the current one, but the current node will always show up in your list. If you edit that contextual filter and expand the 'More' tab at the end, and then choose 'Exclude: If selected, the numbers entered for the filter will be excluded rather than limiting the view.' you will be forgiven for thinking this will exclude the current node. IT WON'T. In this case, it will exclude the currently selected taxonomy term - which is the opposite of what you want to do.

The Solution? Another Contextual Filter
  1. Create another contextual filter for 'ID', as in, the Node ID.
  2. Provide default value
  3. Content ID from URL
  4. Scroll to bottom of page and expand the 'More' tab
  5. Click Exclude: If selected, the numbers entered for the filter will be excluded rather than limiting the view.

Now, the second filter will exclude the currently-being-viewed node, while the first filter will do the related-node-taxonomy-magic-dance.

 

Categories: Drupal

Matt Grasmick: Documentation Initiative Update, UX Changes to Drupal.org

Planet Drupal - 27 July 2018 - 6:02pm

The documentation initiative was announced at DrupalCon Nashville nearly four months ago. In his keynote, Dries’ highlighted my blog post, in which I provided statistics and anecdotes about the challenges of Drupal.org’s documentation and evaluator experience. The documentation initiative aims to address these challenges. What’s happened since then?

I’ve worked over the past few months with a small team of contributors to propose solutions, build consensus, and make improvements to the documentation on Drupal.org. Thank you to all of those that have been active in the issue queues and bi-weekly meetings!

The work has been focused on the initiative’s three goals:

  1. Make UX improvements to documentation on Drupal.org.
  2. Improve existing Community…
more
Categories: Drupal

Commerce Guys: Scheduling time for maintaining Drupal Commerce integrations

Planet Drupal - 27 July 2018 - 4:42pm

Commerce Guys maintains a suite of ecosystem modules that give merchants easy access to third-party integrations as part of leading the Drupal Commerce project.

Historically, the issue queues for these modules were looked at when a client requested it or someone from our team had spare time, but that timing was pretty irregular. To provide developers and merchants with a better experience, we’ve decided that moving forward we’re committing dedicated time to review these third-party issue queues on a regular basis.

Our Commitment
Once a week, we’re setting aside time to review new issues in the queues. We’ll use that time to do several things: identify bugs, direct people toward resources to help them solve their problems more quickly, identify earlier when we need more information from the reporter, and help move community patches forward.

Cleaning the Current Queues
As part of this renewed focus on integrations, we’re starting by cleaning up the issue queues. To give ourselves a clean slate, we’ll be closing a lot of these older issues. This will allow us and other contributors to focus on relevant problems. There are a significant number of old issues hanging around that represent duplicate bug reports, tasks that were resolved via other patches, or issues that cannot be resolved without clear steps to reproduce the problem.

What to if we close an issue you still need resolved?
If we close an issue that you’re still having problems with please let us know! The best thing to do would be to reopen the issue with additional information. Please include any error messages you’re seeing, custom code that may affect the module, and clear steps to reproduce the bug. Screenshots or recordings of the issue in action would be great, too!

Categories: Drupal

Ashday's Digital Ecosystem and Development Tips: Five Drupal Features Essential to Publishing

Planet Drupal - 27 July 2018 - 2:00pm

If you are in the publishing industry, you already know that Drupal 8 is by far the most useful CMS for publishers. It was great in Drupal 6 & 7 and with 8 it keeps getting better with each major release. Combined with the community contributed modules, Drupal 8 is the best platform for publishers yet. Here are five features in Drupal 8 that are essential to publishing.

Categories: Drupal

OpenSense Labs: Smart Trim your Content and Modify Teasers

Planet Drupal - 27 July 2018 - 8:26am
Smart Trim your Content and Modify Teasers Raman Fri, 07/27/2018 - 20:56

Teasers provide a brief summary or a short description of an article (or any other content). They give a visitor an insight and a quick overview of the content. Hence, it becomes crucial for a teaser to be eye-catchy in order to get that one click from the reader. It should leave them with a sense of curiosity and intrusiveness.

Drupal, out of the box, provides a teaser view mode and three formats for the text fields – Default, Summary or Trimmed and Trimmed. However, the trimming feature is very limited and allows only the number of characters to be configured.

Trimming options for text fields out of the box

We can use a contributed module, Smart Trim to take this trimming functionality to another level. Let us have a look at it.

Downloading and Installing Smart Trim

The module has dependencies on a few core modules including Field, Filter, User, System, and Text. Once you have made sure these are enabled, you can download and install it using any of the below methods.

$ drush dl smart_trim && drush en smart_trim -y

or

$ drupal module:download smart_trim && drupal module:install smart_trim

or

$ composer require 'drupal/smart_trim:^1.1'

After downloading the module using composer, enable it from the admin UI available at admin/modules.

Enabling Smart Trim module using admin UIModifying Teasers of Content using Smart Trim

The module declares a new field format, Smart trimmed, with a set of configurable options. To modify the teasers of your content, follow the below steps.

  1. Navigate to Manage → Structure → Content types → {your-content-type} and select the Manage Display tab.
     
  2. Next, select the view mode from the sub-tabs. You may do it for any of your view modes, but for now, let us do it for the teaser view mode.
     
  3. Change the field format of the required field to “Smart trimmed” to take advantage of the module. You can do this for any of the text fieldsSelecting Smart trimmed text format
  4. Click on the gear icon to bring down the configuration options for the format. Here, as you can see, we get a lot more options than the standard trimmed format.Configuring the format settings
  5. You can now configure the following settings as per your preference
     

    Configuration

    Default Value

    Description

    Trim Length

    600

    The number of units of text in the Smart Trim mode (including HTML markup)

    Trim Type

    Characters

    Use characters or words to count the trim length

    Trim Suffix

    -

    Suffix characters at the point of Trimming

    Wrap Output

    False

    Add a tag to wrap the trimmed content

    Wrap Class

    Trimmed

    CSS class of the wrapper tag

    More Link

    False

    Show a more link

    More Class

    More-link

    CSS class of more link

    More Text

    More

    Text for more link

    Summary

    Use summary if present, and do not trim

    Use a provided summary or the trimmed content

    Strip HTML

    False

    Strip off the HTML added in the WYSIWYG for the trimmed content

    Honor a zero trim length

    False

    Allow a trim length of zero units

  6. Click on “Update”, followed by the “Save” button to save the changes

Now, go back to your view or the page where the configured view mode is being used. You will observe that the changes have been successfully applied.

Teaser of an article with Smart trimmed field format

Looking at the source code of the page, we can see that the wrapper tag has been added with the configured CSS classes. You can now also add custom CSS for these classes in your Drupal theme.

Observe the CSS classes applied to the div tag and more linkSumming Up

The Smart Trim module blends smoothly and proves to be one of the must-have modules or your Drupal site. Its easy configuration allows site builders to quickly add a new field format and harness the full power of the teaser view mode.

In case of any query or suggestion, don’t forget to leave a comment down below.

blog banner blog image Blog Type Tech Is it a good read ? On
Categories: Drupal

Flysystem Aliyun OSS

New Drupal Modules - 27 July 2018 - 8:23am

Provides an Aliyun/Alibaba Cloud OSS plugin for Flysystem.

Dependencies

composer require aliyuncs/oss-sdk-php:2.3.0 -vvv

Configuration

Example configuration:

Categories: Drupal

Microsoft sends strong message about GitHub's independence

Dries Buytaert - 27 July 2018 - 6:53am

On the heels of Microsoft acquiring GitHub for $7.5 billion, Google has partnered with Microsoft to provide a continuous integration and delivery platform for GitHub. While I predicted Microsoft would integrate build tools into GitHub, I didn't expect them to integrate with Google's as well. Google and GitHub probably partnered on this before the Microsoft acquisition, but I'm pleasantly surprised that Microsoft has decided to offer more than Azure-based solutions. It sends a strong message to anyone who was worried about Microsoft's acquisition of GitHub, and should help put worries about GitHub's independence to rest. Satya Nadella clearly understands and values the Open Source movement and continues to impress me. What an interesting time to be a developer and to observe the cloud wars!

Categories: Drupal

Cludo Search

New Drupal Modules - 27 July 2018 - 2:05am

This module allows users to set up Cludo search https://www.cludo.com/ on their website, it sets up search blocks for the form and for the results page.

There is a configuration page where you can add your Cludo Authentication details and the path to your search page.

Categories: Drupal

OpenAPI Field Formatter

New Drupal Modules - 26 July 2018 - 11:31pm

Placeholder for a visualization library agnostic field formatter for OpenAPI files.

Until it will be released please use the Swagger Field Formatter.

Initial discussion about this project: https://www.drupal.org/project/swagger_ui_formatter/issues/2984658

Categories: Drupal

Role Menu Block

New Drupal Modules - 26 July 2018 - 7:18pm

The new block for sidebar display, it work well with color admin theme project.ColorAdmin

Categories: Drupal

Semaphore format

New Drupal Modules - 26 July 2018 - 2:07pm
Categories: Drupal

Pages

Subscribe to As If Productions aggregator - Drupal