This tag is for questions regarding the use, reuse and manipulation of nodes, the most basic form of content on a Drupal site. While nodes are implemented as entities in Drupal 7, this tag should be used instead, unless specifically referring to Entity API functionality.

learn more… | top users | synonyms (1)

0
votes
0answers
7 views

List of parent nodes with a sublist of child referring nodes on a single content type

I have a content type Article with an Entity Reference to himself. Demo content: Article 1 -> No ref Article 2 -> No ref Article 3 -> Ref to 1 Article 4 -> Ref to 1 Article 5 -> Ref ...
2
votes
1answer
14 views

Web services for specific node

I know you can enable Web services for content in Drupal8. You also need to set permissions to make a GET request to content. But I was wondering if it's possible to set for each node if it can be ...
0
votes
0answers
6 views

Map taxonomy terms to one specific role per node

The structure I need to realize: A node references multiple taxonomy terms of type person. A person plays one specific role per node. This role is different from this taxonomy terms role on a ...
0
votes
0answers
6 views

Creating item library, allowing user to make selections and publish to another page

Above is a rough MS paint concept I banged out to illustrate what I'm trying to do. I need to create a library of items, which have pictures, descriptions, names, etc. This library will be ...
-1
votes
1answer
12 views

Page redirect with condition

I want to redirect the users to a particular page when they view a certain page when there are some conditions. The condition is that the user has uploaded a node, for example an article. Say there ...
0
votes
0answers
11 views

How can get all node and id and date form 01-01-2014 and from WordPress start from 01-01-2014 [duplicate]

I have site in drupal and i need to convert it to wordpress, So i convert all my content and node from drupal to WordPress, But i need to get all node and date from Drupal and all post and date from ...
0
votes
0answers
18 views

Is there a way to hide a piece of content in a node if the current user is not friends with the author?

Is there a way to hide a piece of content in a node if the current user is not friends with the author? Basically I want to hide a piece of content or flag if the current user is not friends with the ...
0
votes
2answers
13 views

Customized search result

I have a content type let's say content type 'A', I am using view to show some of the field on some page, Now the problem is that pages generated by the content type are just a junk because I am not ...
-1
votes
1answer
36 views

Dynamically add images to article body [on hold]

I want to add images to my article body field dynamically. Just like displaying advertisements in between the content. Please help.
1
vote
1answer
26 views

unlimited number of values gets really big

I have created a content type with a field inside which can take unlimited number of values. eg a city with the names of its inhabitants. The problem is that this number can get really big (i.e. ...
0
votes
1answer
23 views

Rules : send email when user submit first node

I want to send congratulation email to user on submitting his/her first node. I want to implement this through rules, but i am confused that there is no such option except PHP evaluation which is bad ...
0
votes
0answers
26 views

help! i want to hidden article

I have a problem in need of help. when I create one content type product (in this content type I added 1 term reference field to select the product category that I have made ​​available in the ...
0
votes
1answer
17 views

Actual output in view is different than preview

I have set up a view to display all nodes for 1 taxonomy term. Something got messed up and now the final view drops one node (which is also a different content type). I cannot find rhyme or reason ...
0
votes
1answer
32 views

How to redirect from node view to node edit page in a view?

I need on of the views in my Drupal design, which is using node title linked to the node content view, just redirect form node content view page to that node edit page. How would it be possible? If ...
0
votes
0answers
13 views

Drupal statistics does not count visits when I see the node from a custom panel

I have a web site where each node has three diferents designs (i do it through panels and arguments) and i use the statistics module, that way i can see how many visits has the node. But the ...
1
vote
1answer
24 views

How to create different Panels for Add and Edit node?

There is a default "add/edit node" panel inside the Pages content. When I use it, it utilize the its variant for both add and edit forms. I would need to differentiate between both of these two ...
-1
votes
1answer
30 views

Link to node content

I have created a view showing a list of nodes. Its in a form of a grid. Something like this ********** ********** ********** * Title * * Title * * Title * * Img1 * * Img2 * * Img3 * * ...
-2
votes
4answers
27 views

Drupal 7 Menu creation problem

I am trying to create a new menu link. But the system doesn't allow me to do so. The path 'New' is either invalid or you do not have access to it. The path 'testss' is either invalid or you do not ...
0
votes
0answers
9 views

Single slideshow on node from combined fields?

So I have a node type that has two multi-value fields (one for images with ColorBox and one for 3D models using JSC3D) and I simply would like to show a single slideshow on my Node page that cycles ...
0
votes
1answer
19 views

Display specific content type in specific region without using views module

I want to display a specific content type in any Region I want. By default Drupal displays all of my nodes together. I want to know how to split them. How to print them on a single page but in a ...
1
vote
2answers
31 views

How to create a dropdown list with node ids?

I need to create a dropdown list box which contains the list of node ids of a specific content type. Then after selecting the node id in the dropdown i need the content of the node to be displayed ...
1
vote
1answer
24 views

Create a module that add text/image to a specific type nodes

So. I need to create a module that add something like text, to all my nodes of type "Article" for example. I need a module that do: - Find the type of nodes "Article" - And add a label that says ...
-1
votes
0answers
31 views

$node->sticky Always 0

Not sure what's going on and everything looks okay. In node.pages.inc while editing a node, $node->sticky always returns 0 regardless if the node has a value of 1. Going further back into the ...
0
votes
2answers
33 views

How to redirect the user to a specific page after node is added/edited by user

I'm trying to create a drupal 7 website where users can upload pictures with a title. When the user uploads an image with title, it has to be approved by the admin who then publishes it. My question ...
-2
votes
2answers
36 views

how to export and import nodes in bulk?

is there any way to export and import nodes programmatically...? While import if the node already exists then it should be updated without creating a new node.
0
votes
1answer
19 views

Problems with file type field of node

I have created some custom page on frontend for particular type of node modyfications. Here's my page callback: function vintranet_talk_edit_entry_page_callback($sNid) { ...
-2
votes
0answers
13 views

how to export nodes using NODE EXPORT and VIEWS BULK OPERATIONS module? [duplicate]

i am using node export module to export nodes individually. Now i want to export more nodes at a time. how to export the nodes using NODE EXPORT and VIEWS BULK OPERATIONs Module.
-2
votes
1answer
24 views

Link node/teaser to view [closed]

could anyone tell me how to link a node/teaser to a view? I have an overview page to give a list of all models available (done with view and one content type) and from there I want to send the ...
-1
votes
0answers
10 views

Undefined index error in “Find content” (…in node_filter_form() (line 177)

I found the same issue as here : https://www.drupal.org/node/2176665, and I don't seem to find any satisfying clue from googling. this is the error : Notice: Undefined index: in ...
0
votes
1answer
31 views

Prevent redirect after node save

I have overlay turned off in Drupal. When I am editing a node, I want to prevent the redirect to the node after I hit save and just stay in the back-end. (It is really a pain to have to hit "edit" and ...
0
votes
0answers
15 views

Error uploading file. An unrecoverable error occurred

I've been troubleshooting a form in Drupal 7 that has two file upload fields. If you upload a file with one field, then the other, the second upload will usually give an error. This occurs regardless ...
0
votes
0answers
32 views

Node Hook Returns Syntax Error To Hide Price Until Added To Cart [on hold]

I have been trying to write my first module. Please be gentle. This module is a node hook that hides product price until added to cart, similar to "See Price In Cart" functionality on many websites. I ...
0
votes
1answer
6 views

Getting error rendering same node in different view mode

Unsupported operand types in /node/node.module on line 1419 On my site users have the ability to flag a content type (node) as being featured on the right rail. I then have a view that renders a ...
0
votes
1answer
23 views

How to print a view in node.tpl.php only if it's not empty

Views can be printed in tpl.php files with this code: <?php print views_embed_view('myview','block_1'); ?> However, if that view is empty, the view block code will be printed anyway: <div ...
0
votes
1answer
31 views

CCK Date field not showing stored values in node edit form

After moving a Drupal 6.x site to a new server, I've found that a CCK date field being used by multiple content types is not displaying the values that are stored in the database for the field OR the ...
1
vote
3answers
94 views

set nid manually

I created some nodes, e.g. 100 nodes with corresponding node IDs 1-100. Then some of the nodes are deleted, e.g. nid=50 is deleted. Then I want to create a new node and set its nid=50 – what is best ...
0
votes
1answer
35 views

Live Blogging with Drupal

I'm looking for a solution for liveblogging with Drupal 7. This means to create fast new nodes without too many clicks. Does anyone know such modules or modules which help to implement this? After ...
0
votes
2answers
43 views

Make almost duplicate copy of node when submitting

We have a meeting room booking system that needs one extra feature added. Meeting rooms 1 and 2 have a removable wall so people can book Room 1, Room 2 or Rooms 1 and 2. What I need is a way during ...
0
votes
1answer
28 views

Node reference - limit so node can only be referenced once

I have two nodes 'Runner' and 'Buddy'. I'm using node reference to create a select list of buddies on the runner node. The Idea is that every runner only has one unique buddy and two runners don't ...
0
votes
0answers
9 views

Multistep Add Node Form Different Layout

I'm trying to create a node form with multistep. This is for creating an "Event", as for now I'm using the node/add link to show the form with the use of field group module. The Multistep module and ...
0
votes
1answer
24 views

Path (alias) does not work after migration, nor Content view

I'm using the migrate (7.x-2.x-dev) module to import a node(s) from static HTMLs to Drupal 7, and I want to set the path the same as the original directory/filename. I have defined in my migration ...
0
votes
2answers
21 views

Views Block: one node latest of several categories

Is it possible to do with the views I had one recent node of the 5 categories? example: - Category 1 (20 node) - Category 2 (10 node) - Category 3 (5 node) - Category 4 (17 node) - Category 5 (2 node) ...
0
votes
0answers
43 views

Different URLs for the same node

I want to have make a node accessible via 2 different url. I want to apply a different theme on every one of theme. They will be event/id and app/event/id. There will also be a third alias via ...
-2
votes
0answers
15 views

How to call a custom function after a node edited?

How can i call a custom function from my module after a node edited. There are some custom module operations are takes place in the hook_node_update and hook_node_presave. So i want to run my function ...
0
votes
1answer
21 views

How to get newly created node ID after Feeds importing?

I programmatically executed feeds importer to create new nodes. I have to set some fields programmatically after importing. I check the hooks in feeds.api.php, and didn't find a solution. Is there any ...
0
votes
1answer
36 views

Drupal 7 views page path/url matching?

Our former website (that was hooked with Google Analytics) had the following URL (i.e. Example URL) for a staff member: http://www.example.com/research/teams/staffname.html I have recently ...
0
votes
1answer
33 views

How to query the last nodes of multiple content types?

I want to query last 5 nodes of multiple content types, say, typeA, typeB, typeC, typeD. It was originally only one content type, and I did it using EntityFieldQuery: ...
3
votes
2answers
37 views

How to reset 'new' and 'updated' flags without visiting a node page?

In my drupal site I have a content type that has its nodes visible only in a view and they have always the 'new' (or 'updated') flag up for all users. How can I reset the flags without visiting the ...
0
votes
0answers
11 views

Compare 2 collections of checkbox choices

WHAT I HAVE NOW: When the user registers they have choose their interest in topics, they can check multiple checkboxes. These checkboxes are a term reference to the vocabulary topics (there are terms ...
0
votes
0answers
9 views

Send private message - Subject and message filled in

I'm using the module Privatemsg to give users the possibility to send messages to other users on the website. What I would like to do is: A button on the detail page of node with type equal to ...