Theming table views in Drupal

Submitted by ankit on Sun, 12/02/2007 - 11:38.
::

While using the views module yesterday, I cam across the need to theme the table view output. After some googling I found this link : http://drupal.org/node/154084 .

Bascially there are two ways to go about theming a table view.

1) By adding a custom function in template.php

2) Using style.css in your theme folder.

For more detials check out the link above

 

Post your Answer

  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. Beside the tag style "<foo>" it is also possible to use "[foo]". PHP source code can also be enclosed in <?php ... ?> or <% ... %>.
  • Links to specified hosts will have a rel="nofollow" added to them.

More information about formatting options