This forum is for assistance with theme development.

cannot print content's field in a template

Hi,

I am new to Drupal and try to theme my customized "article" content type with Drupal 7.29

I have:
- added a new node tempalte node--article.tpl.php
- where article is my content type.

The issue is:
- I try to print a content's field via the variable : $content['field_somecustomfield'])

Since I can see other static text in the template I know at least Drupal is doing my template's php staement. Which means that I am not accessing my field's content correctly with $content['field_somecustomfield'].

Omega4 subtheme on shared hosting requires support for Ruby/SASS ?

Hi, I searched around to see if there were any answers but I could not find a clear one.

Question is - in order to use my Omega4 SASS-based subtheme on a live site on my shared hosting service does the shared hosting need to have support for Ruby/SASS?

Print fields inline without label

Hi,

I made a new template node--bidprentje.tpl.php

With

<?php print render($content['field_acternaamovl']);
           print render($content['field_voornaamovl']);?>

I can display those fields, but they are on different lines, with the label printed.
What I want is to display the content on one line with one or no labels.
What must I put in my node--bidprentje.tpl.php to get that?

Set a different widget for a filed in node.tpl

Like title.
Is possible set a different widget for a filed in node.tpl?
Any idea?

Thx!
Daniele

[Help] Want to add some features on my frontpage. N00b here.

Hey guys,

I'm trying to build my real estate website and so far for 2-3 days have made some little progress but i can't figure out a few things i saw on other sites which i need to adapt for my own website.

Can't get my Footer width to go 100%

Sorry about that, here is the code again and this time I'll mark the problem area.

Pages

Subscribe with RSS Subscribe to RSS - Theme development