How do you separate the template of a blog block in Drupal?

Posted by Ralph on Stack Overflow See other posts from Stack Overflow or by Ralph
Published on 2010-05-07T08:24:36Z Indexed on 2010/05/07 8:28 UTC
Read the original article Hit count: 393

Hi,

In Drupal, I created a block using views. This block contains the latest blog entries. I've placed this on a specific page to display it as an archive. Now, as for the blog itself (for example when one of them is clicked), A blog template for it depends on node-blog.tpl.php. My problem is, when I style node-blog.tpl.php, the block I created for the archives (as it displays on the page) gets affected.

For example if I add TEST on node-blog.tpl.php, I will also get that on the block for every entry. I think it's because it is associated to a blog entry? What I want is to have node-blog styled "alone" when blog entries are viewed individually and not get the other entries on the blocks on the archive page be affected. How should I do this?

© Stack Overflow or respective owner

Related posts about drupal-6

Related posts about drupal-views