Limit Solr Search to a specific Group created using Drupal 8 Group module

We have a requirement to limit the search to a Group created via Drupal 8 Group Module using Solr search.

For example:

We have 3 Groups (Group1, Group2 & Group3) if the user is on the content page which was listed under the Group 1 and wants to search a keyword there we need to limit the search of the keyword to Group 1.

Is there any useful resources to achieve this type of requirement.

The website encountered an unexpected error. Please try again later.

Any help much appreciated as I have been looking at this for a day now.

When I login to the backend of my site and I click either the content tab or the people tab I get the error "The website encountered an unexpected error. Please try again later". I have not altered any core code on the site just the frontend theme. My thinking is that drupal needs updating to the latest version as it is currently on 8.2.5 and some of the plugins are not up-to-date.

Argument 1 passed to EntityViewBuilder must implement interface, null given

In my Drupal project I have this error:

Recoverable fatal error: Argument 1 passed to Drupal\Core\Entity\EntityViewBuilder::view() must implement interface Drupal\Core\Entity\EntityInterface, null given, called in /Users/team1/workspace/ga_p/modules/field_collection/src/Plugin/Field/FieldFormatter/FieldCollectionItemsFormatter.php on line 33 and defined in Drupal\Core\Entity\EntityViewBuilder->view() (line 110 of core/lib/Drupal/Core/Entity/EntityViewBuilder.php).

I do not know if it's from having created multiple fields (fieldCollections)

Add sub-theme - absolute basics

Hi All,

I've made a sub-theme of Bootstrap, but it doesn't have the option of being installed.

I've been tasked to add secure log-ins and database functionality to the website of a small club with a commercially-written Bootstrap-based site. The club has no money to go back to the developers so I got volunteered as the most technical person in the club, though I've never coded in html, css or php; just in C/C++/C#. So a total beginner on a steep learning curve, please correct me where I'm wrong.

html and page templates in module

I want to include templates (html, page) in my module so that they are independent of themes (hook_theme() does not quite seem to accomplish this). So essentially I'm looking of a way to accomplish what hook_theme_suggestions_HOOK_alter() does but from a module.
Thanks!

AcademyHealth

AcademyHealth home page displayed on an iMac

GatherContent was the perfect tool for the AcademyHealth editorial team to review, prepare, and better their content before publishing to the new Drupal site.

Sectors: 
Non-profit

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x