How to access taxonomy terms in a node that is not published?

Working on the D7 version of faq_ask and trying to access the terms assigned to an unpublished question node. Trying to build queries using the field_term_field_xxx tables, but are not able to find a good way of deciding on what table to use. Table names are depending on the vocabulary - or actually the field the vocabulary is linked to.

Should this be done in a field API function ?

This is one of my attempts of building a query that will return a set of unpublished nodes linked to terms in a given list:

Theming form using hook_theme problem

So I'm trying to theme the form you get at node/x/edit

For this I added the following to the template.php

function seven_theme() {
  $items = array();
  $items['shop_node_form'] = array(
    'render element' => 'form',
    'template' => 'node-shop-edit',
  );
  return $items;
}

and in node-shop-edit.tpl.php

Possible to grab single module usage stats from Drupla.org?

I'm looking for a way to grab the install numbers from "Reported installs: 40366 sites currently report using this module" on the module page and the weekly install image from http://drupal.org/project/usage/ubercart

Is this possible?

How do I create a multi-level menu which reflects the taxonomy tree?

I have categorised my site content into a tree hierarchy using Taxonomy. It seems logical and normal to want to have a menu which enables users to find their way around this hierarchy (something like a multi-level front-end menu which is an exact reflection of the taxonomy hierarchy).

And yet this seems to be incredibly complicated to achieve in Drupal. Am I missing something obvious? What modules can help me achieve this?

How to add aditional filter to taxonomy term page view?

I have a taxonomy term view (taxonomy/term/%, terms with aliases like site.com/termname) and I want to add contextual filter - a taxonomy term from other vocab (Content: Has taxonomy term), but problem is in that I have "404 not found" error on pages site.com/term1-alias/term2 (site.com/term1-alias works fine). Are taxononomy pages can't get additional arguments, how I can alter it?

Filter terms by depth in Views - HOW TO?

I've created a View which lists taxonomy terms of a vocabulary and I need to output only highest level - i.e. with depth 0.
But I can't find anything appropriate in Views UI!
Any ideas?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x