Skip to Content

Newsfeeds

Loot drop best practices

Social/Online Games - Gamasutra - 16 December 2014 - 8:57am

Daniel Cook drops loot design knowledge: "Many games have loot. Usually this drops randomly. Here are some best practices I've encountered over the years." ...

Categories: Game Theory & Design

Drupal Watchdog: The Angry Themer

Planet Drupal - 16 December 2014 - 7:38am
Column

Sometimes CSS feels like it stands for “Complete Sh*t Show.”

Lucky for us, there’s a tool to help get our CSS under control. This tool is Sass; Simply Awesome Style Sheets. Well, actually: Syntactically Awesome Stylesheets.

Sass is a preprocessor for CSS. Just like PHP & Drupal create Drupal’s Very Rich and Enhanced Markup™, Sass does the same for CSS, but properly, by taking your .scss (sass) files and turning them into super .css files, with variables, functions, and other fancy powers.

.sass files -> [magic thingie] -> .css

Install Sass

Installing Sass on your machine is straightforward, if you’re not afraid of the terminal. Simply do a "sudo gem install sass".

Boom.

You’re ready to get Sassy.

But if the terminal gives you agita, you can install Sass with a GUI, a complete list can be found on sass-lang.com/install or LiveReload.com.

Here’s a video showing how this process works: http://wdog.it/4/1/video

Setup your Drupal theme


In order to make Sass work in your theme, you need:

  • a Ruby config.rb file, for configuration;
  • a Sass folder for all your Sass files;
  • a CSS folder where all your compiled CSS files will be created.
Say Good-bye to Your CSS Files

First, accept that once you convert your CSS files to Sass, you will never again have to look into the CSS folder.

Your days of fiddling directly with CSS are over, and everything is gonna be OK.

Categories: Drupal

Data Warehouse

New Drupal Modules - 16 December 2014 - 7:12am

The Data Warehouse module provides an easy to extend API to store/retrieve current and historical data that could be used for creating trending reports for senior management reporting such as annual and quarterly comparisons, among other use cases.

Data Warehouse in Wikipedia:

Categories: Drupal

SoundCloud Sync

New Drupal Modules - 16 December 2014 - 7:02am

Provide ability to sync audio files with SoundCloud.com service.

Categories: Drupal

3C Web Services: Creating a Faceted Search View in Drupal

Planet Drupal - 16 December 2014 - 6:43am
Faceted Searching is a method that allows a user to apply multiple filters of varying dimensions to a list of items on your website. In this tutorial we'll show you how create basic search facets in Drupal using the Search API module.
Categories: Drupal

Digett: Which Base Theme We Use (and Why)

Planet Drupal - 16 December 2014 - 6:34am

There are so many website themes, frameworks and opinions out there ... how do you decide which is the best foundation for your next project?

read more

Categories: Drupal

Drupalize.Me: Embed YouTube Videos with Media and Media Internet Sources

Planet Drupal - 16 December 2014 - 6:30am

YouTube is a great service for storing and managing your videos. While this is handy, many people want to be able to display their videos within their own website as well. In this tutorial we'll see how the Media, Media Internet Sources, and Media: YouTube modules can help give you a nice, seamless way to integrate YouTube videos into your site, and give really nice control over how those videos look, along with some built-in media management tools.

Categories: Drupal

Paul Booker: Hiding view records based on the value of a new field

Planet Drupal - 16 December 2014 - 4:36am
function mymodule_views_query_alter(&$view, &$query) { global $user; if (($view->name === 'coaches') || ($view->name === 'trainers')) { if (!in_array('trainer', $user->roles) && !in_array('admin', $user->roles)) { $view->query->fields['field_data_field_profile_hidden'] = array( 'field' => 'field_profile_hidden_value', 'table' => 'field_data_field_profile_hidden', 'alias' => 'field_data_field_profile_hidden' ); $join = new views_join; $join->table ='field_data_field_profile_hidden'; $join->left_table = 'users'; $join->left_field = 'uid'; $join->field = 'entity_id'; $join->extra = array( 0 => array('field' => 'entity_type', 'value' => 'user'), ); $join->type = "LEFT"; $join->extra_type = 'AND'; $join->adjusted = 'TRUE'; // add the join $view->query->table_queue['field_data_field_profile_hidden'] = array( 'table' => 'field_data_field_profile_hidden', 'num' => 1, 'alias' => 'field_data_field_profile_hidden', 'join' => $join, 'relationship' => 'users' ); $view->query->tables['node']['field_data_field_profile_hidden'] = array( 'count' => 1, 'alias' => 'field_data_field_profile_hidden' ); $view->query->where[2]['conditions'][] = array( 'field' => 'field_profile_hidden_value', 'value' => 0, 'operator' => '=' ); } } } /** * Implements hook_update_N(). */ function mymodule_update_7001(&$sandbox) { $uids = db_select('users', 'u') ->fields('u', array('uid')) ->execute() ->fetchCol(); foreach ($uids as $uid) { db_insert('field_data_field_profile_hidden') ->fields(array( 'entity_type' => 'user', 'bundle' => 'user', 'entity_id' => $uid, 'revision_id' => $uid, 'language' => 'und', 'delta' => 0, 'field_profile_hidden_value' => 0, )) ->execute(); } } Tags:
Categories: Drupal

Scald Search API Attachments

New Drupal Modules - 16 December 2014 - 3:58am

Extends the attachments indexing to file fields in the referenced Scald entity.

Configuration
For using it you should enable "File attachments Scald" in DATA ALTERATIONS in your search API index, and enable "Attachment content: scald_file" field in your search API index. Thats all.

Categories: Drupal

5 events that shook the game industry in 2014

Social/Online Games - Gamasutra - 16 December 2014 - 1:04am

As the year winds down around us, we zero in on five specific events that rocked the industry in 2014. ...

Categories: Game Theory & Design

The Game Outcomes Project, Part 1: The Best and the Rest - by Paul Tozour

Gamasutra.com Blogs - 16 December 2014 - 12:05am
The first in a 4-part series analyzing the results of the Game Outcomes Project survey, which polled hundreds of game developers to determine how teamwork, culture, leadership, and project management contribute to game project success or failure.
Categories: Game Theory & Design

Superseeds: The Body Shop, Part 3

RPGNet - 16 December 2014 - 12:00am
The setting of the Body Shop.
Categories: Game Theory & Design

Addressing Compliance Letters from Ratings Boards - by Tyrone Rodriguez

Gamasutra.com Blogs - 15 December 2014 - 10:25pm
As a console dev/publisher, we must wear many hats and handle many duties that doesn't always fit the description of a game developer. One of the sticking points I hear with developers typical is addressing ratings, particularly for global releases.
Categories: Game Theory & Design

How You're Going To Price Your Computer Game. - by Jeff Vogel

Gamasutra.com Blogs - 15 December 2014 - 10:24pm
Yet another post about the rapidly changing calculations of pricing a PC game. Things are in flux, the business is way more competitive, and nobody knows anything. Come on in and let's all despair together!
Categories: Game Theory & Design

Code Drop: Thoughts on taking the Acquia Drupal certification exam

Planet Drupal - 15 December 2014 - 5:52pm

Earlier this week I had the opportunity to be the first developer at Code Drop to sit an exam to become an "Acquia Certified Developer". I managed to clear the exam with the following results:

  • Section 1 - Fundamental Web Development Concepts: 87%
  • Section 2 - Site Building: 87%
  • Section 3 - Front end development (Theming) : 92%
  • Section 4 - Back end development (Coding) : 81%

Like many others who have done the exam, I will briefly run over my experience and thoughts on the whole process.

Categories: Drupal

Atom Image Gallery

New Drupal Modules - 15 December 2014 - 1:34pm
Categories: Drupal

Atom Volunteers

New Drupal Modules - 15 December 2014 - 1:33pm
Categories: Drupal

Atom Terms of Use

New Drupal Modules - 15 December 2014 - 1:33pm
Categories: Drupal

Atom Staff

New Drupal Modules - 15 December 2014 - 1:32pm
Categories: Drupal
Syndicate content


Google+
about seo