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.
I have to create almost 10 pages which have different page layouts i.e one has 2 column, another 3 columns, another 24%/75%/25% and so on. Few have side bars and few don't. Few also have js effects applied and few don't. All pages are unique in structure and not uniform.
My question is.....
by using a custom theme how can I create and manage those pages?
BTW I have used Design Studio module but it doesn't cover all mentioned above.
Not sure if I create my own template file for each node / page and manage?
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.