Exposed Filters + View

Hey,

A situation arose. And I don't exactly know 'when' or how it happened.

1 - I create a view and it appears on a page. It's a parts directory where a user can use Exposed Filters to choose to see parts from 3 categories: metals, machines, and industries. It returns a page or pages of parts that fulfill the users criteria.

2 - For a long time it worked great. It would returns an image of the parts along with the industry it came from, the type of material, that machine or machines it could be built on and the time it takes to build it.

SOLVED: way to show block if field = x

On D8... I have a block that I've added to a sidebar. It is set to only appear for a specific entity type, using "Block Visibility Groups" module. Within this module, I didn't see anything that could control appearance based on an entity's field "foo" value being "bar".

I'm hoping to further control it's appearance, by only showing the block if the main content node has the "Show my block" boolean field toggled to on. This field isn't on the shown page, so it would have to happen server-side, not .js, I believe. 

[solved] How to make a view to shows images (files) as thumbnails

I am using entity browser to add images to commerce products.

so, I neeed a view that shows files (images) as thumbnails.

but when using the image field (not media field) to store images, I don't know how show images on views rather than files titles.

screenshot

CKeditor: How to enable SCAYT spellchecking?

I understand from the SCAYT people that CKeditor should ship with SCAYT and Webspellcheck dialog.  Where the hecks is it?  There's no ABC button like they claim in the CKeditor config menu.  What am I missing?  Why is this so difficult?

The Free versions of WebSpellChecker Dialog (WSC) and SpellCheckAsYouType (SCAYT) plugins are shipped with standard package of CKEditor. Both plugins can be found under ABC button on the CKEditor toolbar.

Drupal 8 breadcrumbs issue

Hey guys,

Can somebody tell me what is wrong with this?

I have 2 views setup in Drupal 8, one is a table view, the other one is showing content, I also have the breadcrumbs show on top of the content being viewed, when I click on any of the nodes of the second view (contents) I get breadcrumbs showing me to go back to the view, BUT when I click on the nodes in the table view all I get is Home>node, instead of Home>my_view, on this view (table) I have the content exposed, not in the contents view.

Is dependency injection not allowed for ajax form drupal 8

I have injected both email validator and entity type manager in my drupal 8 ajax form. I get the error as below on submit. Do I have to remove dependency injection for ajax forms

ResponseText: TypeError: Argument 1 passed to Drupal\Core\Entity\EntityStorageBase::create() must be of the type array, null given,

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x