Theming software

I know this might be a silly question but is there some theming software for Drupal 8?

I know Artisteer 4.x but it does not support Drupal 8 very well and TemplateToaster is completely unsatisfying.

Where could the redirect to the production URL be lurking?!

I am trying to debug and test my localhost version of my website on my own PC, but whenever I go to the localhost URL it jumps straight to the production URL.

I enter in my browser:

http://localhost/d8lp

and it takes me straight to:

https://lingopolo.org/d8lp/

[SOLVED] Composer using old JSON for contrib module?

Been working on this for hours! I maintain skilling, a contrib module. This...

composer require drupal/skilling

... reports...

[solved] html.html.twig for contenttyp

hello,

i need a special html.html.twig for one of my contenttyps.

if i debugg twigtemplates (like here) i only find names for the file for node (html--node--nodeid.html.twig) but not for a contenttyp.

also in the twig theming conventions (like here) are no idea.

perhaps someone can help me understand, what filename will be good?

thanks.

stefan

How do I import a macro into a template?

Hello,

I created a macro that I want to use (hence import) into a template. I have looked at countless tutorials but none of them seem to help and my macro is not being imported.

This is my folder structure:

-/templates
  -/partials
    header.html.twig
  -/regions
    region--header.html.twig

I would like to import the 'header.html.twig' file (which contains the macro) into 'region--header.html.twig'.

This is the content of the 'header.html.twig' file (which I want to import):

Book Tree (Hierarchy)

In d7 using a view it was possible to print the entire book hierarchy by using the Book Hierarchy field as a sort option. Currently not seeing this in D8. Anyone have an example of how to do this? I've played around with the Book Navigation block, but that changes depending on book traversal. I need to dump the entire structure of the book as a comprehensive table of contents.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x