After Donation change user role

Hello,

i am developing a Drupal based Website.

MY Question is it possible to solve the following scenario:

A user is making a donation. If the the donation is succesfull, the user role should change immediately.

Can give someone give me some hints?

I thought about Rules, but which payment or donation module works with rules? Or is it possible to use drupal commerce in combination with rules?

Thank you very much.

I think it's related to "Text formats and editors"

First, I am completely new to Drupal, I volunteered to help support a site and I have enough “technical” knowledge to be dangerous, so with that in mind, here goes..

How to associate domain and subdomain for group module

The drupal group module seems interesting and I am using drupal 8

https://www.drupal.org/project/group

Just have a few questions

How can I associate subdomain to certain groups created?
How can I associate domains to certain groups created?

How can I set a theme for a particular group created?

Language Switcher doesn't “strike”/disable links in untranslated nodes/pages Drupal 8

In Drupal 7 language switcher block used to disable/strike untranslated language links, but it does not work that way in Drupal 8. for example if I go to http://example.com/node/1 language switcher dose not disable/strike untranslated language links. any solution? thanks

Add custom field in vocabulary configuration page

I wanted to add a select list field in vocabulary page. I did it by form_alter Now, I want that field value in hook_taxonomy_vocabulary_update or hook_taxonomy_vocabulary_insert. But I couldn't get it.

What am I doing wrong ? Is there any other good way to do this ?

Using custom profile field in translations

Hey,

I want to use a custom profile field in translations of a string shown in articles. I can use tokens like @username there but how can I use the content of the custom profile field? I wish to use a real name field rather than an username field in articles as information about article's author.
Additionally I would like to know how I can change the date format in articles. I can use @date but not @date:medium?

Thanks for your help!

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x