Questions tagged [drupal-nodes]

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.

In Drupal, almost every bit of content is a node. Nodes can be pages, videos, blog posts or polls. While comments are not nodes, they are tied to, and reference a node.

Treating all content as nodes allows the flexibility of creating new types of content. It also allows you to painlessly apply new features or changes to all content.

While nodes are implemented as entities in Drupal 7, should be used instead, unless specifically referring to Entity API functionality.

89 questions
0
votes
2 answers

Drupal 7 - set up restricted access of a particular node

I want to set up restricted access of a particular node or some nodes. I have read the article http://wearepropeople.com/blog/drupal-set-up-restricted-access-for-certain-nodes and tried to implement the same through the Page Manager module located…
0
votes
2 answers

drupal using node.save with XMLRPC call to another site. "Access Denied" message

I have a piece of code on 1 drupal site to create a node another drupal site in a multi-site setup. It looks like I'm getting the sessionid and logging in just fine, but when trying to create a "page" node, I get "Access denied". Under Services ->…
EricP
  • 1,459
  • 6
  • 33
  • 55
0
votes
1 answer

Remove "pubdate" attribute from submitted time tag in Drupal 7

Currently when a node or comment is submitted it gets a Submitted text saying "Submitted by user on Wed, 04/01/2015 - 18:07" The mark-up for this is: Submitted by *user* on
harnamc
  • 541
  • 6
  • 20
0
votes
1 answer

Drupal 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 different node. A taxonomy term doesn't have to specifiy…
0
votes
1 answer

Drupal 7: Custom modules in nodes

I am using Drupal 7 for my project. I have custom blocks created. These blocks contain news items from an RSS feed. Each news item is identifiable uniquely from the database. For each news item displayed individually in custom block, I need to have…
0
votes
1 answer

Flagging Form integration with node reference

I'm currently doing recruitment system by using drupal 7.. In my system, the applicant need to fill up one time online resume if they want to apply the job. I create a content type name "Applicant Profile" for online resume.. After that, i create…
Izzwan
  • 1
  • 2
0
votes
1 answer

Drupal 7 User Like node

I have been working with Drupal 7. I have a scenario where user like a particular node. If user likes the node it will increment 1 in the node field which is reference by a user by passing it UID. Now can any one give me clear documentation…
Touqeer Shafi
  • 5,084
  • 3
  • 28
  • 45
0
votes
4 answers

How dangerous is this SQL query?

The query: UPDATE node as n right join content_type_product as c on n.nid = c.nid right join uc_products as p on p.nid = n.nid set c.field_product_price_eur_value = p.sell_price * 0.0961, …
rockstardev
  • 13,479
  • 39
  • 164
  • 296
0
votes
0 answers

programmatically getting custom node belonging to a term

have searched google but cannot find anything specific . Intention is to get all Custom Node types that have been assigned a specific term of vocabulary . for example the follwoing is a db query to get custom node type. $query->condition('type',…
Abdul Ali
  • 1,905
  • 8
  • 28
  • 50
0
votes
0 answers

how to display users when we search for a particular node in the exposed filter in views drupal 7

I have a view, where user searches for a particular node, and i want it to display the user who created that node. I have created a view and used exposed filter to list all the nodes in autocomplete, but when i search a particular node, it is…
Arun
  • 11
  • 3
0
votes
1 answer

Security Challenges in Drupal 7

I have mainly two security concern in Drupal 7. When user enter http://sitename/node then the user will be able to view all the nodes created in the site till date. In the site there are some content type which are viewable to all users on site and…
simple user
  • 349
  • 3
  • 22
  • 44
0
votes
1 answer

Drupal 6 Unsupported operand type?

I'm running Drupal 6 on my local machine with PHP 5.5 and I am getting an unsupported operand type when I try to add a node of a content type being made via a module. The error is being triggered in function drupal_render which can be found in…
rparker
  • 143
  • 1
  • 7
0
votes
3 answers

Connecting nodes to multiple dates

I have company website, with many offices around the world (around 50 offices). The company want to create a gift giveaway with the employees in a specific company each specific day. For example: Office 1: will do the giveaway the days: 1/1/2010,…
Leandro Ardissone
  • 3,009
  • 6
  • 32
  • 31
0
votes
1 answer

Delete and modify fields shown in "drupalsite/node/XXX"

I need to delete/modify some fields shown in the full view of a node. This is when you go to "drupalsite/node/XXX". (They only will be shown depending of the value of another field of the same node). I have used nodeapi > view but I am not able to…
bustawin
  • 684
  • 7
  • 11
0
votes
1 answer

Drupal 7: Generating HTML e-mail depending on chosen term and node

I want to make ability for anonymous users to get e-mail with discount coupon for manually chosen product. It could be put in one form (select lists) or multiple steps (product selection > user info) How it should work: User in page/block chooses…
Kuni
  • 13
  • 1