I just started using the Views Theme Wizard, and I don't have a very clear idea as to how I should handle the code provided.

First, the code that must be inserted in the template.php file, can be placed anywhere? or has to be inserted into a specific location? If it can be placed anywhere, what the best place to do it.

Also, the second code snipped has to be inserted into a file named "views-list-frontpage.tpl.php". Do I just create an empty file and insert that code?

Thanks in advance,

Cristian

Comments

The Crow’s picture

For the code to be placed in the template.php yes it could be placed anywhere . I usually place it at the end .
Yes Create a second file in your theme folder and name it views-list-frontpage.tpl.php and paste the code inside.

The Crow