Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
How can I show node Hits (statistics_counter) in Drupal 8 in specific place?
I want to show user hits of a node (article) in submitted area rather than the end of a node in node links area? I do this already in drupal 7 with this code: <?php print (int) $content['links']['statistics']['#links']['statistics_counter']['title']; ?> in node.tpl.php file
but i want to know how to convert this code to drupal 8 version.
What variable or array in Drupal 8 contain's node links Value like "comment count" , "add new comment" and how can i use or print them in certain place.
Hello brothers and sisters i am working on a project in drupal and almost done with it .I am facing a problem and its when i place block in drupal they are very near to each other what i want to do is to add some space between them how can i do it?? i have added the block class module and gave it a class and applied padding but its applied to the text inside it not to to the whole block??
I have a content type with paragraphs made from field collections. Each field collection consists of an image and text. I would like to have the image floating right on odd paragraphs and left on even paragraphs. With trial and error I came up with this css:
I am new here and also in drupal. so I have a lot of reading before me...
I would like to change my homepage design, and I would be thankfull if anybody could help me by answering my questoion or linking the forum theread I need to solve my problem.