Dynamic Routes in Drupal 8 - passing in argument to defining class?

I know the simple way to define some dynamic routes laid out in https://www.drupal.org/node/2122201.

But how do I pull in information for the relevant entity. For example, I want the entity type. This is an extendable class that defines lots of default routes, and just needs the entity type in order to define them.

Drupal 8 - Child theme of Bartik

I tried to create a Drupal 8 child theme of Bartik. The problem is that the CSS of my child theme is loaded above the css of Bartik on all pages.

mytheme.info.yml file:

name: mytheme
type: theme
description: 'mytheme theme based on Bartik'
core: 8.x
package: custom
base theme: bartik
stylesheets:
  all:
    - css/mytheme.css

Anyone has a clue what goes wrong here?

Wanted PHP Drupal Open Contributor for Dortify (xortify.com)

Security Module Dortify for Drupal

Hi how are you, over the next few weeks I will probably if no volunteers come forward, with more drupal experience than I contribute this project to the open source on drupal.org, so far I have developed both XOOPS and Wordpress, but I would like someone to take the payback of screen impression etc, bettered from the internal community, if your interested in converting this IP Sec security tool, based on Wortify for Wordpress, then please get in touch asap, best by skype..

Small practice drupal 8 website

Hi,

I have to teach webdevs about Drupal 8. Some of them have experience with Drupal 7. I spend a half day about explaining the new features in Drupal 8 (not code-related yet). But then I want to spend a couple of hours on a practice exercise. Maybe creating a small drupal 8 website.

Does anyone have a good exercise for this? Maybe create a small website? And if so, which parts should be included?

Thanks for your help!

Running AJAX in rendered form in block

Hi,

I'm rendering a form in a block, general functionality will be

* render form
* form contains field's a. and b. that will contain floats, field c is empty and a button
* clicking button updates field c. via ajax with a+b (without reloading the page)

so to render my block I do:

Faster Drupal uploads with Parallel Plesk control panel

This may help others who are also using Parallel Plesk control panel (I'm using v11.5), to upload Drupal files faster. I am not using Shell access, but the standard Plesk control panel.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x