SIMPLE introduction to themeing a view? PLEASEEEeeeeeeeeee!

mouse77e - February 26, 2008 - 17:02

Could someone point me to a simple tutorial on how to theme a page view? I.e. http://afterthemouse.com/gallery ?

I have the functions will override the given fields for just this view but I’d like a pointer as to how to do the following

1: let Drupal know where my gallery.tpl.php file is (thru template.php I assume but how?)
2: how is it best to atchive the equivalent of phptemplate_views_handle_field_Gallery_node_title etc.

I am sorry to say but as a noobie to drupal I find it hard to find simple tutorials for this sort of thing.

Many thanks

Mouse

Sorry that should be...

mouse77e - February 26, 2008 - 17:06

2: how is it best to atchive the equivalent of <?php print"<div id='styled_text'>phptemplate_views_handle_field_Gallery_node_title</div>" ?>;

Hey Mouse- I had the same

tflmike - February 29, 2008 - 07:17

Hey Mouse-

I had the same question a few days back and Keyz gave me a super helpful step-by-step. Check it out at: http://drupal.org/node/226818
It helped me get past the basic views theming and now I'm free to discover even more complex problems! ;-)

Good luck!

Most Greatful!

mouse77e - March 3, 2008 - 08:45

Thank you TFLMIKE... (TFL... Transport for London?)

 
 

Drupal is a registered trademark of Dries Buytaert.