This forum is for assistance with theme development.

Theme Node Add [Endpoint]

Hi everyone,

I am trying to adapt the design of an adding content page (node ​​/ add / endpoint ) .

So I created a page that notes page - node - add - endpoint.tpl.php in my theme templates folder.

But how do you get the content add form to my template file ?

When i do a "var_dump($form)", it's answer "null", so i don't understand what happened and i don't find any solution to transmit my form value to the view....

Thank for your help !

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 }}

Pages

Subscribe with RSS Subscribe to RSS - Theme development