By jpvivere on
Hello,
I'm trying to re-theme the default Drupal presentation of articles when the user loads a taxonomy term page. I'm able to load a new page template, but I'm really looking to reformat each article in the content block instead of re-loading an entirely separate page template (which doesn't give me the control I need anyway since the master page template uses "print render($page['content']);").
Which hooks/templates/strategies do I implement to achieve this?
thanks!
JP
Comments
Figured out one solution...
Hello,
After tinkering around a while, I discovered that the node theme system by default looks for theme files in the new theme directory.
By implementing a theme_preprocess_node($vars) hook and dumping the $vars, I see and array key of 'theme_hook_suggestions' which contains 'node--' which means it will seek out a file called 'node--.tlp.php to render each node.
Creating this file for my particular content type will allow me to style each node repeatedly. I hope this helps someone in the future.