Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
My requirement is like, A authenticated user can add the content. but if the anonymous user tries to add the content, they should be first redirected to login page. If the user is authenticated then the session is redirected to Add content page.
I've been doing a lot of researching the past few days, and I cannot for the life of me figure out how to create a facet block like amazons.
I believe what I'm looking for is a taxonomy Hierarchical facet, and something for ensuring you can have multiple checkboxes checked within a facet.
I've been messing with search api, and facets. However, it would seem some features in search api are no longer there. The guides I was going by were all from before search api had removed those features.
I've been searching to find out how to configure the public file system to store files on a disk separate from the web root. The only thing I can find is that the path I use must be within the web root. Any ideas how I can accomplish this?
I want organizations to create accounts - the head should create a second password to manage "MyAccount" and some other functions. The rest of the side should be accessible with the normal account password as normal members of the organization should still be able to use this account.
This is basic to most of you, but starting to convert old D7 modules to D8. I want a basic CRUD form to a non-Drupal database. So I'm building a basic form that will populate values if its parameter is not NULL and a positive number. If NULL then it's a CREATE action.
I'm getting Class Drupal\my_feature\Form\int does not exist ReflectionParameter->getClass()