WriteOnly/ReadOnly Database - Postgres configuration with Drupal 9

Hi All,

I would like to setup a Drupal with PostgreSQL for writeonly and readonly databases. I have gone through lots of article but something is missing from my side on implementation. I have following configuration in the settings.php file. Do I need any other changes any where else? Mainly would like to implement two database 1) write only (DB1) - All the write queries such as insert, update, delete etc and 2) readonly (DB2) - all the select queries. Will this implementation help me to achieve if DB1 goes down still all the traffic goes to DB2 (ReadOnly)?

Settings.php

Search by type of content and entity

Hi,

I'm using search api, and search facets.

I want to filter my search results by type of content and entity.

For example, I have two types of content: A and B. I would like to have as filters: A, B, users, tags.

The user could then search in content types A, content types B, users, or tags.

I tried with facets, but only found to filter by content type, not also by entity type (user, and tags).

Thanks in advance

Difficulty in making CSS related changes

Dear All,

I am using Gavia CharityPlus theme for a car's website. Now I wanted to edit its CSS to improve its look and feel. However, I am not able to do so. Could anyone suggest which files to make the changes to? I have tried to make the required changes in custom.css, template.css, and bootstrap.css. All these files are located inside the theme.  Could anyone suggest where to go to make the changes?

The link is as follows.

https://www.japaneseautoworld.com/

Thanks and regards

Separate balise hr?

Hi :)

I would like put balise hr between Field for a Content, but how is the best proceed?

With Layer Builder I try but no works....

Thx.

Composer problems: ... "does not match the constraint"

Composer, * sigh *.

I tried to install the promising Entity Pager module. It comes with this install instruction for Composer, which I used: 

composer require drupal/entity_pager:^1.0@RC

Actually, there was a single quote before drupal and after RC, but past experience showed me that those quotes don't work with my setup. Anyway, a couple of seconds later, I get this: 

Entity reference needs to be approved by the referenced entity before it can be published

I'm using the group module, but the problem/question would be the same for any entity type. I have 2 group types, initiative and partner. All initiatives have a supporting partner (field_er_supporting_partner) linked with an (corresponding (cer)) entity reference field (field_er_supported_initiatives) in the partner group. However, before the initiative (or a revision) is published, the partner needs to approve/confirm that they are indeed a supporting partner to that initiative.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x