This forum is for assistance with theme development.

After setting bootstrap default: 500 error.

Hello DrupaLovers,

I want to install Bootstrap on my Drupal 8. Now: I can install it. When I set it to default, it says, it was set to default. BUT then when I refresh my site it throws a 500 error.

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@XXXX and inform them of the time the error occurred, and anything you might have done that may have caused the error.

Pixture Reloaded x Nginx Aggregator

I got this message:
There is no point in having core CSS aggregation enabled if using Nginx HTTP concat aggregation.
There is no point in having core JS aggregation enabled if using Nginx HTTP concat aggregation.

But if I disable core aggregation then the theme Pixture Reloaded gets broken. Everything is out of its place.
I thing it´s a theme issue because I got another site running perfectly with core aggregation disabled.

Yes, I am using Nginx. Page speed is >50% faster! \o/
Please help.

Mobile context for panels

I'm looking a workable solution for detecting mobile device in context in panels.
All modules on drupal.org don't work or contains serious errors :(
breakpoint_panels, #2486963 - error,
Context Mobile Detect, #2735107 - eroor,

Showing image of a content type in teaser via editing database directly

Because of some reasons I am not able to change the view of teaser of my content type using drupal's UI, so I have to immediately force drupal to show images of contents of one of my specific content types in teaser. So, Is there anyway to do it by editing a table of it's database or someone could give me a better idea? Thanks in advance \M/

Views: Custom template - How to print ID, date and author?

Hello everyone,

I guess, that this has been asked before. So let me apologize first!

I am trying to create a custom template for a view I created. It's working so far and I am able to print some of the fields in the view, but not all of them. So here are my questions:

Frist question - Is this correct?
In views-view-fields--ViewsName.html.twig I print

{{ row._entity.field_NAME.value }}

How to get field values from view to use in template using TWIG

I've figured out how to to get field values in a regular block template: {{ content['#block_content'].field_name.value }}

But, I'm having the hardest time figuring out how to get the field values to use in a views template. I know it's somewhere in the rows variable, but am having trouble. devel and kint() are not helping.

What am I missing?

Thanks,
Greg

Pages

Subscribe with RSS Subscribe to RSS - Theme development