Agiledrop.com Blog: AGILEDROP: Our Drupal Blogs from June

Planet Drupal - 4 July 2017 - 12:35am
The summer is here. Holidays as well. But our blog activities don't rest. Far from that. We have written quite a lot of blog posts about Drupal for you in the past month. Therefore, it' time to look at the topics we covered in June. We began the June with our commercial director Iztok Smolic inviting everyone who would like to speak at the following DrupalCon in Vienna to propose their sessions about Business. Namely, he was chosen to prepare the program and select the sessions, so it was up to you to take the chance. Our second blog post was for Front Enders. All the sessions from the… READ MORE
Categories: Drupal

Roman Agabekov: Drupal Server Environment: automated server setup for Drupal websites

Planet Drupal - 4 July 2017 - 12:19am
Drupal Server Environment: automated server setup for Drupal websites

Hi, fellow Drupalers. Today, I’d like to share with you a project of ours that allows automating web server setup for Drupal-powered websites.

At Drupal Admin team, we often set up and fine tune servers for Drupal websites, so it was only natural for us to develop a routine that automates the related processes. We picked Ansible configurations management system for initial setups and further servers maintenance.

Why Ansible? This systems allows:

admin Tue, 07/04/2017 - 07:19 Теги
Categories: Drupal

Get Linkedin Posts

New Drupal Modules - 4 July 2017 - 12:13am

This module provides import posts from Linkedin Company page through Linkedin API by Cron for Drupal 8.

Registration with Linkedin:

Before you start the installation process you must register on Linkedin, create page for your Company and your own application.
You will get “Client ID", "Client Secret”.
Also add callback url on the Linkedin authentication page.
Callback url you can find in the module settings /admin/config/content/get_linkedin_posts

Categories: Drupal

TimOnWeb.com: Creating content blocks programmatically in Drupal 8

Planet Drupal - 3 July 2017 - 7:54pm

Let's picture this: you've created a custom content block type (let's say, Ad block) in your shiny new Drupal 8 installation and you want to automaticaly create a fresh new block of that type each time you create a taxonomy term (Ad group), so that every ad group has a ...

Read now

Categories: Drupal

HTTPCS Validator

New Drupal Modules - 3 July 2017 - 6:22am

This plugin helps you to do the HTTPCS validation process automatically. It will contact the HTTPCS validator service to get a validation file which will help us to validate your website automatically. Also, you will be able to signup at HTTPCS.com if you don't have an account yet or to login if you already own an HTTPCS acccount. HTTPCS

Categories: Drupal

Google Firebase Push Notification

New Drupal Modules - 3 July 2017 - 6:14am

Thank you Google for great and easy tool named Firebase...
I am here using one of the service of Firebase (web push notification) and creating Drupal module to make it plug and play for Drupal websites. https://firebase.google.com/docs/cloud-messaging/

Categories: Drupal

Custom Powered By

New Drupal Modules - 3 July 2017 - 2:53am

Change Drupal 8 system's Powered By block text

Categories: Drupal

Toc js

New Drupal Modules - 2 July 2017 - 2:43pm

This module integrate TOC.js library into Drupal.

TOC.js is a jQuery plugin which automatically generate a table of contents for your page.

Categories: Drupal

Paragraphs Normalizer

New Drupal Modules - 2 July 2017 - 8:51am

This module provides Normalizer for Paragraphs fields. It embeds the normalized content of Paragraphs field into the node for JSON or XML output.

Categories: Drupal

Entityqueue Form Widget

New Drupal Modules - 1 July 2017 - 11:13pm

Allows editors to add content to entityqueues from add/edit form.

Dependency: This module is sponsored and developed by Vardot.

Categories: Drupal

Cision Notified Pull

New Drupal Modules - 1 July 2017 - 4:28pm

This module create a service endpoint that accepts HTTP POSTSs of a pure XML document. Then Provide this URL to Cision administration to set as service Endpoint.

Service Endpoint URL


How it work

After that client is getting notified when there is a new or updated release. What is being sent to the client is a link to the detailed view through an XML file that is pushed via HTTP/POST request with the content type text/XML. The client must then fetch the release to be able to publish it on the client website.

Categories: Drupal

Raychat.io Widget

New Drupal Modules - 1 July 2017 - 5:36am

This module adds the necessary script to the header of ones site for prompting users to chat via Raychat.

Most of the code and details for this module is taken from Zopim Live Chat module developed by nicholas.alipaz.

What is Raychat?
Raychat increases engagement between you and your visitors, by allowing them to chat with you! Great for improving interaction with your users and increasing the time they spend on your site.

Categories: Drupal

Open Design

New Drupal Modules - 1 July 2017 - 2:58am

Welcome to the Open Design Drupal. Open Design aims to bring open source principles to Creative Design. Here you can file issues with your design requests for the community design group, find collaborators, or find design tasks to tackle. Don't forget to use the issue template below to make sure you are including all the relevant information!

Categories: Drupal

Drupal core announcements: Drupal 8 core release window on Wednesday, July 05, 2017

Planet Drupal - 30 June 2017 - 5:34pm
Start:  2017-07-04 12:00 - 2017-07-06 12:00 UTC Organizers:  xjm catch cilefen Event type:  Online meeting (eg. IRC meeting)

The monthly core patch (bug fix) release window is this Wednesday, July 05. Drupal 8.3.5 will be released with dozens of fixes for Drupal 8. There will be no Drupal 7 bugfix release this month.

To ensure a reliable release window for the patch release, there will be a Drupal 8.3.x commit freeze from 12:00 UTC Tuesday to 12:00 UTC Thursday. Now is a good time to update your development/staging servers to the latest 8.3.x-dev code and help us catch any regressions in advance. If you do find any regressions, please report them in the issue queue. Thanks!

To see all of the latest changes that will be included in the release, see the 8.3.x commit log.

Other upcoming core release windows after this week include:

  • Wednesday, July 19 (security release window)
  • Wednesday, August 02 (patch release window)
  • Wednesday, October 5 (scheduled minor release)

For more information on Drupal core release windows, see the documentation on release timing and security releases, as well as the Drupal core release cycle overview.

Categories: Drupal

Agaric Collective: Flat comments in Drupal 8 without dangerous secret threading

Planet Drupal - 30 June 2017 - 3:11pm

Last week we were asked to disable the "threads" in the comments and display them as a plain list in one of our projects, so checking in the Comment field settings we found an option which says:

"Threading: Show comment replies in a threaded list."

Which basically display the comments as a threaded instead of a list of comments. This option is marked on by default, so it seemed that it was just a matter of unchecking this option, but there was a problem with this, that setting did display the comments as a plain list, but in the code they were still being saved as a thread.

The main problem with this is if a comment is deleted and it has replies (even if the option of the thread is unchecked) all the replies are going to be deleted as well.

This is not a new problem there is an 11 year old issue and it seems that this has been happening since Drupal 4. The way to fix this so far was by using a contrib module called: Flat Comments The problem is that this module hasn't been ported to D8 yet.

We decided to fix that and port the module to help others with this problem. You can check the code here: https://github.com/agaric/flat_comments and we are in contact with the module's maintainer to create the D8 branch in drupal.org soon.

Expecting that this can help someone else.

Categories: Drupal

Estonian ID-Card and Mobile ID authentication

New Drupal Modules - 30 June 2017 - 11:37am

Estonian ID-Card and Mobile ID authentication for Drupal 8.

Categories: Drupal

Workbench Moderation Actions

New Drupal Modules - 30 June 2017 - 10:45am
Categories: Drupal

ADCI Solutions: Migrate API: custom Drupal-to-Drupal migration

Planet Drupal - 30 June 2017 - 12:26am

Sooner or later every developer faces this scary (actually, not) process called "Migration". The Migrate API framework to the rescue then! It is loved for a wonderful API and a variety of powerful tools for data migration into Drupal from various sources.

In this article we will show you a relatively cheap way to make a transition to Drupal. You’ll read how to use Migrate API in Drupal 8 and we’ll build a simple module to execute migration from Drupal 7 to Drupal 8. Are you confused that there is no Drupal 8 release of the Migrate project on drupal.org? Still not a problem: the most of its features were ported into Drupal core, others are available in the contrib project.


It’s enough said, let’s have a look at how to make a custom Drupal-to-Drupal migration.



Categories: Drupal

Boby Aloysius Johnson | GSoC Blog: First Evaluation

Planet Drupal - 29 June 2017 - 10:28pm
First Evaluation boaloysius Fri, 06/30/2017 - 01:28

Throughout the first month of GSoC, my mentors Skyred and Naveenvalecha and I worked on the feasibility and worth of integrating Google Cloud Machine Learning Engine to Drupal. We have used Googles php library to interact with ml-engine to perform training, deployment and prediction. When we complete this project successfully, we can use data in Drupal for predictions and analysis similar to the one shown in this video. We have created a prototype of this integration. Please see the video demo below.



An ML task has three parts, training, deployment and prediction. In this demo, we have created an app with Drupal that can perform these tasks in few clicks. We have used the data in Drupal to get predictions for future data, powered by ml-engine.

Digging deep into it, we have used Views to select the required data and a contributed module, View Data Export to get it as csv.  Our automated task runner get it by HTTP request. With the data in hand, Google Cloud Storage service we added to Drupal will upload it to Cloud server. Now the ML engine can access it. We use ml-engine jobs, model and version API for training and deployment. Our module will set up a Cron job to update the status of these tasks in the background. Finally,  we can use the model and version names to predict the probabilities.

Jobs API returns the status of the training job, whether it is running, completed, failed etc. The training data is an argument to the trainer python code, so we don't get the accuracy in the response. We need to access the log in Google Cloud Console to obtain it. Here is screen shot of the job's log.

The Google Cloud Console provides a detailed log of the tasks. Towards the top, we can see the training iterations (evaluations) whose count can be set while setting the job. More the number of iterations more is the chance of high accuracy. Towards the middle, highlighted in blue, we can see the accuracy. This process had an 83.1 percentage accuracy.

Now let us see the prediction part.


In this demo, our task was to predict the income bracket (category) of the person given his education, age, marital status etc. The income bracket is a binary attribute, whether it is greater than 50K dollars or less than 50K dollars. This is a prediction screenshot we got for the person attributes,   

   "workclass": " Public",
    "education": " 11th",
    "education_num": 7,
    "marital_status": " Never-married",
    "occupation": " Machine-op-inspct", 
    "relationship": " Own-child", 
    "race": " Black", 
    "gender": " Male", 
    "capital_gain": 0, 
    "capital_loss": 0, 
    "hours_per_week": 40, 
    "native_country": " United-States"  

Here, in the probabilities sub array, we have two indices. As I said this is a binary attribute, we have the zero'th index corresponding to income bracket less than 50k and index one greater than 50K income bracket. Just see the category index set in the python code.

 The screenshot indicated that there is a 98% chance that, this person has an income lesser than 50K.

Finally, to conclude, we have successfully worked on creating a prototype on integrating Google ML Engine to Drupal. 

Thank you.

Categories: Drupal


Subscribe to As If Productions aggregator - Drupal