For the life of us, we can't figure out how to theme each field in the view separately, like we can in cck.
We need to make the little image a link is all. Here's our theme code:
/**
* views template to output a view.
* This code was generated by the views theming wizard
* Date: May 10, 2007 - 10:22am
* View: featured_properties
*
* This function goes in your template.php file
*/
function ElectricSageMYBM_views_view_table_featured_properties($view,
$nodes, $type) {
$fields = _views_get_fields();
$content = '
name . '">';
$count = 0;
$total = count($nodes);
foreach ($nodes as $node) {
$item = '';
if ($count % 3 == 0) { $content .= '
'; }
foreach ($view->field as $field) {
if ($fields[$field['id']]['visible'] !== FALSE) {
if ($field['label']) {
$item .= "
Hi,
I am trying to edit the style of my drupal site but I am having a problem and that problem is white space appearing between my logo and a menu. Does anyone know what is causing this? Any advide would be really appreciated as it is driving me crazy.
I'm working on a dual language site English/Arabic. I got Drupal 5.1, internationalization package (i18n), and the garlandrtl theme.
So my problem is the theme is not linked to the language of the site. I want the theme to be LTR when the language choice is English and RTL when the language is Arabic.
I searched here (search engine aint that good in drupal) but I couldn't find the answer I need.
I've been swotting up on the theming introduction and currently plan to base my new PHPTemplate theme on Zen.
I will be theming a test Drupal 5.1 installation I have, but the site won't really go live for at least a year. With this in mind, can anybody give me any advice or tips to make my move to Drupal 6 as painless as possible?