Newsfeeds

Stuffed Fables Now Available

Tabletop Gaming News - 2 February 2018 - 6:00am
Stuffed Fables is now available. That could just be the whole crux of the story, and that’d be fine. But Plaid Hat Games went one further. They’ve also posted up a video on their site about the psychology of playing board games, and they got a real professor of psychology to talk about it with. […]
Categories: Game Theory & Design

Rest Normalizer

New Drupal Modules - 2 February 2018 - 5:49am

Nowaday's you often heard of a phrase "Headless Drupal or Decoupled Architecture" It is rising in popularity in the development world. This model allows breakthrough user experiences, gives developers great flexibility to innovate, and helps site owners future-proof their builds by allowing them to refresh the design without re-implementing the whole CMS.

Categories: Drupal

Ubercart PayPal Plus

New Drupal Modules - 2 February 2018 - 3:20am

This is an Ubercart payment gateway module for PayPal Plus.

For further instructions, see the README.txt included with the module. You must install Ubercart for this module to work.

Categories: Drupal

drunken monkey: Some more (updated) tips for PhpStorm live templates

Planet Drupal - 2 February 2018 - 3:19am

A few years ago I started using the PhpStorm IDE for PHP development, was immediately smitten and, after a bit of use, wrote a blog post with some tips I found for makig better use of the tools PhpStorm gives you.

In the four years since then there have been some new developments. Firstly, of course, Drupal 8 was finally released – and, consequently, the one complaint I had back in 2013 about the $MODULE$ variable only working in the module file itself became more of a problem. (Also, I added one more live template that's very useful for Drupal 8.)
But secondly, a few weeks ago PhpStorm finally added scripting support for live templates, so it's now possible to write more powerful templates that way – and fix the $MODULE$ variable.

The new di live template

In general, when writing OOP code for Drupal 8 (that is, for almost all Drupal 8 code) you should use dependency injection as much as possible. There's several different styles for doing that, I'm using one which uses setter methods and calls them in create() (instead of adding all injected objects to the constructor). This makes inheritance easier and keeps the constructor “cleaner” – and becomes much easier with a good live template:

  /**
   * The $NAME$.
   *
   * @var $INTERFACE$|null
   */
  protected $$$PROP_NAME$;

  /**
   * Retrieves the $NAME$.
   *
   * @return $INTERFACE$
   *   The $NAME$.
   */
  public function get$UC_PROP_NAME$() {
    $plugin->set$UC_PROP_NAME$($container->get('$SERVICE$'));

    return $this->$PROP_NAME$ ?: \Drupal::service('$SERVICE$');
  }

  /**
   * Sets the $NAME$.
   *
   * @param $INTERFACE$ $$$VAR_NAME$
   *   The new $NAME$.
   *
   * @return $this
   */
  public function set$UC_PROP_NAME$($INTERFACE$ $$$VAR_NAME$) {
    $this->$PROP_NAME$ = $$$VAR_NAME$;
    return $this;
  }

Variable definitions:

Name Expression Skip if defined VAR_NAME N SERVICE N INTERFACE clipboard() Y NAME underscoresToSpaces(VAR_NAME) Y UC_NAME underscoresToCamelCase(VAR_NAME) Y UC_PROP_NAME capitalize(PROP_NAME) Y

Usage:

  1. Copy the service interface's FQN to your clipboard.
  2. Put the service ID either into a secondary clipboard (e.g., middle mouse button on Linux) or remember it.
  3. Execute live template (at the position where you want the getter and setter).
  4. Input variable name (in snake_case), then input service name.
  5. Move the property definition and the create() line (temporarily stored as the first line of the getter in the template) to their appropriate places.
  6. In the code, alway use the getter method for accessing the service.
Fixing the $MODULE$ variable

Since the code for this is quite complex, we better just put it into a separate file. So, first download the script file and save it to some known location, then simply use the (absolute) path to the script file as the argument for groovyScript(), like this:

This can be used for all the live templates that contain a $MODULE$ variable (though it will, of course, be less useful for the procedural ones, than for the simple m template).

Categories: Drupal

Simple Zoom

New Drupal Modules - 2 February 2018 - 3:02am

The "Simple Zoom" module allows you to open the image in a popup. The module creates a image formatter and a CKEditor plugin for opening the image fields and inline images in popup using simple jquery zoom plugin.

Categories: Drupal

OneLogin Integration

New Drupal Modules - 2 February 2018 - 1:38am

With this module, you can log in with OneLogin through SAML in Drupal 8. This module is a rebuild of this module, which is only available in Drupal 7. Because of this, I rebuilt it for Drupal 8.

More information will come at a later stage.

Categories: Drupal

A jumpstart into environment art: Gathering fundamental techniques and transforming those fundamentals into a basic, easy to follow guide, designed for beginning environment artists and students. - by Danny Flu

Gamasutra.com Blogs - 2 February 2018 - 12:49am
This blog shows my past in environment art and why I find it important to educate starting environment artists and students from the start on. This to make them excited about new software and programs, but also to bridge the gap of the unknown.
Categories: Game Theory & Design

To boldly go - by Yarr Rash

Gamasutra.com Blogs - 2 February 2018 - 12:48am
Building a software development team in Wargaming, a multi-cultural international company - approaches, actions, lessons learned.
Categories: Game Theory & Design

Unity3d Asset Bundle Series - by Dennis Piatkowski

Gamasutra.com Blogs - 2 February 2018 - 12:47am
Improve your mobile games and support dynamic content without app store approvals. This series will give you a head start on making and using bundles in ways you probably didn't consider.
Categories: Game Theory & Design

DXT Texture Compression in 2018 - by Robert Basler

Gamasutra.com Blogs - 2 February 2018 - 12:45am
Two weeks ago I knew exactly zero about DXT. I was surprised to find a lack of recent resources on the topic and spent two days researching just to get started.
Categories: Game Theory & Design

CKEditor Google Search

New Drupal Modules - 2 February 2018 - 12:00am

Integrates CKEditor's Google Search plugin to Drupal. This enables Drupal's default WYSIWYG text editor capable of google searching the selected words.

This module uses the settings and features of native CKEditor Google Plugin plugin for the searching.

Categories: Drupal

Disable Browser Back Button

New Drupal Modules - 1 February 2018 - 10:57pm

Disable browser back button module is designed to allow an administrator to disable browser back button on specific pages. The pages can be configured in Module Admin Settings.

Features:
--------------------------
1)This module will disable browser back button on specific pages.

How to use:
-------------------
1) Install this module.
2) Go to 'Configuration >> System >> Disable Back configuration' and enter list of comma seprated url's where you want to disable browser back button .

Categories: Drupal

Palantir: Drupal ++

Planet Drupal - 1 February 2018 - 5:24pm
Drupal ++ brandt Thu, 02/01/2018 - 19:24 Ken Rickard Feb 2, 2018

Director of Professional Services Ken Rickard’s introduction to Drupal and how ++ flows through the community.

Stay connected with the latest news on web strategy, design, and development.

Sign up for our newsletter.

2018 marks my 10th year at Palantir and the inaugural ++ Day gives me a great chance to reflect. For those of you who haven’t read George’s post yet:

++ has its origins in the C programming language, where it’s used as an operator to add one to the value of a particular variable. Over time, it’s become known as an informal shorthand for building and improving on past success.

I started working at Palantir after contributing to the Drupal project and launching some of the first newspaper industry websites on Drupal. And it’s in my experiences with Drupal – as a software project and a community – where the ++ ethos has had lasting influence.

My first contribution to the Drupal project was back at DrupalCon Vancouver in 2006. (So long ago, that it was actually called the Open Source CMS and Blogging Tools Summit, retroactively named as a DrupalCON later.) I was in a small group that was looking at the usability of the administrative interface in Drupal 4.7, which was in beta. At the time, all administrative actions were in one long list; a list that was getting ever-longer and harder to use.

That group includes Dries Buytaert, the Drupal project founder, Earl Miles, who authored VIews and (later) Panels, and Nedjo Rogers, an early and prolific contributor. Earl and I were new to the project, and I chose to be part of that group because we weren’t doing any programming: we were doing a card sort:

Card sorting is a method used to help design or evaluate the information architecture of a site. In a card sorting session, participants organize topics into categories that make sense to them and they may also help you label these groups. -- from Usability.gov

Now, at the time, I had been working with Drupal for almost two years but writing very little code. When I first started to evaluate CMS products, I couldn’t even write a PHP function (though I could write a stand-alone PHP script). So I joined the working group that seemed appropriate to my background, only to learn that the rest of the team were much more advanced programmers.

But a great thing happened. It didn’t matter. We were there to try to define a solution, not to code one. It was my first in-person open source event, and it changed the direction of my career.

I recall advocating for a User group of tasks to cover all the items related to user accounts: User management, registration settings, roles and permissions. (In Drupal 7 and 8, these items are under the People section of the interface.) The group liked the idea and it was implemented with the next beta release. And that was when I realized that I could contribute to making the software better, even though I wasn’t confident as a “developer.”

That confidence would come later, as working at Palantir allowed me the time and projects to focus and improve, iterating over code and concepts from Drupal 5 onward. (As I write this, I am working on the Drupal 8 version of a module I originally wrote in Drupal 5.)

More importantly, I learned a few other valuable lessons from that original working group in Vancouver, all of which reinforce the theme of ++ Day:

  • Make your work inviting to new people by giving them clear ways to contribute.
  • Engage in thoughtful, collaborative problem solving.
  • Recognize the value of what has come before while seeking to improve.
  • Change can come from unexpected places; be open to those opportunities.

I’m fortunate that I get to do what I like to do and make a career of it. I’m even more fortunate that I work on a team that reflects these values on a daily basis.

Happy ++ Day everyone!

We want to make your project a success.

Let's Chat.
Categories: Drupal

Trinity Continuum: AEON RPG Up On Kickstarter

Tabletop Gaming News - 1 February 2018 - 3:00pm
Occasionally, a game will need a new edition. Mechanics that were good for a while don’t hold up as well as had been hoped. The setting can use a bit of polish. Fresh insight is brought in, along with building off the wisdom of the old. In this instance, it’s the Trinity Continuum RPG. They’re […]
Categories: Game Theory & Design

Modiphia Issue 3 Now Available

Tabletop Gaming News - 1 February 2018 - 2:00pm
Modiphius Entertainment is coming out with new books and materials all the time. It can be rough to keep up, and even with all those products, I know you all want more. Thankfully, they’ve got their Modiphia Magazine that’s full of great material about their various games. Issue 3 is now available (for free, as […]
Categories: Game Theory & Design

Polaris

New Drupal Modules - 1 February 2018 - 1:23pm

A module built for interacting with the Polaris API. Polaris is a product from Innovative Interfaces and is a library ILS. The module helps with patron authentication, updates to patron accounts, and many more features are under development.

Categories: Drupal

February Releases Available For Punkapocalyptic

Tabletop Gaming News - 1 February 2018 - 1:00pm
We’re already into the 2nd month of the year. We’re 1/12 of the way through 2018. The folks over at Punkapocalyptic are wasting no time this month, as they’ve already got their February releases available. They’re even offering a limited-time price reduction on them, if you hurry. From the release: Now for sale the February […]
Categories: Game Theory & Design

Man Battlestations 2018 Painting Contest Happening Now

Tabletop Gaming News - 1 February 2018 - 12:00pm
While I wouldn’t recommend that you paint your minis with the same mop that you use to swab the deck, that’s about how my figures tend to look. Hopefully, yours look a lot better. If they look a whoooole lot better, you might just be able to win Man Battlestations’ 2018 Painting Contest. From the […]
Categories: Game Theory & Design

Catch cutting-edge sponsored sessions from Improbable, Apple and more at GDC 2018

Social/Online Games - Gamasutra - 1 February 2018 - 11:12am

Don't miss the great sponsored sessions at GDC 2018 -- companies like Apple and Improbable are sponsoring intriguing talks on everything from augmented reality to the future of massive online games! ...

Categories: Game Theory & Design

Thursday Terrain Corner

Tabletop Gaming News - 1 February 2018 - 11:00am
We continue along with the work week. Hopefully, yours is going well. I know I’m ready for the weekend as much as I’m ready to be done with being sick (every day, I hope it’s “the last day of this crap”). But as I pine for a day where I don’t cough, I also look […]
Categories: Game Theory & Design

Pages

Subscribe to As If Productions aggregator