Questions tagged [nodes]

The most basic form of content on a Drupal site is a node.

Filter by
Sorted by
Tagged with
2
votes
3answers
311 views

How do I allow users to determine which other users can edit their content?

I'd like to let users specify which other users may edit their content. Basically a user would be able to create a piece of content, which they are then allowed to edit but no other users can edit (...
3
votes
3answers
897 views

Does it make sense to develop a fantasy sports management system by creating or extending entities?

I am considering building a fantasy sports management system with Drupal. The system will need content, so that's taken care of with the standard Drupal system. However, does it make sense (or even ...
1
vote
2answers
882 views

Using a select form field for the field that selects the groups where a node is posted

The form for creating a node for the content type that has been set as content type for the Organic Groups module has checkboxes for choosing the groups where a node is posted; I want to use a select ...
3
votes
1answer
564 views

How to order a node's taxonomy terms hierarchically?

Are the terms in a node's taxonomy array ordered hierarchically by default? If not, what is the most efficient way to do so?
3
votes
1answer
235 views

Is it possible to create a “Meta-Forum” view when using organic groups?

We are using Drupal 6.x with organic groups. The groups have very different users and permission sets, and each group has a forum. I was wondering if it is possible to have a kind of "Meta-Forum" ...
18
votes
5answers
20k views

Is it possible to restore a deleted node?

While revisions are kept and it is easy to get back to a previous revision of a node, I was wondering if it is possible to restore a node that has really been deleted by a user?
3
votes
2answers
3k views

Loading a specific node revision for view

I am trying to load a specific revision for viewing by the end user. Drupal 7. I have the following in my .module ; function mymodule_node_load($nodes, $types) { if ($nodes[821]->vid != 5928) { ...
31
votes
17answers
32k views

How to delete all nodes of a given content type?

I have several thousand nodes of a particular content type. Using the web interface (example.com/admin/content), I can only delete about 50 at a time. How can I quickly delete them?
3
votes
2answers
144 views

How to install a taxonomy system that represents records in another high-volume, non-content-node table?

Here's the scenario: A writer about celebrity gossip posts a node (article) on a Drupal website. I have a module that scans the article and automatically creates taxonomy fields based on celebrity ...
20
votes
9answers
13k views

How to implement two way node references?

The node-reference module (a component of CCK) provides a great way to create a reference one node from another. What is the best way to expose a two-way relationship between the two? Example below: ...
8
votes
3answers
3k views

How can I create a bulk node creation interface?

I have a request for an interface where nodes with a small amount of required fields (for example, a title, date, and a node reference) would be able to be created in bulk on one screen. I am ...
9
votes
5answers
751 views

How might I create a “step-by-step process” content type?

I'm thinking about creating a process manual for an intranet. Most (all?) of the processes have a very clear order, although the actual order may change from time to time. The plan is to have the ...
3
votes
2answers
265 views

Core forum form dropdown empty

In a D6 site, when a user goes to node/add/forum, they find that the dropdown "Forums" just shows "Please choose" but there is nothing in that menu. There is nothing in the PHP error log or in the ...
3
votes
2answers
803 views

How to automatically highlight syntax of code displayed on page?

I'm developing a website to publish my codes from different programing languages. I want to highlight syntax of codes with different colors. But, doing it manually is time consuming. Is there any ...
51
votes
13answers
20k views

How do I hide nodes that shouldn't be directly accessed from users and search engines?

I've found that there are times I have a node that simply contains content that will be displayed somewhere else, but shouldn't be viewed directly. That is, no one should ever go to node/1234, but the ...
30
votes
7answers
19k views

How do I let users unpublish and publish their own content?

I want to let users unpublish and publish their own content. By default, you have to give "administer nodes" permission for users to be able to unpublish or publish content. That is way to broad ...
4
votes
1answer
3k views

How to migrate Drupal nodes from one installation to another, preserving revision history?

Is there a good way to export a set of nodes from one Drupal installation, including node revision history, and then to merge these into another Drupal installation, including revision history? I'm ...
2
votes
1answer
103 views

Making responses to public nodes only viewable by the creator and the originator

I've got a prototype site built in D6, pertinent modules: CCK Comment block Node Comment Views Views Or The site is built around a list of open requests; to solicit a private response. These nodes ...
1
vote
1answer
150 views

Is it possible to replace the original RSS content?

Is it possible to replace the original RSS generated for the front page by custom content? I know how to create custom RSS channels using views, but not how to replace the original RSS.
7
votes
6answers
13k views

How to get nodeid?

How to get nodeid in Drupal for the current page without using the information from the page url? I.e.: if(arg(0)=='node' && is_numeric(arg(1))){ $nid = arg(1); } I do not want to use the ...
2
votes
1answer
731 views

How should I create a main page with a mix of dynamic and static content?

I apologize for the terribly basic question but I'm not even a particularly adept web dev. I've read that Drupal is great if you know exactly what you want to do (then the API is handy) but I don't ...
5
votes
5answers
2k views

How to display cck node fields' values at the search result page?

I need to display some specific cck fields such as Telephone Number, Address, etc. at the search result page. As I see the search-result.tpl.php, there is no $node->... So how can I get the node ...
48
votes
9answers
58k views

Where is the content of a node's body stored?

In the node table, you'll find everything except the actual body. Where can I find this body text? I'm assuming it's being stored as a blob somewhere.