I am trying to display the number of comments in the node teaser links as a comment bubble with the number only. In order to do this I need to get some markup around the number and the "comments" text, so I can hide the text and display the number inside the icon. I am trying to do this using hook_preprocess_links but I can't figure out how to override the link text do add the markup I need. I've gotten this far:
I started learning drupal 6months ago and I'm having my first issue and I can't find a correct solution.
In order to avoid influencing I will not explain what I've tried but only what I would like hoping you know how to do it.
Hello, my english is not good but i have a problem in my visualization in my basic page, article or any content type that created.
I am use a theming custom, but each time I make a content type and save it does not see any of the fields and yes, I have configured the display manage well.
The problem is is related to html.html.twig or i should add other file type tiwg? Please help me.
Hi,
In .html.twig file, I can access base_path variable. If I use that variable in customised block, however, it does not work. Do I have to anything to make it available in the block level?
Thanks