At the outset, in advance sorry for my english.

I have problem with block themeing i views.

I have a block creating in views with 4 different variables form content type.
Standard and views block content code is <?php print $block->content ?>
I want to display each variable separately in my tpl file but I do not know how to insert code to display a specific variable genereted by views.

For example:
We have cck field called "field_my_name".
I can display in node.tpl.php all content by <?php print $content ?> and I can display our specific variable (field_my_name) in node.tpl.php, by paste code <? $node->field_my_name[0]['view'] ?>

I want do the same thing but in views block, but what will replace me the code <? $node->field_my_name[0]['view'] ?> in block ?

Comments

palik’s picture

what about this discussion? http://drupal.org/node/244146

--
Using Drupal since 2005
My Drupal blog - http://blog.elimu.pl/category/drupal/
My Web Dev Company - https://palikowski.eu
My personal blog - http://palikowski.net/blog

soneone’s picture

Discussion topic came from node only, or I just do not understand.

In any similar topic is not exactly described in a simple way hot to do that, that everyone can understand ...

soneone’s picture

anyone ?