googletorp

Denmark

googletorp.com

Age: 33

I'm a senior Drupal developer, working as a consultant for Reveal IT. Over the past year I've spent a lot of time on Drupal and Drupal Commerce, created a lot of different sites with it and enjoyed it all the way.

I maintain or co-maintain a host of modules on drupal.org and have contributed to a lot of other modules.

Recently I've started contributing to Drupal core, making me in the top 5% of most contributions.

When I'm not doing work or Drupal related stuff, I usually spend time with my beautiful wife and amazing son, play soccer, make grandiose cakes or some other fun stuff.

SOreadytohelp

1d
awarded Good Question
2d
awarded Nice Question
2d
comment Additional twig suggestions for menus in Drupal 8
You should be able to get with either from the configuration or some of the internal methods on the block
Feb
9
answered Change contact setting flood limit
Feb
8
comment Getting the value of a taxonomy term reference field
You shouldn't do it like that. Instead you should make a template for the field_rating field where you can add the "," and customize other parts of the markup.
Feb
5
comment Getting the value of a taxonomy term reference field
It sounds like you are doing it wrong. While you can get an answer it might not be the best solution. Normally you would want to use a field formatter or field styling to handle the output. If you need the term for logic, it might be more clean to do it in a preprocess, rather than doing it in the twig template.
Feb
5
comment Drupal 8 with ubercart
You should go to the module and report bugs you find on modules. Since it's an alpha release it's expected that things aren't working. If you want to actually fix some of these issues, you can ask a question, but you would need to look into things a bit first and see what fails etc. This would require that you know how to develop for Drupal 8
Feb
3
comment Customize admin form field in
@Gabriele You should look at hook_form_alter in the documentations (api.drupal.org). I'm expecting you know how to make a module understand hooks etc in my answer, as those are needed.
Feb
3
answered Customize admin form field in
Feb
3
comment Storing a per user history of interactions?
Can you explain a bit what it is you want to achieve? You could say you already have a history of all of the user events, since you have all of the comments, votes etc in the database already. Do you need to store additional metadata? Do you need to make this data searchable or what are you trying to accomplish. I think knowing the goal for this, would make it easier to come up with some good solutions.
Feb
2
answered Drupal go to with destination
Jan
30
comment How can I display block programatically in Drupal 8
If possible, you should avoid using drupal_render or the render service. drupal_render is depricated but returing a render a array with the rendered content is pretty bad, you should return $block_content instead, the render array can be altered before the actual render and you should let Drupal do the rendering as much as posisble instead or doing it your self. What you returns needs to be rendered again, which makes the actual rendering pointless
Jan
30
comment How can I display block programatically in Drupal 8
If possible, you should avoid using drupal_render or the render service. drupal_render is depricated but returing a render a array with the rendered content is pretty bad, you should return $block_content instead, the render array can be altered before the actual render and you should let Drupal do the rendering as much as posisble instead or doing it your self.
Jan
30
comment How can I display block programatically in Drupal 8
If possible, you should avoid using drupal_render or the render service. drupal_render is depricated but returing a render a array with the rendered content is pretty bad, you should return $block_content instead, the render array can be altered before the actual render and you should let Drupal do the rendering as much as posisble instead or doing it your self.
Jan
30
comment How can I display block programatically in Drupal 8
@Berdir It's been a while, but I finally got around to improving the answer. With all the various caching going on, using the plugin directly is probably only useful in limited situations.
Jan
30
revised How can I display block programatically in Drupal 8
Try to add all og the variations to the answer and fix the way plugin blocks are instansiated.
Jan
30
revised How can I display block programatically in Drupal 8
Try to add all og the variations to the answer and fix the way plugin blocks are instansiated.
Jan
29
awarded Yearling
Jan
29
awarded Yearling
Jan
29
answered Additional twig suggestions for menus in Drupal 8
1 2 3 4 5