This forum is for assistance with theme development.

Undefined property: stdClass::$_field_data in include()

Hi there

I'am trying to print in my views-view-fields.tpl.php the uri of an image. But all I get is an error message. I've done this technique on an other page and it's working. There is only a subtle different in the structure of these two views. For example I'am using this code:

print image_style_url('portfolio', $row->_field_data['nid']['entity']->field_pic['und'][0]['uri']);"

This works fine. The images are shown.
And for the other page I'am using the this code:

Insert the status of the author (online / offline)

Hello,

How can I next to the name in node.tpl.php and comment preprocess.inc
Insert the status of the author (online / offline)
Published by fugazi (online/offline) on Sat, 10/20/2012 - 10:43
I have many modules Views, User Stats, Author Pane tried to make this information available, but I do not get written into theme that they automatically appear next to the name.
I would be very happy about a hint or help

regards
fugazi

Sorry for my bad english

help to find right module

Hello everybody!
I have a problem with creating an appropriate content for me at the drupal.
The issue is I can not find a drupal module that will contain a photo and text in it.
Here is a link with example of what I want:
example
I will be very grateful for any information, because I even can not find the correct name of the module like that, and it is pretty hard to find it from the drupal's list of modules.

Print user profile stdclass in custom user-profile.tpl.php

Hello,

I'm creating a custom theme including use profile. I've been able to print/render most user fields. But I'm not sure how to print user's name and these stdclass objects in the template-

http://img.dinajpur.net/di-J9D1.jpg

Zen Theming & Designing Tutorial

Hey,

First of all, I would like to point that I am really a newbie on drupal. Second, I really search a long time for this info, but all I found is a old (more then 3-4 years) tutorials.

I developed my site using Drupal 7. now, I want to Theme & design my site. I chose Zen after I read a lot.
Now, I want to create my own customize design on the Zen sub-theme CSS files. I am also a CSS newbie, and don't have too much experience.

Responsive Theme - Susy Layout - SCSS - Omega 4

I am hoping some with Susy experience could tell me what I am doing wrong.
My full scss layout:
@import "susy";

// Susy Variables

// Set consistent vertical and horizontal spacing units.
$vert-spacing-unit: 20px;
$horz-spacing-unit: 1em;

// Define Susy grid variables mobile first.
$total-columns: 4;
$column-width: 4em;
$gutter-width: $horz-spacing-unit;
$grid-padding: 5px;

$container-style: magic;
$container-width: 1200px;

// Susy Media Layouts @see http://susy.oddbird.net/guides/reference/#ref-media-layouts
$tab: 44em 12; // At 44em use 12 columns.
$desk: 70em 16; // At 70em use 16 columns.

.l-header,
.l-main,
.l-footer {
@include container; // Define these elements as the grid containers.
margin-bottom: $vert-spacing-unit;
}

.l-region--highlighted,
.l-region--help,
.l-region--sidebar-first,
.l-region--sidebar-second {
margin-bottom: $vert-spacing-unit;
}

@include at-breakpoint($tab) { // At a given Susy Media Layout, use a given amount of columns.
.l-header,
.l-main,
.l-footer {
@include set-container-width; // Reset only the container width (elements have already been declared as containers).
}

.l-branding {
@include span-columns(4, 12); // Span 4 out of 12 columns.
}
.l-region--header{
@include span-columns(8 omega, 12); // Span the last (omega) 8 columns of 12.
}

Pages

Subscribe with RSS Subscribe to RSS - Theme development