Newsfeeds

Mod.io API aims to help developers create cross-platform, mod-friendly games

Social/Online Games - Gamasutra - 15 May 2018 - 6:03am

The network behind online mod and game development communities like GameFront, IndieDB, and ModDB has released mod.io, an API geared at making it easier for developers to include mod support in their games.  ...

Categories: Game Theory & Design

Fantasy Flight Previews Uthuk Y’llan’s Berserkers For Runewars

Tabletop Gaming News - 15 May 2018 - 6:00am
The Uthu Y’llan are already a group of pretty deranged murder-machines. So you know it’s really something when a group stands out from that. The Berserkers are a whirlwind of claws that will rip any enemies they get a hold of to pieces. These terrifying new additions will be available soon for Runewars. Get yourself […]
Categories: Game Theory & Design

Simple content

New Drupal Modules - 15 May 2018 - 5:25am

This module exposes a simple entity that is not translatable or revisionable. This will stay like this always, so do not open a feature request for revisions or translations. You can create multiple simple content types (bundles).

Every simple content type can be embedded in a block. A block is also available to render an existing simple content entity using autocomplete to select.

Think of it as a light version of Fieldable Panels Panes for Drupal 8.

Categories: Drupal

Your body is transparentized in a virtual environment

Virtual Reality - Science Daily - 15 May 2018 - 5:17am
Researchers have found that visual-motor synchronicity of only the hands and feet can induce a sense of illusory ownership over an invisible body interpolated between virtual hands and feet. This active method to induce a sense of illusory ownership over an invisible body at a distance has potential applications in skill learning/transfer and the concept of body-appearance-irrelevant communication in the future.
Categories: Virtual Reality

Active Facet Pills

New Drupal Modules - 15 May 2018 - 4:01am
Overview

Active Facet Pills provides a block that can be used on faceted search pages to display the active facets as pills.

Categories: Drupal

Valuebound: Drupal 8 - Extending module using Plugin Manager

Planet Drupal - 15 May 2018 - 12:56am

Often we write and contribute module, but have you ever thought or considered how the module features can be extended? In Drupal 8, we can do so by using Plugin Manager that make our modules extendable. For this, first, you need to know what is Plugin, Plugin Type and how it works. Have a look.

So what is Plugin?

In short, Plugin is small pieces of swappable functionality.

What is Plugin Type?

Plugin type is categorization or grouping of Plugins, which perform similar functionality. Drupal 8 Plugin system has three base elements:

  1. Plugin Types

    The central controlling class that defines the ways plugins of this type will be discovered, instantiated and…

Categories: Drupal

Observations From A Gamer's Chair: J.R.R. Tolkien and My Roleplaying Hobby

RPGNet - 15 May 2018 - 12:00am
One life furnished in early Tolkien.
Categories: Game Theory & Design

Generic page

New Drupal Modules - 14 May 2018 - 11:36pm

This module is based on Paragraphs module and creates a new "Generic page" content type. The main elements used to create content are included, additional paragraphs can be easily added.

Sections

The content type is built with "Section" paragraphs. For each "Section" paragraph you can add a title, you can specify if you want to display the title on the node page and you can add a custom id (this is very useful in the case that you want to set anchor links to the section).

Categories: Drupal

Joachim's blog: The quick and dirty debug module

Planet Drupal - 14 May 2018 - 11:28pm

There's a great module called the debug module. I'd give you the link… but it doesn't exist. Or rather, it's not a module you download. It's a module you write yourself, and write again, over and over again.

Do you ever want to inspect the result of a method call, or the data you get back from a service, the result of a query, or the result of some other procedure, without having to wade through the steps in the UI, submit forms, and so on?

This is where the debug module comes in. It's just a single page which outputs whatever code you happen to want to poke around with at the time. On Drupal 8, that page is made with:

  • an info.yml file
  • a routing file
  • a file containing the route's callback. You could use a controller class for this, but it's easier to have the callback just be a plain old function in the module file, as there's no need to drill down a folder structure in a text editor to reach it.

(You could quickly whip this up with Module Builder!)

Here's what my router file looks like:

joachim_debug: path: '/joachim-debug' defaults: _controller: 'joachim_debug_page' options: _admin_route: TRUE requirements: _access: 'TRUE'

My debug module is called 'joachim_debug'; you might want to call yours something else. Here you can see we're granting access unconditionally, so that whichever user I happen to be logged in as (or none) can see the page. That's of course completely insecure, especially as we're going to output all sorts of internals. But this module is only meant to be run on your local environment and you should on no account commit it to your repository.

I don't want to worry about access, and I want the admin theme so the site theme doesn't get in the way of debug output or affect performance.

The module file starts off looking like this:

opcache_reset(); function joachim_debug_page() { $build = [ '#markup' => “aaaaarrrgh!!!!”, ]; /* // ============================ TEMPLATE return $build; */ return $build; }

The commented-out section is there for me to quickly copy and paste a new section of code anytime I want to do something different. I always leave the old code in below the return, just in case I want to go back to it later on, or copy-paste snippets from it.

Back in the Drupal 6 and 7 days, the return of the callback function was merely a string. On Drupal 8, it has to be a proper render array. The return text used to be 'It's going wrong!' but these days it's the more expressive 'aaaaarrrgh'. Most of the time, the output I want will be the result of dsm() call, so the $build is there just so Drupal's routing system doesn't complain about a route callback not returning anything.

Here are some examples of the sort of code I might have in here.

// ============================ Route provider $route_provider = \Drupal::service('router.route_provider'); $path = 'node/%/edit'; $rs = $route_provider->getRoutesByPattern($path); dsm($rs); return $build;

Here I wanted to see the what the route provider service returns. (I have no idea why, this is just something I found in the very long list of old code in my module's menu callback, pushed down by newer stuff.)

// ============================ order receipt email $order = entity_load('commerce_order', 3); $build = [ '#theme' => 'commerce_order_receipt', '#order_entity' => $order, '#totals' => \Drupal::service('commerce_order.order_total_summary')->buildTotals($order), ]; return $build;

I wanted to work with the order receipt emails that Commerce sends. But I don't want to have to make a purchase, complete and order, and then look in the mail logger just to see the email! But this is quicker: all I have to do is load up my debug module's page (mine is at the path 'joachim-debug', which is easy to remember for me; you might want to have yours somewhere else), and vavoom, there's the rendered email. I can tweak the template, change the order, and just reload the page to see the effect.

As you can see, it's quick and simple. There's no safety checks, so if you ever put code here that does something (such as an entity_delete(), it's useful for deleting entities in bulk quickly), be sure to comment out the code once you're done with it, or your next reload might blow up! And of course, it's only ever to be used on your local environment; never on shared development sites, and certainly never on production!

I once read something about how a crucial piece of functionality required for programming, and more specifically, for ease of learning to program with a language or a framework, is being able to see and understand the outcomes of the code you are writing. In Drupal 8 more than ever, being able to understand the systems you're working with is vital. There are tools such as debuggers and the Devel and Devel Contrib modules' information pages, but sometimes quick and dirty does the job too.

Categories: Drupal

AddWeb Solution: Reasons To Prove Why Drupal Commerce Is Best Choice For Ecommerce Website

Planet Drupal - 14 May 2018 - 11:24pm

The concept of a global village is getting more and more real with the advancement of ‘online’ world. And online shops share a major part in this advancement. But with the elevated need of building an online store, the options offering platforms to build these stores has also elevated.

Here’s where our experience and expertise come in picture. After 500+ man hours spent over building about 10+ Ecommerce websites, we’ve come to a conclusion that Drupal is indeed the best choice for building an Ecommerce website. So, here are the 11 realistic reasons to guide you through while choosing the best platform for building an Ecommerce website for you; which is undoubtedly Drupal Commerce

 

1. An Array of Inbuilt Features 
Drupal is priorly loaded with all the features that are required for building a website viz., product management system, payment modes, cart management, et al.

 

2. Time-Saving 
Development time reduces since the time consumed in first developing and then custom integrating two separate systems is eliminated.
 

3. SEO Friendly 
Drupal is SEO friendly and hence, helps your website rank higher in the search engine

 

4. Negligible Traffic Issues 
Heavy traffic is never an issue with Drupal since it is backed by a wealthy system to support the traffic.
 

5. Social Media Integration 
Social Media platforms like Facebook, Instagram, Twitter, LinkedIn, etc comes priorly integrated with Drupal. 

 

6. High on Security 
Drupal is high on security grounds and hence, comes up with an inbuilt solution for securing your data/information on the website. 

 

7. Super Easy Data Management 
Data management becomes easy with Drupal since it is the best content management system. 

 

8. Feasible for E-Commerce Websites
Easy to built and run a Drupal-based eCommerce website, whether it is a small size enterprise or large business houses. 

 

9. Inbuilt Plugins for Visitor Analysis  
The inbuilt plugins for visitor reporting and analytics help you to easily evaluate your website without any external support. 

 

10. Customization
Drupal is flexible enough to make your website a customized one. 

 

11. Every Single Code is Free!
Drupal firmly believes in maintaining the integrity, the core of Open Source Community, where nothing is chargeable and every single code is for everyone to use. 


And you thought we’re trying to sell it just because ‘We Drupal Everyday’? Well, good that now you’re aware of the selfless efforts we make to solve your tech-related confusions! We at AddWeb are Friends of Drupal Development.

Categories: Drupal

Webform Submission Change History

New Drupal Modules - 14 May 2018 - 6:26pm

A Drupal 8 module which allows administrators to track notes on webform submissions. For example, if a user requests an appointment through a webform submission, we might want to track what we did with that appointment request, something like:

Categories: Drupal

Geek Nation Tours Booking for Essen Trip

Tabletop Gaming News - 14 May 2018 - 3:00pm
Somecentury, I will be able to make it out to Spiel Essen. And when I do, I’m gonna book a tour like the one Geek Nation Tours is doing. You get so much out of it. Sights. Events. And hanging out with cool people like Rodney from Watch it Played. While I might not be […]
Categories: Game Theory & Design

Battlefront Posts Free Nations Launch Weekend Info

Tabletop Gaming News - 14 May 2018 - 2:00pm
WWIII is underway. The East and the West are at it, fighting across the plains of Europe. Which side will win? That’s up to you to decide in Team Yankee. The next book for the game, Free Nations, will be coming out on June 8th. And, like always, Battlefront is prepping a big celebratory weekend […]
Categories: Game Theory & Design

Wyrd Posts Mysterious Gentlemen Preview

Tabletop Gaming News - 14 May 2018 - 1:00pm
Another Monday, another Wyrd preview. This time around, it’s the Mysterious Gentlemen. And what they’re for is also a mystery. Wyrd’s not letting us know. It’s just up to our speculation to decide what they’re about. From the post: Happy Monday Wyrdos! Today was a bit of an odd one. I wandered into the office […]
Categories: Game Theory & Design

Supreme Court lifts ban on (e)sports gambling, allowing state-by-state legalization

Social/Online Games - Gamasutra - 14 May 2018 - 12:28pm

The US Supreme Court has lifted a 1992 ban that barred the majority of states from legalizing sports gambling, opening new doors for esports-focused betting in the process. ...

Categories: Game Theory & Design

Royal Cup Card Game Coming to Kickstarter

Tabletop Gaming News - 14 May 2018 - 12:00pm
Gamers seem to come in 2 forms, in my experience. There’s the super-outgoing ones that will sit down with anyone and everyone for a game. Then, there’s the more shy-type, who loves to game just as much as anyone else, but isn’t always the best when it comes to first interactions with people. That’s where […]
Categories: Game Theory & Design

Q& A: Making microtransactions work for players in Guild Wars 2

Social/Online Games - Gamasutra - 14 May 2018 - 11:15am

ArenaNet's Crystin Cox shares some insight into how Guild Wars 2 makes microtransactions that resonate with players instead of punishing them. ...

Categories: Game Theory & Design

Monday Terrain Corner

Tabletop Gaming News - 14 May 2018 - 11:00am
What is it? Wednesday? Thursday? *looks at the calendar* Oh… Monday. Must be an after-show Monday. They always feel like much further in the week. Ah well, my time at CMON Expo was pretty awesome. Will be looking forward to next year. In the meantime, we need to talk about making your gaming tables look […]
Categories: Game Theory & Design

Drupal core - Layout Initiative

New Drupal Modules - 14 May 2018 - 11:00am

This is a project for tracking issue credits for the Drupal Layout Initiative.

We're in #layouts in Drupal Slack, where we have weekly text-only meetings on Tuesdays at 13:00 Eastern time, 10:00 Pacific, 17:00 UTC. Please DM @tim.plunkett if you'd like to add an item to the meeting agenda.

See this issue for more information.

Categories: Drupal

Chapter Three: Introducing React Comments

Planet Drupal - 14 May 2018 - 10:57am

Commenting system giant Disqus powers reader conversations on millions of sites, including large publishers like Rolling Stone and the Atlantic. So when Disqus quietly introduced ads into their free plans last year, there was some understandable frustration.

Why did @disqus just add a bunch of ads to my site without my permission? https://t.co/CzXTTuGs67 pic.twitter.com/y2QbFFzM8U

— Harry Campbell (@TheRideshareGuy) February 1, 2017

 

Categories: Drupal

Pages

Subscribe to As If Productions aggregator