Nacho Digital: Drupal Planet (RSS spanish & portugues)

Planet Drupal - Mon, 2016/02/01 - 10:31pm
If we have enough movemente and content we will have drupal.org/planeta in spanish and portugues

Since Drupalcamp chile I'm pushing with a bunch of nice people an space within drupal.org to share content in spanish and portugues.

We are almost ready, we just need to generate enough movement to make it public. Right now it exists, but it is not publicly available: drupal.org/planeta.

The main purpose of this post was to share how to do it. So I will invite you to read the spanish version to read the steps and details. I see no reason to share them in english at this time. If there is interest I can do a full translation. Just leave a coment with your request.

Cheers!

Categories:

Commercial Progression: The Future of Decoupled Drupal & other Bold 2016 Predictions (E13)

Planet Drupal - Mon, 2016/02/01 - 10:09pm

Commercial Progression presents Hooked on Drupal, “Episode 13: Future Predictions of Drupal, Technology, and Powerball Winners".  That's right, you heard it here folks, someone has already won the Powerball. Ok, so maybe that is old news... but what about the future of Decoupled Drupal website architecture, static site generators, and the next revolution in IOT technology? To receive these clairvoyant predictions along with many important highlights from 2015, you will need to tune into the future with our latest podcast. 

Hooked on Drupal Content Team

BRAD CZERNIAK - Developer

CHRIS KELLER - Developer

HILLARY LEWANDOWSKI - Developer

SHANE SEVO - Host

 Podcast Subscription

Tags:  podcast, Hooked on Drupal, Decoupled Drupal, Planet Drupal, IOT, Static Sites
Categories:

roomify.us: Booking and Availability Management Tools Beta Release and Roadmap

Planet Drupal - Mon, 2016/02/01 - 6:11pm
Our Booking and Availability Management Tools have reached beta release stage. This means that we have covered all the main features for the 1.0 version of the library and we will now focus on bug fixes and UI improvements as well as developing documentation and a more comprehensive test suite. The BAT PHP library is now version 1.0.0-beta1 while the Drupal module is at 7.x-1.0-beta1.
Categories:

Cheeky Monkey Media: How to Import with Feeds using JSONPath.

Planet Drupal - Mon, 2016/02/01 - 5:52pm

In order to import some json data, you first need theses modules installed and enabled.

Categories:

Cheppers blog: Drupal Genesis

Planet Drupal - Mon, 2016/02/01 - 5:28pm

Five years after the launch of Drupal 7, we were terribly excited about the launch of Drupal 8 set for November 19 2015. As the release date had been announced a few weeks before, we wanted to join the initiative of the worldwide Drupal 8 celebration (#Celebr8D8 - celebratedrupal8.com) and create a unique surprise for the Drupal community.

Categories:

xjm: Emacs keybindings, PhpStorm, Mac OS, and the random characters I almost add to Drupal

Planet Drupal - Mon, 2016/02/01 - 3:41pm
Emacs keybindings, PhpStorm, Mac OS, and the random characters I almost add to Drupal xjm Mon, 02/01/2016 - 14:41
Categories:

myDropWizard.com: Why we don't provide a "security updates only" plan for Drupal 6 Long-Term Support

Planet Drupal - Mon, 2016/02/01 - 3:14pm

A couple of times now, we've gotten a reaction like this to our Drupal 6 Long-Term Support offering:

Your cheapest plan ($125/mo) is too expensive. We just want to keep getting security updates for Drupal 6, but don't want any support and maintenance. Can you provide a "security updates only" plan for us?

This is something we thought long and hard about...

A cheaper plan would appeal to a larger group of users, and allow us to work with people with smaller budgets. These are definitely things we want! We'd like to be able to help as many people as possible, and NOT only big enterprise companies with massive budgets (they can already get all the help they need).

But in the end, we decided that we'd be doing our customers a disservice by trying to reduce our offer any further.

Read more to find out why!

Categories:

Kodamera Screencast: How to install modules and themes

Planet Drupal - Mon, 2016/02/01 - 2:50pm

Drupal is a great CMS (Content Management System), but everything isn't included in the core installation package of Drupal. Luckily there are thousands of modules (another word for plugin) made just for this easy way to build a website that fits your needs. When this screencast was recorded there were over 32000 modules available, and though it's just over two months since version 8 of Drupal was released there are already over 1000 modules for this version.

We continue our thorough journey alongside Drupal and explain two ways of adding modules and themes to your Drupal installation. Never install modules or themes from some place other than drupal.org. Other publishing systems have had and are having problems with plugins being available from here and there, and on more than one occasion there have been malicious code in these plugins. 

I show you the two easiest ways as a newcomer to Drupal to add functionality via new modules and we touch subjects as Update Manager, security and security updates and the commenting module Disqus (which we use here on screencast.kodamera.se).

 


Read more
Categories:

Valuebound: Building Configuration Form in Drupal 8

Planet Drupal - Mon, 2016/02/01 - 2:15pm

The primary mechanism for collecting input from users is Form, without them Drupal wouldn't be so much useful. This is also one of the first things Developer should learn when they start development using Drupal. Forms are fundamental to creating Drupal modules, whether asking someone to leave a comment or Administrator has option to turn the module configuration ON/OFF.

The configuration system / state system has replaced the variable system in D8. There is no variable table and no more variable_get() / variable_set() /  variable_del() calls. Configuration is stored in the database and synced with YML files on the disk for deployment purposes.

The $config object handles CRUD (Create/Read/Update/Delete) for YML files, so you simply use ::get(), ::set(), and ::save()…

Categories:

Chris Hall on Drupal 8: Twig extends and a D8 Twig Block base theme

Planet Drupal - Mon, 2016/02/01 - 1:55pm
Twig extends and a D8 Twig Block base theme chrishu Mon, 02/01/2016 - 12:55 Introduction

Twig Blocks and the extend functionality can be used to stop needless repetition.

I have posted before about Twig Blocks and Drupal and experimented a little with a theme on Github used as the base theme for this site, I also raised an issue for consideration of Twig blocks to be added to Core templates as I felt that without them D8 theming had slightly missed a trick (admittedly far too close to the release).

Fortunately the late addition of the Stable theme to D8 makes it much easier to experiment with alternative approaches to theming plus allows Core mark-up to evolve much faster than the Drupal release cycle (without arbitrarily breaking existing themes).

Copy of Stable with Twig blocks

Stable is/was a copy of the Drupal core templates that will not change, it is the default base theme for every theme that does not define a specific base theme unless base theme: false is set in the info file (which would leave you vulnerable to any changes in core templates, CSS and JS over the D8 life-cycle).

I have made a copy of Stable called Blocky and marked up some of the templates with Twig Blocks, which doesn't change the functionality of the theme at all but does allow more selective override of templates directly, after inspecting what blocks are available. For a simple example an alternative node template can just override the mark-up of the title leaving the rest of the parent template mark-up alone (no need to slavishly copy all the bits you don't want to change).

{% extends "@blocky/content/node.twig.html" %} {% block node_title %} {{ title_prefix }} {% if not page %} <h3{{ title_attributes }}> <a href="{{ url }}" rel="bookmark">{{ label }}</a> </h3> {% endif %} {{ title_suffix }} {% endblock node_title %}

Of course Blocky could always just be used as the basis of another copy, providing a more customised theme with the ability to use Twig extends (do read the official documentation for extends if you haven't used it before). You may have many variations of node templates, any change to boilerplate mark-up that is not generally overridden in child templates only has to be modified once in the parent template that all the others are extending.

Extends is not just for Twig Blocks

Extends allows for adding variables via the child that are then available in the parent template. A child template can affect the parent template or provide new variables to the parent opening up new possibilities for Drupal 8 theming strategies even without using Twig Blocks.

Classy already does this in one or two places now, for example the meat of the Classy field--field-text.htm.twig is as follows:

{% extends "field.html.twig" %} {% set attributes = attributes.addClass('clearfix', 'text-formatted') %}

In this case a more specific template is adding a class to it's general parent template without having to repeat mark-up. Is your brain starting to whir? Potential new approaches to theming? Excited?

Taking it further

Unfortunately I have not found a client project that is suitable for Drupal 8 yet so experimentation is in free-time. I am hoping to move another blog to Sculpin and then work on a better theme for that and this site that share as much as possible.

Even with Twig Blocks Drupal still has a fairly linear approach to building the front-end, so approaches sometimes used by other frameworks with Twig or Twig like template syntax will need a bit more head-scratching. For example a common approach used elsewhere would use parent layout templates that are never directly rendered, just extended. These layout templates may well have empty Twig Blocks (the main events) that are filled in further down the chain. A Drupally equivalent might be an html.html.twig template that has an empty 'page' block rather than kicking off the rendering of the page by outputting $page. This template could then be extended by multiple variations of page. Note: this approach will not currently work in Drupal but 'should' be possible digging around in pre-processing etc. (well it feels like it should).

Twig has some other tricks like embed and the simpler include and these along with extends can utilise conditionals and variables.... OMG the potential approaches to theming Drupal have increased exponentially!!! :).

 

Add new comment
Categories:

Valuebound: Drupal 8 installation in Windows with XAMPP

Planet Drupal - Mon, 2016/02/01 - 8:04am

Installation of Drupal requires a Web server. We will be employing XAMPP package for the same purpose. XAMPP is a free and open source web server solution stack. It stands for (X-cross platform), (A-Apache HTTP Server), (M-MariaDB), (P-PHP), (P-Perl).  XAMPP is hassle free and is…

Categories:

hussainweb.me: Drupal Global Sprint Weekend 2016 in Bangalore

Planet Drupal - Mon, 2016/02/01 - 5:50am
This year’s Drupal Global Sprint Weekend 2016 was held on January 30th and 31st throughout the world. We conduct a Drupal meetup every last Saturday in a month in Bangalore and this time, we just organized the sprint instead.
Categories:

Iztok Smolic: Drush 8 on Mac OSX and MAMP

Planet Drupal - Sun, 2016/01/31 - 8:23pm

Here is a complete guide to get your drush working OS X El Capitan. 1) Download latest stable release using the code below or browse to github.com/drush-ops/drush/releases. wget http://files.drush.org/drush.phar (Or use our upcoming release: wget http://files.drush.org/drush-unstable.phar) 2) Test your install. php drush.phar core-status 3) Rename to `drush` instead of `php drush.phar`. Destination can be anywhere […]

The post Drush 8 on Mac OSX and MAMP appeared first on Iztok.

Categories:

Drupal core announcements: Drupal 8 and 7 core release window on Wednesday, February 03, 2016

Planet Drupal - Sun, 2016/01/31 - 5:53pm
Start:  2016-02-24 00:00 - 23:30 UTC Organizers:  xjm catch David_Rothstein Event type:  Online meeting (eg. IRC meeting)

The monthly core patch (bug fix) release window is this Wednesday, February 03. Drupal 8.0.3 and 7.42 will be released with fixes for Drupal 8 and 7. There will be no Drupal 6 bugfix release this month.

To ensure a reliable release window for the patch release, there will be a Drupal 8.0.x commit freeze from 00:00 to 23:30 UTC on Wednesday, February 03. Now is a good time to update your development/staging servers to the latest 8.0.x-dev or 7.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 releases, see the 8.0.x commit log and 7.x commit log.

Other upcoming core release windows after this week include:

  • Wednesday, February 24 (security release window)
  • Wednesday, March 02 (patch release window)
  • Wednesday, April 20 (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:

ARREA-Systems: Create list view in custom module (part 3)

Planet Drupal - Sun, 2016/01/31 - 2:51am
Create list view in custom module (part 3) JK Sun, 01/31/2016 - 09:51

In previous articles (here and here), we have seen a method to aad custom views and data in MyModule.

With Drupal 8 there is a very easy and practical way to add this custom view as a configuration that will be installed with the module.

1) extract the configuration data

Navigate to "/admin/config/development/configuration/single/export".

On this page, select configuration type 'view' and configuration name 'My module list' that was created earlier.

 

 

2) create configuration install file

You will obtain from the above export a list of configuration data that you can copy and paste into a file called for instance "views.view.mymodule-list.yml";

Simply place this file into the install folder :

Categories:

DrupalEasy: DrupalEasy Podcast 168 - Spooning with a Fork (Jen Lampton, Nate Haug - Backdrop Update)

Planet Drupal - Sun, 2016/01/31 - 1:44am
Download Podcast 168

Drupal fork Backdrop co-founders Jen Lampton (jenlampton) and Nate Haug (quicksketch) joined Mike, Anna, and Ted to discuss the current state of Backdrop, its (surprising) relations with the Drupal community, Drupal 8, as well as some current Drupal news and our picks of the week!

read more

Categories:

Jay L.ee: How To Customize The Fivestar Module

Planet Drupal - Sat, 2016/01/30 - 10:37pm

* Blue: The code from a Stack Exchange developer that saved my life and got the ball rolling for everything else.
* Green: My own comments for the purpose of this blog post.
* Orange: Additional edits made by me.
* Pink: Code that was deleted by me.
* Yellow: Code that was copied and pasted by me.

When using the Fivestar module (version 7.x-2.1), I can show the result in three ways:

Tags: Drupal 7Drupal Planet
Categories:

Wuinfo: Spam Defense Network

Planet Drupal - Sat, 2016/01/30 - 10:22pm


Spam is a big headache for many website owners. Using the Drupal impression module, I saw the relentlessness of the spammer bots. Every day, for a single site, I got thousands of hit from URLs like "/?q=user/register" and "/?q=node/add". I have someone commented on my LinkedIn update of my blog post Is there more computer bots than us?. She is "on the verge of giving up on Drupal after being unable to solve this problem". How do we address this issue and solve the problem? I know this is not the issue for one CMS like Drupal, but, it provides some mandate for us to do something. Build something for Drupal and usable by other CMS like Wordpress and Joomla.

I have a bold idea of blocking spam efficiently without taking a toll on the performance of every website. Let's set up a websites spam defence network. A network based on a global spam IP database. Each website is a node of the defence network. It provides spamming IP query as a web service.

The idea is to have a distributed but well-controlled spam IP servers. All participated website acting as a node in the network and capture spamming IP and report it. Web sites are connected and talk to each other and form a defendant line in front of spammers. The network will quarantine the spammer IP for 45 minutes or more depending on how active the spamming activity. The IP will get off the list after the quarantine time ended.

Web sites that join the network will have faster responding website by freeing up the resource taken by spamming activity. We will have a cleaner internet by eliminating the fake users, spamming comments and contents.

Technical wise, we use the open source solution. We can build distributed spam IP database like git repository. We use composer repository, so, all PHP based CMS websites can easily join the network.

Categories:

Another Drop in the Drupal Sea: Drupal Chat: What About Drupal 8?

Planet Drupal - Sat, 2016/01/30 - 6:17pm

Drupal 8 was released just over two months ago. Is it time yet for you to start using it on your production sites?

You'll need to consider the state of the modules you typically use to build your sites, the state of the themes you typically use to build your sites, the nature of the site, the budget for the site and your own skill set.

There are, without a doubt, sites that are being launched on Drupal 8 already. And, at the same time there is this:

https://www.acquia.com/blog/accelerating-drupal-8-adoption/27/01/2016/32...

So, there is obviously still work to be done.

read more

Categories: