This forum is for assistance with theme development.

How to get field content of a specific view field

I created a view named 'fdb_lehrstuhl'.
The row style output name is 'views-view-fields--fdb-lehrstuhl.tpl.php.
I put the file above into the my_theme/templates folder.

The file contains for a test:


print "on";
print $fields['title']->content;
print " off";

on and off is shown. The rest is missing.

How do I get the field value?

Drupal 7: add a class to just the last node

I'm trying to apply a class, clearfix, specifically to the last node on a page, and not having much luck.

Creation of TagBlock/View

How do I create a tag block/view on a webpage in Drupal? Currently, I have created a block, a view, a taxonomy list and a new menu link, but would like to configure them all so that they actually appear on the webpage I am directing them to. So far the block appears, but nothing else.

how through views_get_view API complete to use pager?

I want use views_get_view function.
And I hope all item show the page,need to be paged.
What should I do?
I have read this article.
Views_get_view function

And my english is very bad.
I hope you don't mind.Thanks

foreach loop with incrementing id number [solved]

I want to print an ingredient list in a node--contenttype.tpl.php

I have this php

I need theme suggestion

Hi guys, I'm new to drupal and i want to create a website where users can upload pictures and members can like/rate and comment on the pictures. I want my theme to have a Latest Photo block, Most viewed, most rated and random photos on the main page and an advertisement block will be nice too. do you guys have any theme suggestion for me?? thanks in advanced.

Pages

Subscribe with RSS Subscribe to RSS - Theme development