Is it possible to render $node members?

Hi!

Sometimes I need to print custom field values directly from the $node variable because the $content variable isn't avaliable. For example, if I have a "subtitle" field I added to the "page" content type, and I want to print the subtitle in "page.tpl.php", I have to use something like:

print $node->field_subtitle['und'][0] (...)

... and start playing with the object variables. I'm sure there must be a more elegant way to do this, for example:

Is anyone really bothering with Drupal 7?

I'm trying to understand whats going on with Drupal Versions these days.

It seems as though a lot of the modules I need for D7 (View / CTools / Panels) are still in alpha, beta and RC... (I dont trust this kind of stuff for client websites).

So I've been sticking with drupal 6 because it just seems rock solid stable at this point.

Drupal 7 has been out for a year(?) at this point, why are so many modules struggling to get out of the unstable development phase?

Colorbox/Media Gallery - first image no longer loads in colorbox after clearing the cache

Started working on a test site to learn Drupal 7 (still haven't left the safe confines of D6 yet) and was learning how to make a photo gallery using Media Gallery, ColorBox, and Plupload. It was pretty easy to get started and worked fine. UNTIL i pressed Clear All Caches inside the Drupal interface. Not sure why I did that, but now when I click an image in the gallery, the colorbox interface comes forward as it should, but does not load an image. It just sits there. If i press next or previous, I have a 50% chance of an image loading at that point.

Error using iis 7.5 installed drupal

downloaded and installed via the webplatforminstaller and i get the following error message:

PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'drupalnew.semaphore' doesn't exist: DELETE FROM {semaphore} WHERE (value = :db_condition_placeholder_0) ; Array ( [:db_condition_placeholder_0] => 1619982864e3d23e3110576.05125814 ) in lock_release_all() (line 266 of C:\Users\S\Documents\My Web Sites\Drupal 7.2 Developer release2\includes\lock.inc)."

Separate vocabulary for each Organic Group?

I want to create separate vocabularies and taxonomies for each organic group.

In Drupal 6, this could be done with the OG Vocabulary (http://drupal.org/project/og_vocab) module, but it is not yet ported to Drupal 7.

Is there any alternative to OG Vocabulary or some workaround to assign vocabularies to organic groups?

EntityFieldQueryException while uninstalling custom module

Hi,

I'm designing a custom module for an extended school project. For this I created a custom ProfileType (part of the Profile2 module). Then I added some fields (like first and last name) to the profile type. These show up nicely, as they should.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x