Changing field widget programmatically under Manage Form Display

Hi, 

Please let me know how can I set the field widget property programmatically. Here is the screenshot of the Manage Form Display of my website, I am trying to set the widget of the field Positional Index to Simple Hierarchical Select programmatically..

https://imgur.com/a/n8PLaLQ

Please let me know, thanks.

multiple field groups instances on one node?

In the 'news' content type there is a news which is a link to the article and a newsagent  of that news which comes from taxonomy term. Both fields have been grouped with field group (tried HTML element or field set)

Content type 'news' will have fields of source of a news (link) and newsagent (taxonomy term) bind together in a field group.

I managed to link the fields( link and taxonomy term) with filed group module but I want to be able to put multiple instances of this field group but it is not working as expected.

DRUPAL 8 and SQL database oversize by cache and Blocked....

Hello :)

I make a Website with Drupal 8, with a BBD SQL 2giga, but I have a problem : 

-With my Host OVH, when BDD is Oversize, exemple 2,1giga, it's blocked..... :(

So all time I go to PHPMyAdmon for Clear Cache manually and deblock my Website.....

On Drupal the Clear cache buttom is manually, and my Idea is make Event/Trigger in SQL PhpMyAdmin for clear Cache automaticly... Bu I don't know how do....

I try this but error : I want delete Cache each day at 00h

Logo with Transparent background logo

Hi there - apparently my CSS, and so skills are very rusty. Anyway I am trying to add a logo, with a transparent background, but apparently the Batik theme, the background is inheriting #ffffff, as I understand - but regardless of where I edit in the CSS, the logo pops up with a white background and not the transparent, so the gradient behind is not visible. 

Can anyone show me, where to edit the CSS, or how to make the background transparent, and not white? (preffered before I toss my laptop out of the window)

Thanks

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x