Skip to Content


Popping The Indie Bubble - by Robert Fearon Blogs - 26 May 2014 - 12:47am
There is no indie bubble, it’s just another time where people are making videogames and most fail to make substantial amounts of money but some do. We need more accurate reflections on where we're at.
Categories: Game Theory & Design

Web Omelette: New features for Block Inject

Planet Drupal - 26 May 2014 - 12:01am

I've worked recently on some new features for my contrib module Block Inject and I thought I'd share with you what's new.

Based on some feature requests from the community, I've implemented two new things that make this module more flexible. They are available in the 7.x-1.2alpha5 release onwards.


First, the injected region is now wrapped in a <div> with some default classes on it for easy styling. I've also created an alter hook for this so you can add easily your own classes there depending on the $node object the region is injected in.

An example implementation of this hook:

function hook_block_inject_attributes_alter($attributes) { if ($attributes['node']->type == 'article') { $attributes['attributes']['class'][] = 'article-block-inject'; } }

The $attributes parameter is an array with two values: the node object and another attributes array that gets transformed into HTML attributes by the drupal_attributes() function.

Site building

The second new feature of the module is the possibility to specify default paragraph offsets for an inject region depending on some conditions related to the node body field.

For example, when creating the inject region you can set it so that the region gets injected 5 paragraphs lower than the middle if the total number of paragraphs is over 20. Or move the region higher by 2 paragraphs if the total number of paragraphs equals 6.

Feel free to check it out and let me know what you think.

In Cool Modules | Drupal var switchTo5x = true;stLight.options({"publisher":"dr-8de6c3c4-3462-9715-caaf-ce2c161a50c"});
Categories: Drupal

Fuzzy Thinking: Character Creation Problems

RPGNet - 26 May 2014 - 12:00am
Who\'s got a spare rule book!?
Categories: Game Theory & Design

PreviousNext: Drupal 8 Now: Composer dependencies in Drupal 7

Planet Drupal - 25 May 2014 - 11:39pm

One of the key goals of namespaces in PHP is to avoid collisions between class and function names between different libraries. Using namespaces and the PSR-0/4 standard creates a clean and simple way of sharing code across projects. This is a core part of the Drupal 8 architecture.

This approach has been a large factor in the PHP Renaissance and the huge amount of sharing of code across PHP external libraries.

In this post, I will show how we can leverage external libraries in existing Drupal 7 sites, using similar techniques to how it is being done in Drupal 8.

Categories: Drupal

Chasing the Heroine's Journey in Games - by Sande Chen Blogs - 25 May 2014 - 9:08am
In this article, game writer Sande Chen ponders how to find the heroine's journey, or the internal life of characters, in games.
Categories: Game Theory & Design

English as a Lingua Franca, Diversity in Games, and Selling Indie Games - by Lena LeRay Blogs - 25 May 2014 - 7:06am
As Rami Ismail pointed out recently, English is the defacto lingua franca of video games. This affects both the diversity of the games we play and how games can be distributed.
Categories: Game Theory & Design

Html To PlainText

New Drupal Modules - 25 May 2014 - 5:52am

Some time we are looking simple module which simply parse html code to simple plain text so for this we normally use third party code or online form which perform this job.

Html To Plain Text is same for above purpose. It take simple html code from user and parse it to plain code which user can use for other purposes. Html To Plain Text module has configuration page where you can configure this module for specific content type form and also control parser fieldset order.

Categories: Drupal

Locking Unity - Part 1 - by Amir Barak Blogs - 25 May 2014 - 2:11am
In which I share my ideas on the importance of locking transform data in Unity during scene editing and begin setting the stage (heh) for a transform locking system.
Categories: Game Theory & Design

More Than Mining And Crafting - by Claire Reyes Blogs - 25 May 2014 - 1:22am
Gaming to me is about connecting multiple parties and have a great deal of fun. With a game such as Minecraft, this is truly possible.
Categories: Game Theory & Design

Modular Storytelling: How Skyrim Could Be The Last of Us - by David Kuelz Blogs - 25 May 2014 - 12:42am
In open world games we constantly force our player to choose between the story or exploration, and when the player bought the game specifically to explore it means that story's gonna lose that bet. Let's explore what we can do to rectify that.
Categories: Game Theory & Design The @amitaibu show (unplugged)

Planet Drupal - 25 May 2014 - 12:00am

Wait, what? Did you actually think I'm going to be in a DrupalCon without giving a presentation? Oh, the fact that my session was not selected made you think that. I see. I can understand how that could have caused the confusion.

So the thing is that I have a presentation titled "The Gizra Way" that I've been giving for the past year all over Israel, and recently in DrupalCamp Spain. Reactions were pretty good.

My prediction is that most watched #DrupalcampEs video will be @amitaibu session as soon as it is available. Really inspiring!

— penyaskito (@penyaskito) May 17, 2014

We are still looking for a place to do it. Maybe in a BoF room. Or in the staircase. Or a bar near the hotel. And you know what? I'm really excited about this idea. It feels like I'm preparing for the unplugged version of my show. Anyway, we'll tweet the time and location once we find the place.

Continue reading…

Categories: Drupal
Syndicate content

about seo