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

Create sections on same page with views

With views is it possible to create multiple sections of same content type on the same page? I want to have them assigned with section URLs like "#SECTION1" , "#SECTION2" etc. So on the same page when I click on a link mysite.com/#SECTION1 it should gothe section correctly.Isthere a way to get these sections created using Drupal view?

Detect is form modal

Hi, is it possible to detect is form created as modal ('data-dialog-type' => 'modal') or not(simple by link) ?

Thanx in advance
marukas

Enforcing 'UniqueField' contraint when field is created programatically

Normally, you can addConstraint('UniqueField') to ensure that the title field of a node is unique.

However, in my use case, the title field is hidden in the form display (so it is empty), and instead, I create the title field by joining two other fields (using hook_node_presave()). Then, setting the 'UniqueField' constraint for the title field has no effect.

Filter view result column

I have a view that yields result in Table format. The view result looks as below:

https://imgur.com/a/Os1MFYb

Is there a way to add column-level filters as highlighted in the image? The filters should be added to each column after the view results are rendered based on exposed filters. Is there a way to achieve this?

Security implications of creating a user with null password

Is there a security risk in creating users (pragmatically) with a null password?

We tested sign in with no password and it doesnt allow leaving password empty. We tested basic auth with JSON:API and the user doesnt get authenticated (403 is returned). What else could be at risk?

Get term on condition context plugin

Hallo I am trying to check for a field content of a term to trigger a selection criteria in Page Manager but got stuck at retrieving the term from the context. Any hint?

tx Simone

Pages

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