I am actually building a site in Drupal using a online Theme builder Template Toaster.
I read out somewhere that rather then editing a Drupal Theme,we should add a sub theme in it.
Is it fine to add a sub theme & how to do it ? I am new to it and generally need urgent help.
I have a custom comment type and when I use the default D8 core comment.html.twig to render the comments then variables like new_indicator_timestamp and parent get rendered as expected. But if I switch to using a custom layout (i.e. layout_plugin and display suite) and copy across the relevant twig template code for those comment variables into my own custom layout then they don't work.
What do I need to do to ensure that the comment.module template_preprocess_comment() variables are available to my custom comment layout?
I am new to the Webform module, so would like to know if that's possible to build a multi pages form including a group of fields that can be repeated unlimited times (on a specific page step). I looked into the Webform Matrix Component but it seems that you have to define a specific number of iterations. What modules related to Webform would you recommend to start with?
Hello everyone,
I am under Drupal 7.43 and I wonder how to add multiples JS files in the footer of a page.
For example I have files "file1.js", "file2.js" "file3.js"...... and I want to load them in the footer so I proceed with an template_preprocess_html(&$vars) so the code looks like this:
Can someone explain to me the strategy of the theme.library.yml file for a theme. I am not understanding where the words "global-styling" is coming from or system/base. I have read SMACCS documentation but cannot wrap my head around the naming convention in the theme.library.yml.