group same fields in views using custom template drupal 6 user here. I am sure that this is basic views question but I can not figure answer to it. I have a simple view with 2 fields - node title (field_title) and node author (field_author). I want to print all data separate so that node titles would be printed inside ONE single separate div and node authors would be printed in another div. This can not be achieved using rewrite option as far as I know. Can anybody help me with this? Thank you.
Go to your view: admin/build/views
Edit your view: admin/build/views/edit/view_name
Look at your fields node title (field_title) and node author (field_author) and click on Node:Title for instance
Once editing the view output of the Node:Title field, check "Rewrite the output of this field" 
You should see replacement patterns: [title] == Node: Title


In the Rewrite this field section called "Text:" enter

    &lt;div class="some-class-name"&gt;[title]&lt;/div&gt;



Repeat 3,4 and 5 for the Node:Author field.

&lt;div class="some-class-name-author"&gt;[author]&lt;/div&gt;

You can put anything else in the rewrite field here.


(note: D7 has more options that using the rewrite method)