Schema.org Metatag tokens

I installed the Schema.org Metatag module and I see where to find it on a page, but I don't understand how to use tokens to pull information from the page. Are there any step by step instructions anywhere?

I also installed Schema.org Metatag Example. Now where do I find this example?

Thanks.

Advice on the best way to setup multilingual / multidomain site?

Hi,

we've currently got a D7 site with 2 languages NL and FR. The default language is NL with translations to FR. The problem with this setup is that when you change the original NL string, Drupal loses its link to the original NL string for the FR translation.

We are preparing a new D8 setup for the site, (not via migrate) so we have to opportunity to do a clean install and better language setup.

Upgrade Drupal 8 Bootstrap issue plugin.manager

Tried upgrading the module and packages and i get this when I access the site

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: The service "plugin.manager.bootstrap_layouts" has a dependency on a non-existent service "plugin.manager.core.layout". in Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass->processValue() (line 31 of /home/<SITE_NAME>/public_html/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php).

Handling multiple .once() actions in custom module, Lazy Builder

I have a simple jquery call in my custom module to dynamically change the css depending on the visitor. The first uses find() of a class in a header and it seems to work fine. Now, I need to find another set of elements in a sidebar but it's not working. When I first was watching it move through my function I saw that the sidebar was processed well after my script had run. That leads me to think to use .once() for both calls but the second ends up changing the sidebar height to 1px.

White page on new Drupal install

Hello,

I am running CentOS 7 with PHP 7.4 and MariaDB 10.4.  I have installed the latest version of 8.X and 9.X.  During both installs I keep getting a white page and nothing on it.  When I look at the logs I keep getting the errors below.  The box is a new box with nothing on it except a minimal CentOS 7 install.  I have followed the links below to install Drupal, but it is not working for me.  What am I missing?

For Version 9 I am using :

Populating Select2 with AJAX

Hi everyone:

I am trying to populate a selec2 field on open with AJAX. In my hook_form_alter, I have added the following code:

  $form['#prefix'] = '<div id="form-ajax-wrapper">';
  $form['#suffix'] = '</div>';

  $form['field_author']['widget']['#ajax'] = [
    'callback' => 'myPopulate',
    'wrapper' => 'form-ajax-wrapper',
    'event' => 'select2:opening',
  ];

which correctly calls to the callback function when I try to open the drop-down list:

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x