Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By mahapatra.tusar on
How to create template file for block which can created by view?
Comments
Re: Block template file
Please follow below steps for creating block template file:
Step 1: Please go to your view then go to Advanced into your view.
Step 2: Please click on "Theme:information".and choose your output and copy file name which you want to create block template file.That is your filename of block template file.
Step 3: Put that file in sites/all/themes/your theme/templates.
Step 4: Please click on your selected output for example "style output" then copy whole code in your block template file.
Let me know if you have any query/concern regarding the same.
Thanks!