This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

finding taxonomy terms for nodes

Hey all

I just have a probably simple question about nodes and the taxonomy they belong to.

On my node template I need to check whether the node is part of 1 out of two taxonomies.

What I've tried so far has been to check on the $node->taxonomy value but this gives me an Array
when I do :
print $node->taxonomy
And if I try to assign it to a vector $arr = $node->taxonomy and try print the first item:
print $arr[0]
I get nothing printed what so ever.

Other solution I've tried is to use the function

changing the breadcrumb link

I have both the OG (organic groups) and Views modules installed. Ive created a groups page (?q=groups) using the View Module and configured it the way i want it to look. The issue is that when you click on an individual group and try to use the breadcrumb to go back to the groups page it takes you to the orginal groups module page (?q=og) which is not configured the way i want.

Can I change the link in the breadcrumb to go to the Groups page i created using the Views Module?

PHPEclipse code formatting problems

I've seen a few passing mentions of PHPEclipse as an IDE, and I've been very happy with it, but I wonder if anyone has experience using the formatter/code beautifier with Drupal coding conventions.

Can you recommend a Php debugger?

Can someone recommend a good, free or not too expensive php debugger? I think it would be a lot easier to learn drupal programming with a debugger.

Thanks!

How to invoke search module programatically?

How do I invoke the search module programatically. I know the node category(defined vocab/term) and node type (story) and I know the search key.

How do I call it programatically?

Thanks!

Idea for a new module - Theme related

First of all... I don't know if this is the right place to post this topic; in case it isn't, please accept my apologies and feel free to move it.

I'm currently developing a weblog/community based on drupal, so the last few days were pretty intense in terms of themeing, installing and configurating modules, etc.

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions