I am using views(table) on the frontpage. If I mark the node as sticky it works and appears on the top of the list but there is no way to distinguish it is there any way to theme sticky node titles on views table. I would appreciate all feed backs.
Thanks
Comments
Comment #1
werushka commentedup
Comment #2
dawehneryou could achive this using
Comment #4
laken commentedThe example above shows the theme function for where to add a sticky class to views table rows, but doesn't actually show how to do it. Here's what worked for me:
In the function above, replace the line
$rows[] = $row;with this block:Comment #5
jarea commentedIn which file / directory is the code for #2 and #4 placed?
Comment #6
laken commentedThis would usually go in the template.php file in your theme directory. What you're doing is setting up a theme override for when your view of type table.
By the way, AFIAK this is for Views 1 for Drupal 5 only.
Comment #7
jarea commentedBy the way, AFIAK this is for Views 1 for Drupal 5 only.
Thanks for the heads up.