I created a View Argument and saved it as a block. I wanted to theme the Row style output and hence created a "views-view-fields--product-content-box2--block-1.tpl.php" and input my div tags with my class names and then included print commands to print the node body and node tit开发者_StackOverflowle. I did this based on the useful video @ http://mustardseedmedia.com/podcast/episode23
My problem is that when the page containing the above view block is shown, the newly created "views-view-fields--product-content-box2--block-1.tpl.php" isnt being used. Instead the standard block.tpl.php is used.
I have emptied the cache to no avail.
Any ideas on how to get this working will be much appreciated.
The block.tpl.php file is used to theme the block as a whole, not the content within it.
To theme each row with a single tpl file, make sure your theme has a node.tpl.php file, set the view's row style to "node", and name your tpl node-view-product_content_box2.tpl.php.
精彩评论