Questions tagged [nodes]
The most basic form of content on a Drupal site is a node.
7,537
questions
3
votes
3
answers
1k
views
how can I have a body with more than 64 Kb of data in it?
I've noticed that when I create a node with too much data in the body field subsequent edits will not save. Or rather, the save goes ahead and I am taken back to viewing the node, but the content hasn'...
2
votes
1
answer
278
views
cck Nodereference for files
I am trying to create a node that has a single file attachment (using CCK filefield), and be able to reference that file by other nodes (possibly more than one node).
The application is such that ...
3
votes
2
answers
2k
views
How can I make the Book Navigation also show the Summary of the Child Page?
Currently the Book module will create a navigation of links to each of it's children pages. I need that navigation to also include a teaser or summary from the child page.
This is for Drupal 7.
3
votes
2
answers
2k
views
How can I obtain the "latest" vid when on Revisioning's "View latest" tab?
I am using the Revisioning module to handle content revisions and I am creating a custom block that needs the vid of the node that the user is viewing to generate the appropriate content. I was trying ...
3
votes
1
answer
604
views
How to create a view to display a block of referenced nodes?
I have a node type, called "policy", that has a bunch of CCK fields, including a Node Reference type. This is configured to reference an unlimited number of nodes.
When the nodes are viewed, the ...
10
votes
3
answers
20k
views
How can a user access only one specific node, and not all nodes of that type?
I have a user with view and edit rights to a specific content type. This give the privilege to all users to view and edit all the nodes of that type. But actually, I want to create for each user a ...
6
votes
7
answers
12k
views
How to redirect toward a specific node from front-page in Drupal 7?
I have a multi language site made in Drupal 7. And I want to check if I am on the front page then if true to redirect the user to a to some specific node.
I have tried different methods:
to create ...
1
vote
2
answers
1k
views
Node Access table goes empty
I currently have a project where I am inserting mulitple records into Drupal using node_save. Its usually a couple of hundred at a time. For some reason, sometimes the node_access table ends up empty, ...
2
votes
4
answers
613
views
Need a WYSIWYG plugin
Straight to the point, I need a WYSIWYG module for Drupal 6; here are the requirements:
Easy to change the toolbar button
Able to add custom style
Able to upload image and put into content
Able to ...
14
votes
4
answers
7k
views
Limit Teaser to display only the first value of a Field
I have a Content Type with an Image Field. This field will typically be populated with 0 to 4 values. By default the teaser for this Content Type outputs all 0 to 4 images. How can I adjust the Teaser ...
4
votes
1
answer
141
views
How To Place One Forum Topic in Many Forums
I have a forum system created with D6 and the Advanced Forum module. I would like to have a special forum topic posted in all the forum sections that describes the site rules and how to use the ...
1
vote
1
answer
3k
views
Drupal 7 Views Contextual Links edit Nodes and Fields
I created some Views with Drupal 7 and also installed the module Contextual Links. It helps me to edit Views and Blocks. But for non-admin users like Editors etc. it would be great to even edit Nodes ...
3
votes
1
answer
261
views
How do I get backslashes to save?
Everytime that I type a backslash into a textbox on my drupal site (in content editors, administration pages, you name it; I mean any textbox), it gets filtered out before it reaches the module code.
...
2
votes
3
answers
317
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
3
answers
912
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
2
answers
884
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
1
answer
565
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
1
answer
236
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
5
answers
26k
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
2
answers
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) {
...
41
votes
18
answers
47k
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
2
answers
145
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
6
answers
14k
views
How do I 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:
...
1
vote
2
answers
409
views
Auto-populating Storm Invoice
I'm using Storm for a bunch of its varying functionality, and figure it thus makes sense to use its Invoice module as the final part of a multi-part project (see previous SO post).
Everything in ...
8
votes
3
answers
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 ...
7
votes
5
answers
779
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
2
answers
274
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
2
answers
821
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 ...
50
votes
12
answers
22k
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 ...
31
votes
7
answers
22k
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
1
answer
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
1
answer
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
1
answer
161
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
6
answers
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
1
answer
758
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 ...
6
votes
5
answers
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 ...
52
votes
9
answers
63k
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.