This forum is for assistance with theme development.

Control output of a view?

Hi,

I have a view that outputs blog entries.

How can I control how the posts are styled?

I have tried setting fields on the view settings but it doesn't work (https://www.drupal.org/node/1918334). I don't know if I am doing something wrong or what.

What would be the best way to do this? Would it be possible to create a TWIG template and somehow have the content be in a loop that will output it how I want it somehow like:

AT COMMERCE AND SUPERFISH...

Hi.

I'm working with Drupal 7 and AT Commerce Theme. I've installed Superfish menu succesfully.

Now, I wanna erase the ancient EMPTY BOX menu bar AT commerce, to show only my new Superfish menu.

How can I do it????

Thanks a lot for your time.

Cannot Configure LESS Preprocessor Engine

I've installed and enabled:

  • LESS Preprocessor Module
  • Libraries API Module

I've installed the current version of less.php downloaded from github in

  • sites/all/libraries/lessphp/less.php

But when I go to select the less.php Preprocessor engine I get this message:

Missing - Click vendor link above to read installation instructions.

I'm stuck. Any ideas?

Getting Taxonomy Term reference field in twig in Drupal 8

Hi,

I have content type "Movie" and given a taxonomy reference filed "Movie rating" with unlimited insertion option in that content. Now i would like to theme twig node template "node--movie.html.twig" . Now i want all the text value of term in my template. I have written code like below -

{{ content.field_rating['#items'].getValue()|first.value }}

But this is not giving any value. Please help me out.

Thanks

one webform with different templates

Hello! I have difficults with webform. How i can use one form for many templates? For example, i have webform with nodeid 9, i can override basic template via webform-form-9.tpl.php, or use hooks in custom module. But how use different templates? because previous methods set template for form globally. I need use on /page_1 form-template1, on /page_2 form-template2.
Thanks!

How to start learning theme development in d8?

Hey guys, I am new to drupal, here I have a problem.
I know html+css, and can make a simple website with html/css, or some framework like bootstrap. But not familar with php or other language.

Now I want to study drupal, since d8 is the newest version, I decided to start with d8. But I am confused when I reading the document, I had read theme guide in https://www.drupal.org/documentation/theme, but still don't know how to create a custom theme(which I had already done in html+css).

Pages

Subscribe with RSS Subscribe to RSS - Theme development