This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Git (Gitolite) module. Help me configure the module

Good afternoon, colleagues. We use the git module on the site (drupal 7) (previously it was called Gitolite, https://www.drupal.org/project/gitolite). The question arose 1) Where to register a private key so that the module can sync with the git server? Where is it stored? 2) now we use drupal6 and the gitolite module. by the cron, we call "drush gitolite". Authorization gitolite occurs at the key of the user from which you run drush.

Time field

In a Content Type I need 2 fields now.
In a 3 field I must have the difference between the time of arrival and that of departure.
In order not to install a new module, I would prefer to use the DateTime field but as far as I could see the date field I cannot hide it.
Any suggestions?

default_value for entity reference in form_alter

Drupal 8.8

In a C.T. I have various entity reference fields and set them with a value taken from another C.T.
The problem is that I can only set it in this way 

$a = Dato();

$form['field_a1']['widget'][0]['target_id']['#value']   = $a;

and it works

Instead I would need to set it in this.

$form['field_a1']['widget'][0]['target_id']['#default_value']   = $a;

but it does not work

User clicked on Add to cart button it should open in Commerce Cart Flyout

Hi,

I want when user clicked on Add to cart button it should open in Commerce Cart Flyout (sidebar cart layout) but as of now it not going to Commerce Cart Flyout.

I also add into block header region when i enable Commerce Cart Flyout then in header region commerce cart (default )featured disappear.

Update alias after edit a node PATHAUTO

I have some content type with a pathauto alias, that is to say, they were created due to a pattern of pathauto.

 I have 2 entities called "Trophy" and "Football", 'Football' has a entity reference field to 'Trophy' and the pattern that it was used to create 'Football' uses the title of 'Thophy'. The problems appears when I update the name of Trophy and the  path alias of Football is outdated, dont update it!

Someone know something about this or how to do this?

Thanks!!

twig: including a variable into an iframe does not work

I have a custom content type with a field for a link. The link is supposed to be shown in an iframe.

in my node--databasemindmap2.html.twig I have the following code:

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions