Account created on 29 December 2006, over 17 years ago
  • Drupal developer at ReloadΒ 
#

Recent comments

πŸ‡©πŸ‡°Denmark ramlev

#2 - I can use this webformnavigation module. Thank you. But it does not solve my problem.

The webform is set up with four pages, within every page, i have several steps. Each step is a textarea,. and i want to go through these steps within the page with a prev / next button, like when changing pages

πŸ‡©πŸ‡°Denmark ramlev

ramlev β†’ created an issue.

πŸ‡©πŸ‡°Denmark ramlev

ramlev β†’ made their first commit to this issue’s fork.

πŸ‡©πŸ‡°Denmark ramlev

This is not a bugreport for this modules missing Drupal 10 version, but a new module where a few things is fixed. So either move your patches to another bug report or delete them :)

πŸ‡©πŸ‡°Denmark ramlev

ramlev β†’ created an issue.

πŸ‡©πŸ‡°Denmark ramlev

Cannot see why we can enable the feature to support anonymous shopping with commerce_license. Every order have an email attached.

And for my usecase, i want to enable it for anonymous users, and add a token so it's possible pΓ₯ to send an email with the license code. Even though that the user cannot login to it's account.

Make sense ?

πŸ‡©πŸ‡°Denmark ramlev

Yes it can be closed

πŸ‡©πŸ‡°Denmark ramlev

As explained in my bad english, it works when fired through cron. When advancedqueue hook_cron is fired, it works but not from drush.

πŸ‡©πŸ‡°Denmark ramlev

@vmarchuk not if executed with drush but from UI, yes.

πŸ‡©πŸ‡°Denmark ramlev

Have to say, i have another event that subscribes to that event, and it fires ok, but not the one from this module.

πŸ‡©πŸ‡°Denmark ramlev

@tonytheferg You have access to the purchased_entity in the twig template, from there you can get all information

πŸ‡©πŸ‡°Denmark ramlev

copy the template to your theme and use twig_tweak to attach a block or view or whatever ? is that a solution ?

πŸ‡©πŸ‡°Denmark ramlev

Found the solution right away :D

Was missing the skip_on_empty plugin, and now it works.

πŸ‡©πŸ‡°Denmark ramlev

Possible that you can make a D10 release anytime soon ?

πŸ‡©πŸ‡°Denmark ramlev

Possible that you can make a drupal 10 release soon ?

πŸ‡©πŸ‡°Denmark ramlev

Add the commerce module again with composer or manually and uninstall it correct.

πŸ‡©πŸ‡°Denmark ramlev

@mrweiner you should add a #pre_render to your form_alter and add a class implementing Drupal\Core\Security\TrustedCallbackInterface

user_module.module

<?php

use Drupal\user_module\YourCustomFormAlterBuilder;

function user_module_form_FORM_ID_alter(&$form, $form_state) {
  $form['#pre_render'][] = [YourCustomFormAlterBuilder::class, 'preRender'];
}

Add something like this in your modules src/ folder.

YourCustomFormAlterBuilder.php

<?php

namespace Drupal\user_module;

use Drupal\Core\Security\TrustedCallbackInterface;

class YourCustomFormAlterBuilder implements TrustedCallbackInterface {

  public static function trustedCallbacks() {
    return ['preRender'];
  }

  public static function preRender($form) {
    // Alter the form here.
    return $form;
}
πŸ‡©πŸ‡°Denmark ramlev

If not, just implement the patch in your composer file

πŸ‡©πŸ‡°Denmark ramlev

Thank you again :)

Subscribe to the commerce_order.place.post_transition event, and update the the EASY payment reference id with the Nexi API

πŸ‡©πŸ‡°Denmark ramlev

The solution with the commerce_payment_extra_order module solves it, thank you for the good explanation

πŸ‡©πŸ‡°Denmark ramlev

Actually a good point, have looked into cloudflared as well, and ofcourse thats a solution. thank you

πŸ‡©πŸ‡°Denmark ramlev

New version, splitted drupal 10 compability and this up

πŸ‡©πŸ‡°Denmark ramlev

I have updated the patch to work with Drupal 10, because jquery.forms is deprecated in Drupal 10, it seems that it's not used anyway.

πŸ‡©πŸ‡°Denmark ramlev

Added a simple patch to be able to patch with composer before merged

πŸ‡©πŸ‡°Denmark ramlev

Patch #3 wont work, it's not possible to make a DI in the contructor when we're extending the ProductVariationWidgetBase.

Therefore i was injection the Drupal service here

πŸ‡©πŸ‡°Denmark ramlev

And with composer.json requirement changes

πŸ‡©πŸ‡°Denmark ramlev

Sorry, cannot see how to remove old error containing patches.

πŸ‡©πŸ‡°Denmark ramlev

Added a new not containing obsolete charaters

πŸ‡©πŸ‡°Denmark ramlev

Heres the patch which makes it ready

πŸ‡©πŸ‡°Denmark ramlev

Heres the patch that makes the module drupal 10 ready

Production build 0.69.0 2024