ICI World of Journals submit

New Drupal Modules - 18 July 2018 - 1:49am

The ICI World of Journals is one of the largest international databases of scientific journals from all over the world, where all periodicals may be indexed. Currently, over 43 thousand journals are registered in the database. Due to the high interest of journals from all over the world in our database, they have introduced improvements and functions aiming at detecting ‘predatory journals’ practices. The idea behind the ICI World of Journals database is creating a place where scientific journals would undergo such verification.

Categories: Drupal


New Drupal Modules - 17 July 2018 - 9:20pm
Categories: Drupal Blog: AGILEDROP: Drupal events in 3th quarter of the year

Planet Drupal - 17 July 2018 - 5:09pm
We've made a list of Drupal camps and summits that you can attend in the third quarter of the year. Drupal events are bringing together Drupal developers, site builders, themers, end users and those interested in learning more about Drupal. We are attending Drupal events because of sessions and collaborative discussions.   DrupalCamp LA 2018 The United States, Irvine, CA School of Engineering of the University of California 21-22. July 2018 DrupalCamp LA is an unconference-style Drupal training. They are planning to have 5 sessions proposed by community volunteers and BoFs. Sessions are… READ MORE
Categories: Drupal

Tandem's Drupal Blog: Changing a Content Type Name During a Drupal 8 Migration

Planet Drupal - 17 July 2018 - 5:00pm
July 18, 2018 Changing a content type machine name during a Drupal Migration requires a little bit of migration knowledge, but is fairly straight forward to do. The Use Case It is a typical occurrence when a Drupal site has its content types named one way when it is built. Then, later on it is changed to better reflect what that type currently ...
Categories: Drupal

Adella – The Game of Crimps Board Game Up On Kickstarter

Tabletop Gaming News - 17 July 2018 - 3:00pm
It’s amazing what can be done with 3D printing these days. Up until seeing this campaign, I didn’t realize you could 3D print with wood. That’s still kinda blowing my mind. Adella – the Game of Crimps puts you in charge of your own ship, sailing the seas, and it’s played on a very interesting […]
Categories: Game Theory & Design

Esoterica RPG Up On Kickstarter

Tabletop Gaming News - 17 July 2018 - 2:00pm
Out there in the world, there’s all manner of faith healers and shamans and spiritualists that we write off as just crackpots. But in the world of Esoterica, you might not be so quick to judge. Their powers are real, and they’re used to transcend this plane to a much better existence beyond the Veil. […]
Categories: Game Theory & Design

Thug Life Board Game Up On Kickstarter

Tabletop Gaming News - 17 July 2018 - 1:00pm
Grab your old Cypress Hill and Suicidal Tendencies CDs, it’s time to hit the streets and show who’s in charge. Thug Life puts you in control of your own gang on the mean streets of the inner city. Only one gang will be able to claim the turf as theirs, so fight it out while […]
Categories: Game Theory & Design

Privateer Press Posts Monsterpocalypse Rulebook

Tabletop Gaming News - 17 July 2018 - 12:00pm
As I mentioned before, it’s another Year of New Editions. This one’s a bit more of a blast from the past, Monsterpocalypse from Privateer Press. I remember when the original game came out at Gen Con and people were snapping it up left and right. We’ll see if that happens at the re-release this Gen […]
Categories: Game Theory & Design

CiviCRM Subtype Roles Sync

New Drupal Modules - 17 July 2018 - 11:54am

This module automatically syncs your Drupal users' role to a given CiviCRM contact subtype. So you can have for example a user role for "staff" and a CiviCRM contact subtype for a "staff" individual. When you assign the selected role to a user, it automatically gives the associated contact the chosen subtype.

This is a very simple module and doesn't do more than that. It doesn't remove the subtype if the role gets removed.

This module was developed thanks to PeaceWorks Technology Solutions.

Categories: Drupal

View in Browser

New Drupal Modules - 17 July 2018 - 11:39am
Categories: Drupal

Alt Generator

New Drupal Modules - 17 July 2018 - 11:15am

Automatically generates alt tags in the media edit screen for alternative-text-less images using Microsoft's Computer Vision API. Useful if you've recently imported a bunch of non-alt-tag-wielding images into a site.

Categories: Drupal

Podcast Radio

Tabletop Gaming News - 17 July 2018 - 11:00am
Monday is over. Mine… wasn’t so great starting off. I’m certainly glad that its in the past. My Tuesday is going much more smoothly, not least of which because of this. #NoSuchThingAsTooManyDice Nowthen, to continue the streak of good stuff with some gaming podcasts to get us through the rest of the week. Today on […]
Categories: Game Theory & Design

Single Page Application Landing Page

New Drupal Modules - 17 July 2018 - 10:44am

This module provides a way for site managers to configure and serve single-page applications as pages in a Drupal site.

This approach has been described as “Progressively Decoupled” - see

The module defines an App Landing Page content type.

The standard view mode for these nodes would be the landing page for each app.

A separate view mode would provide a JSON endpoint for configuration and text, to be consumed by the app.

Categories: Drupal

Steamforged Previews Season 4 Guild Ball

Tabletop Gaming News - 17 July 2018 - 10:00am
A couple years ago, I had a whole thing about a “year of new editions” as various games were getting updates. I really should’ve been doing that this year, too. X-Wing, Pathfinder, Age of Sigmar all got new editions, just to name a few. Another game that’s upping the edition number this year is Guild […]
Categories: Game Theory & Design Getting Value (URI) of a Drupal Media (File) Field from within a Twig Template

Planet Drupal - 17 July 2018 - 9:07am
Getting Value (URI) of a Drupal Media (File) Field from within a Twig Template

To the future or to the past, to a time when thought is free, to the next time when I need to get the value of file field to use as a variable in Drupal 8 with Twig.

markconroy Tue, 07/17/2018 - 17:07

Working my way down through one of Drupal's render arrays of doom to try to get the URI of a file in a media field (in a paragraph type), I came up with this. If you can improve it, feel free to drop a note in the comments:

{% set slide_url = file_url(content.field_p_ei_speaker_slides[0]['#media'].field_m_file_file.entity.uri.value) %}

In steps:

  1. Get the {{ content }} variable
  2. Drill down into the media field (Speaker Slides - pdf, ppt, etc)
  3. Get the first element (0 - it's not a multi-value field in this case)
  4. Load up the #media object
  5. Interrogate the field on the media entity that has the file attached (the File field)
  6. Load this entity (entity here is not presented as an item in the {{ dpm() }} but it's very handy to know
  7. Get the uri.value from here
  8. Wrap it all in a file_url() function

For clarity, here's what I had in PatternLab:

  {# Begin Slides Download #}
  {% if event_slide_download %}
        {% include '@basic-elements/icons/_svg.twig'
          with {
            svgpath : '@basic-elements/icons/svg/download.svg'

  {% endif %}
  {# End Slides Download #}

And here's what I have in the corresponding Drupal paragraph.html.twig tempate:

{% if paragraph.field_p_ei_speaker_slides.value %}
  {% set event_slide_download = true %}
  {% set slide_url = file_url(content.field_p_ei_speaker_slides[0]['#media'].field_m_file_file.entity.uri.value) %}
  {% set event_slide_download_link = slide_url %}
{% endif %}

{% include "@building-blocks/event-section/event-item.twig" %}

So now, my future self, you will know where to find this next time.

Categories: Drupal

Plaid Hat Games Announces Neon Gods Board Game

Tabletop Gaming News - 17 July 2018 - 9:00am
You know, back in the 70s and 80s, we had a much different idea of what the 2000s were going to be like. I mean, we’re less than a year and a half from 2020, and yet, I don’t think baseball is going to be like Super Baseball 2020 that I used to play on […]
Categories: Game Theory & Design

Operations field

New Drupal Modules - 17 July 2018 - 8:09am

Adds a new base field to all content entities for displaying the list of entity operations.

This field can render the operations links in a display mode or in a view.

Categories: Drupal

Phase2: Decoupled Drupal 8 + GatsbyJS: a quickstart guide

Planet Drupal - 17 July 2018 - 8:07am

If you're not familiar with GatsbyJS, then you owe it to yourself to check it out. It's an up and coming static site generator with React and GraphQL baked in, and it prides itself on being really easy to integrate with common CMS'es like Drupal.

Categories: Drupal

Paizo Previews Bards in Pathfinder 2.0

Tabletop Gaming News - 17 July 2018 - 8:00am
Bards = Best Class, in my opinion. I’ve got two games I’m in right now, and my slightly-more-favorite character of the two is a bard. I just love ’em. So I’m interested to see how they’re changing in Pathfinder 2.0. And that’s what we get a preview of in this article. From the post: The […]
Categories: Game Theory & Design

Who will will the race to be the dominant streaming service for games? - by Morgan Jaffit Blogs - 17 July 2018 - 7:47am
Everybody wants to become the dominant player in the games subscription space - but who will be left once the dust settles, and what does that mean for developers?
Categories: Game Theory & Design


Subscribe to As If Productions aggregator