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

Retrieving a list of NIDs tagged with a TID and of a given node type

Hi.

I have a single $tid and a constant node type that I'd like to use to get a list of nids that are tagged with that term and that match that node type.

I have been trying to use taxonomy_select_nodes() to do the first half of this, but have not been able to get what I want out of the code.

Can someone suggest a solution that yields a list of nids given the info I have?

Input: $tid, node_type = "nodetype"

Example Output: Array(14, 39, 72) OR loop that spits each NID out.

Thanks.

Erik.

Which WISIWIG to use?

hello,

I have been using FCK editor, but I noticed that it slows down the page loading, and also it disables the feature that allows expanding the typing area (like seen here on drupal.org) -- which is a kind of feature that I definitely don't want to loose.

I have noticed that there is also a TynyMCE wisiwig editor. But I still can't ge my head around it.

Weblinks Top Level not displaying links

I'm fairly sure I'm being dumb here but...

I'm using weblinks directory and would like to have some links appear in the Top Level of that directory. However, apart from the terms I've created in the taxonomy there is nothing but the option of labelling them as when a new link is added and all that seems to do is discount them from the weblinks directory all together.

has anyone got any ideas of how to display these un-categorised links, or just somehow get links into the top level category?

thanks
Chris

How do I automaticly view a Picture When...

How do I automaticly view a Picture When I upload one, the link is only shown.. How can people upload pics to a forum then view it automatically... I dont want people to use html or css codes... Is there a module for which people just Upload the image to an event or in the forum section then it shows the picture with out having a link there..

List all Users

Is there a module to list all of the users? I just want a link that says "Users" and it will list everyone who has an account, you can click on them and view their profile

help me with query

$sql = "SELECT * FROM {node} n WHERE type = 'blog' AND status = 1 ORDER BY
n.created DESC"

What does n mean ?

or

$result = db_query_temporary("
SELECT i.type, i.sid, SUM(i.score * t.count) AS relevance, COUNT(*) AS matches
FROM {search_index} i
INNER JOIN {search_total} t ON i.word = t.word $join1
WHERE $conditions
GROUP BY i.type, i.sid
HAVING COUNT(*) >= %d",
$arguments, 'temp_search_sids');

what does i mean ?

Pages

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