I just need some direction here. I am new to views and I think I am just missing a minor step to get the results I need.

Here is the scoop: I am trying to create a block using views in Drupal 6. So far, the block preview within the Views module looks fine. However I can't seem to be able to theme it properly. I have created a new tpl file using the "theme information" file names provided by Views but the system does not output the contents. BTW I did cleared the cached. If I delete the tpl file the block is formated as per the default block style - not the output I want.

I am trying to simply override the styles for this particular block; ie, i just want my tpl file to output a div with the block contents with a class or id for me to target via css. I am not sure if I have to create a preprocess function for the template.php file AND a tpl file as well? or do I just need to create a tpl file?

Thanks in advance for your suggestions.

Sandro.

Comments

TamboWeb’s picture

Please disregard the above comment.