Managing and Overriding Sass in a Sub-Theme

I'm currently working on setting up a sub-theme from a theme that uses the Foundation framework. This parent theme has all it's CSS broken out into Sass partials with a settings.scss file that sets colors, fonts, etc. 

For the most part, the site that uses this sub-theme will need to look and feel exactly like the parent theme. However, I do need to override some of values set in the settings file.

Taxonomy Alphabetical Sorting

Hello,

On my website, I have a huge taxonomy. If I click on the "Reset to Alphabetical" button, and save, I always get a timeout error.

Digging through the source code, and if I am correct, I found that Drupal is loading every taxonomy in order to change it's weight. So if that's true I thought I'd mention it here for a patch later on. It can be converted into a batch for example.

Problems referencing entity in controller

I'm trying to write a little module to allow me to display alternate view modes for content on dedicated pages. I think I'll need to implement hook_entity_view_mode_alter to accomplish that, but one step at a time. I'm failing to create a working subpage for my content items.

which hook will trigger when uploading image to an image field?

Hi,

I added a image field for article content type, name is field_featured_image. Field type is image.

I want to generate image styles when an editor upload a new image to this field at the node edit page ( /node/{id}/edit ).

Which hook I should try for this ?

Thank you!

How do I change the views FILTER value via AJAX?

I have an entity form that allows an admin to select a content type (checkbox) and an autocomplete field that is tapped into a VIEWS Entity Reference (via the Reference Method).

Goal: What I would like is to have the views entity reference filter dynamically change based off the end-user selection. Contextual Filters would have worked but I think Filters is better because of the multiple selection.

WebP images and Safari

How can I load an alternative image format when one isn't supported in a particular browser.  

I am using the Image Effect module to convert images to webp.   How can I serve jpegs instead in Safari or other browsers that don't support webp?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x