I created a view to show a list of news items. I placed the view block in the content bottom region of the page. In the Views preview, it shows the results. However in the front end, the content is empty and shows:

<div id="block-views-news_list-block_1" class="clear-block block block-views">
<div class="content"></div>

I do have a view template for this block - views-view--news-list--block-1.tpl.php. In the Views page it shows this template as selected. I do not see that it is being rendered on the page though. Even when I just put a basic div with text in the views template, nothing shows in the content div.

What are the possible reasons for this? What can I do to get content to show?

2 Answers 2


Turns out it was my theme's block.tpl.php file. It was displaying content like so, $block->content.

I changed it to match the block.tpl.php file in modules/block:

<?php print $content ?>

I would check the following:

Does it work without the views template?

Does it use arguments in the view? If so, are they set correctly in the block.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.