Related (similar) tags

Is there a way to assign related tags to a taxonomy tag? A tag named "wow" should also show nodes with a tag "cool" or so.

Inline Entity Form manual AJAX to update the referenced target_id

We have a node with a single value field that uses Inline Entity Form Simple form widget. This works well for us and we do pre-populate that field in the xxxx-edit-form form_alter. So we just load the node we want to default to and assign it to the the ief widget like this:

$form['field_xxxx']['widget'][0]['inline_entity_form']['#default_value'] = $default_entity;

This works well and the edit form shows the defaulted entity in the ief reference field.

Website Style Guide

If anyone has a sample website style guide they'd be willing to post or send me that would be appreciated.  scott.render@louisvilleky.gov  We are working to create one as an addition to a branding guide we've been using.  Thanks.

Scott

External information

Hi,

I have a site that contains products.

I would like for each of these products to offer a price comparison, prices offered by external sites (ex: Amazon).

Do you know which is the way to go?

Thanks for your advices

What to do about abandoned packages?

Composer sometimes gives this type of warnings (this is from a broken Drupal 8 site built by someone else – I've been hired to fix it):

“Package doctrine/reflection is abandoned, you should avoid using it. Use roave/better-reflection instead.”

Checking why it is installed produces:

Trying to use composer ver. 2.0.8

The good news are that I am able to update the core to ver. 8.9.13 (security update) using composer ver. 1.10.19.

However, trying to do the same with composer ver. 2.0.8 fails. This is what I am getting:

The "drupal-composer/drupal-scaffold" plugin was skipped because it requires a Plugin API version ("^1.0.0") that does not match your Composer installation ("2.0.0").

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x