Newsfeeds

Wyrd’s April Newsletter Posted

Tabletop Gaming News - 19 April 2018 - 9:00am
When you want to keep up with what a company’s doing, it’s helpful if they have some sort of concentrated place where you can find all such info. A newsletter’s a good place to start, and Wyrd does one monthly. Their April one is up now, and you can check out what releases they’ve got […]
Categories: Game Theory & Design

Acro Media: One Entry Point - Commerce for Online and Real World Transactions

Planet Drupal - 19 April 2018 - 9:00am

DrupalCon Nashville 2018 Session

Join Acro Media's technical Drupal Commerce veteran, Josh Miller (all things programming) and Business Developer, Becky Parisotto (all things business) as they walk through the wild world of physical commerce that is powered by and paired with a Drupal web interface. Both Josh and Becky work together with a number of physical commerce clients. Through our client’s requirements, we have gained a better understanding of the iceberg that is building an interface for retail, and allowing for that true omni-channel experience for both customer, and (sometimes more importantly) the business owner.

Josh will review the state of Point of Sale as it integrates with Drupal Commerce 2 on Drupal 8, compare and contrast fulfillment in the new shipping and inventory modules, and talk about a new module that handles requesting products from your suppliers and updates store stock when its received. Additionally, Becky will walk us through what Drupal Commerce is capable of in the way of “powering your business” and truly being the end to end backend brain for finances, accounting, product management, customer management, shipping, fulfillment, stock, inventory and community. Drupal Commerce is a big box of legos, come and learn how we build fully integrated businesses, from the web to the storefront to the back of house, to the warehouse, and more.

This is meant to be a practical review with easy to digest client examples and micro case studies of how we merge an online tool with a physical store. Setting clients in digital stone, all powered by Drupal.

Talk to us

Acro Media is a Drupal Commerce development agency that specializes in enterprise-level ecommerce. We are committed to building strong strategic partnerships and using our ecommerce expertise to help clients create a dynamic web presence that engages audiences, generates revenue, and boosts brand awareness.

Categories: Drupal

Sooper Drupal Themes: CKEditor 4 security update and your SooperThemes products (Most Drupal 7 sites not at risk)

Planet Drupal - 19 April 2018 - 8:25am

I got word of concerns about the recent CKEditor 4 vulnerability that is responsible for a moderately critical vulnerability in Drupal 8. Rest assured that most Drupal 7 sites are not in danger. While both the Glazed Builder module and the Glazed installation profiles include their own copy of CKEditor 4, this vulnerability exists in an optional image plugin for CKEditor 4 "image2" that is not included in the default package of CKEditor 4 that our products carry. 

The only Drupal 7 websites that are affected by this vulnerability are sites that use a custom build of CKEditor that explicitly includes the image2 plugin.

Drupal 8 does include this additional plugin, which is why Drupal 8 users should update to 8.5.2 immediately. For Drupal 7 users the commotion has actually sparked some positive deveopment: the Drupal 7 WYSIWYG module has pushed a release that supports the latest CKEditor 4.9.2. This means I can update all SooperThemes products to CKEditor 4.9.2 and this brings us a number of bug fixes and improvements to inline editing. This update will be available tuesday.

The latest CKEditor reportedly also dropped it's reliance on the eval() function which means we can start using better Content Security Policy headers that include the unsafe-eval directive on Drupal 7 sites.

SooperThemes Drupal 8.x-1.0 Release Planned Tuesday

After 13 months of intensive development, testing, and preparation of our product infrastructure we're finally launching our Drupal 8 page builder module and themes tuesday! In the past few weeks I've been learning a ton by talking to customers about what they like and dislike about Sooperthemes and especially the drag and drop builder. If you have any feedback or ideas for future development of SooperThemes.com and our products just leave a comment here or use the contact form!

Update The Wording Of How Our Pricing Works: Pay Once To Use For Life. Optionally Renew Yearly For Support & Updates.

I've also updated the pricing information to reflect the fact that you can pay once to download all our products and use them forever. This is how SooperThemes subscriptions have always worked. This was apparently not clear from the information and marketing communication on the website. You pay once and only renew if you wish to receive continued support and product updates. This subscription based payment concept is really what has made SooperThemes a success over the past 3 years and the increased stability in revenue is what gave me the confidence to continue investing all my energy and money in developing the Glazed Builder module and our next generation themes for both Drupal 7 and 8. I also think it's fair to users of the product that they pay a small yearly contribution to continue getting support and product updates because the products are continuously in flux. Subscribers may stop the subscription at any time and continue using the products without support services.

Categories: Drupal

Acro Media: How Memory Works in PHP and Its Hidden Costs

Planet Drupal - 19 April 2018 - 8:24am

DrupalCon Nashville 2018 Session

Join Shawn McCabe, Acro Media CTO, as he goes behind the scenes and teaches a bit about how PHP uses memory when it runs your code. PHP's ease of use and low barrier to entry also have some side effects to how memory is used, sometimes using memory differently and in places you didn't expect. If you're doing small pages that load quickly, for a low traffic site, this probably won't even be noticeable unless things go quite wrong. Once you get into heavy pages on high traffic sites, or even worse, long running background processes, then knowing a bit more about the memory you're using can help a lot.

In PHP, variables have a lot of meta-data they need to store, since they can be any size and of any type. They need all this meta data to store information like how much data they hold, what type of data it is and how it is stored. Often this "hidden" meta data cost will use more memory than the actual info you are storing, although recent versions of PHP have improved on this.

The idea isn't to learn every low level detail, just to have a little knowledge of what is happening with memory usage when you're programming so you can be cognizant of the choices you make and a bit more efficient in your usage.

Hopefully this talk will be interesting to even experienced developers, but you only need some programming basics to follow along.

Talk to us

Acro Media is a Drupal Commerce development agency that specializes in enterprise-level ecommerce. We are committed to building strong strategic partnerships and using our ecommerce expertise to help clients create a dynamic web presence that engages audiences, generates revenue, and boosts brand awareness.

Categories: Drupal

The Faceless Board Game Up On Kickstarter

Tabletop Gaming News - 19 April 2018 - 8:00am
Your friend is lost in the woods. All you’ve got to go on is a magic compass and your intuition to go on to find him. That’s what you’ll be doing in The Faceless, a new board game from Alter Ego Games that’s up on Kickstarter. It’s a cooperative affair where you’ll move around a […]
Categories: Game Theory & Design

Commerce Guys: Introducing the Cart API for Drupal Commerce

Planet Drupal - 19 April 2018 - 7:36am

At the end of February, I began working on an series of API endpoints that would allow for a progressively decoupled cart experience. There are a few reasons why we decided that Drupal Commerce needed an API solely for the cart.

  1. Performance: when a cart block is rendered on the server it has complicated cache metadata. Cart block contents vary per user and change too often to be cached effectively. As such these blocks incur heavy logic and rendering costs.
  2. Flexibility: modern consumers expect interfaces to be more reactive and match common UX patterns. These patterns almost always require client-side implementation using JavaScript that communicates to backend APIs.

In my last blog I brought up why the API-First and JavaScript Modernization initiatives matter to Drupal Commerce. I wanted to target something limited in scope that would provide big wins for Drupal Commerce users as we ventured into the fully and progressively decoupled Drupal realm.

As a result, we now have the Commerce Cart API module. Our first implementation will be the Commerce Cart Flyout module, which uses the RESTful endpoints provided by the Cart API module to create the dynamic cart interface shown in the sample animation below.

This moves us decidedly down the path of providing Drupal Commerce users with progressively decoupled components that improve the customer experience. In a following blog post, I’ll going to write about what it was like to build this module. (Hint: we didn’t “just do it” and release it into the Drupal.org namespace.)

I am planning on experimenting with more areas that we can perform progressive decoupling and look forward to connecting with folks about the topic at Decoupled Drupal Days in August. You should meet me there to join in the conversation!

Categories: Drupal

Man-O-War Assault/Siege Chariot Available For Pre-Order For Warmachine

Tabletop Gaming News - 19 April 2018 - 7:00am
Black Anchor Industries is Privateer Press’ “really, really big” minis division. They’ve got their next figure available for pre-order. This time around, it’s a new siege engine for Khador. It’s the Man-O-War Assault/Siege Chariot (depending on what gun you put on top). Pre-orders will come with a free trucker hat. From the website: Preorder Man-O-War […]
Categories: Game Theory & Design

Indie, AAA and other Buzzwords - by Ionut Vaduva

Gamasutra.com Blogs - 19 April 2018 - 6:45am
As soon as you get started with a new game, the market asks you to label yourself: Indie, AA, AAA, super-unicorn-AAA? So what would you choose?
Categories: Game Theory & Design

Try/Fail Cycles - by Gregory Pellechi

Gamasutra.com Blogs - 19 April 2018 - 6:44am
Games as power fantasies result in success after success for player character. For the story that makes them boring because the characters never encounter failure and have to change track. A Try/Fail cycle is vital to interesting storytelling in games.
Categories: Game Theory & Design

Unity SRP Overview: Scriptable Render Pipeline - by Ruben Torres Bonet

Gamasutra.com Blogs - 19 April 2018 - 6:41am
I did some research and write an upcoming experimental Unity feature: Scriptable Rendering Pipelines. Why? Because it concerns you, it concerns me. It will eventually change the way you have to work. The readier you are, the better off you will be.
Categories: Game Theory & Design

Specbee: Drupal CMS : Redefining the Future of Digital Healthcare

Planet Drupal - 19 April 2018 - 6:25am

I recently stumbled upon an article which stated some facts on technology and its impact on one of the biggest sectors in the world - Healthcare. I was taken by surprise to know that a survey which engaged patients of all varieties, stated that two thirds of them had not been in a discussion with the doctors about their own treatment, more than 35% did not have a clear picture about the goals of their treatment, and 20% received a conflicting information from different professionals.

Categories: Drupal

Starfinder: Pact Worlds Now Available

Tabletop Gaming News - 19 April 2018 - 6:00am
In Starfinder, players can go anywhere they want within a vast universe of planets, moons, and stars. But just going haphazardly around isn’t going to be the best. Instead, it’s best to know what you’re getting into. That’s where the Pact Worlds book comes in. It gives you stats and info about 14 different major […]
Categories: Game Theory & Design

Gnomecast #38 – Meet a New Gnome: Wendelyn Reischl

Gnome Stew - 19 April 2018 - 5:34am
Join Ang and get to know the newest Gnome, Wendelyn, in this new “Meet a New Gnome” episode of Gnomecast! Learn about Wendelyn’s origin stories as a player, GM, and RPG designer, and hear some previews of upcoming Gnome Stew articles! Will all of this be enough to keep Wendelyn out of the stew? Download […]
Categories: Game Theory & Design

Agiledrop.com Blog: AGILEDROP: Drupal events in 2nd quarter of the year

Planet Drupal - 19 April 2018 - 2:46am
We've made a list of Drupal camps and summits that you can attend in the second quarter of the year. Drupal events are bringing together Drupal developers, site builder, themers, end users and those interested in learning more about Drupal. We are attending Drupal events because of sessions and collaborative discussions.   Drupaldelphia 2018 United States, Philadelphia, PA Hussian College of Art 27-28. April 2017 This year, Drupaldelphia is a part of Philly Tech Week 2018 presented by Comcast, and it will be hosted at Hussian College of Art. There are 39 accepted sessions.https://… READ MORE
Categories: Drupal

orkjerns blogg: How to find the route name in Drupal 8?

Planet Drupal - 19 April 2018 - 1:21am
How to find the route name in Drupal 8? admin Thu, 04/19/2018 - 08:21

In many cases, a route name is something you might need to get something done in Drupal 8. For example to generate a link, or maybe create a local task in your module.

Some examples:

The path can be found in a routing.yml file

Some times you can just search for the path in your codebase, and then find the corresponding route name. Let's say that I wanted to link to the page mysite.com/admin/config/regional/translate. If I just search the codebase for this path, it would be revealed in the file locale.routing.yml:

locale.translate_page: path: '/admin/config/regional/translate' defaults: _controller: '\Drupal\locale\Controller\LocaleController::translatePage' _title: 'User interface translation' requirements: _permission: 'translate interface'

To link to this page using the API for generating links, I would then do something like this:

$link = Link::fromTextAndUrl(t('Translate interface'), Url::fromRoute('locale.translate_page'));

So to conclude, the route name for that particular page is the key in the routing file, in this case locale.translate_page.

The path can not be found in a routing.yml file

Now, this is what I really wanted to write about in this blog post. Getting the route name directly from a routing file is simple enough, but where do you look if the path can not be found in a routing file?

Find route name with PHPStorm

My first trick is to utilize the IDE I use, PHPStorm.

Start by setting a breakpoint in index.php on the line that looks like this:

$response->send();

Next step, refresh your browser on the page you want to know the route name for, and hopefully trigger your breakpoint. Then you click on the icon for "evaluate expression". On my work computer this has the shortcut key alt-f8, but you can also find it in the debugger toolbar, or via the menu (Run -> Evaluate expression).

Then evaluate the following code:

\Drupal::routeMatch()->getRouteName()

That should give you the name of the route. As illustrated below in a gif:

Find route name with any development enviroment.

Now, I realize that not everyone uses PHPStorm, so here is one solution that should work without having xdebug and an IDE set up:

Following the same tactic as above, let's open up index.php again. Now, just change the following code:

$response = $kernel->handle($request); +print_r(\Drupal::routeMatch()->getRouteName()); $response->send();

The difference here is adding the line with print_r.

Now visit the page you want to know the route name for. This will print the name of the route as the very first output of your Drupal site. Since you probably do not want this for your live Drupal site, this is best done on a development copy.

Other options

You can also use the module webprofiler which is a part of the devel module. This may or may not invlove more steps than necessary, depending on your project. But to be fair, that is also an option.

To finish off, here is an animated gif in the category "route". Let me know your tips and tricks in the comments!

Categories: Drupal

CiviMail

New Drupal Modules - 19 April 2018 - 12:49am

Integration with CiviCRM CiviMail.

Features
  • Send a node from a CiviCRM Contact to CiviCRM Groups.
  • Per content type configuration: enable CiviMail and set the view mode for the mail.
Dependencies

CiviCRM Core, CiviCRM Drupal, CiviCRM Entity.

Categories: Drupal

Game clones in Eastern Europe: here's why. - by Orchidee Stachelig

Gamasutra.com Blogs - 19 April 2018 - 12:26am
Eastern Europe: talented devs, lack of original ideas. Why? A possible explanation follows.
Categories: Game Theory & Design

Lawful GM: World Building

RPGNet - 19 April 2018 - 12:00am
The world building required for a political game.
Categories: Game Theory & Design

Security Check Kit

New Drupal Modules - 18 April 2018 - 11:51pm
Categories: Drupal

VK comments Social Plugin

New Drupal Modules - 18 April 2018 - 11:33pm

Implement (VK)Vkonakte commenting as a block. Each block with its own settings.

Categories: Drupal

Pages

Subscribe to As If Productions aggregator