How to create template file for block which can created by view?

Comments

aadil.addweb’s picture

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!