How do I access CCK field values in overridden views-view-list.tpl.php template in Drupal?

Views-view.list.tpl.php. Does the whole list not a node, are you wishing to style the whole list or just an item? In views-view-fields.tpl.

Php there is a $fields variable defined which should have what you want You should try devel and theme developer they will make this much easier than using SO.

Views-view.list.tpl.php. Does the whole list not a node, are you wishing to style the whole list or just an item? In views-view-fields.tpl.

Php there is a $fields variable defined which should have what you want. You should try devel and theme developer they will make this much easier than using SO.

I need to be able to append a new LI item to a views list based on one of the valuee of a CCK field in current page. The LI markup is in the views-view.list.tpl. Php file.

– Camsoft Aug 5 '10 at 14:36 It may not be what you want precicely but a custom footer may fit the bill. Or look into preprocess functions. – Jeremy French Aug 6 '10 at 8:01.

This module might be useful : drupal.org/project/views_customfield By adding PHP code you can arbitrarily do output of your CCK field as you see fit.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions