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
10 views

shadowbox + content page showing full content in other language when not logged in

I have a dual language site (English and Arabic). I am using shadowbox + content page modules to display node content (without header, footer,menu sidebars etc) in an overlay. Everything works like a ...
0
votes
3answers
22 views

D7: file_create_url() usable in node.tpl.php?

Can you use file_create_url() inside node.tpl.php? Should I assume you can only use it in the template.php? $img_src = render($content['field_image']); $bgimage = file_create_url($img_src); Using ...
0
votes
1answer
9 views

Views relatonship with multi value field - and views distinct

I have a View that shows a list of Classes (nodes) and the relevant Teachers (Users) on my system. It is designed to show one class per table row and then a comma seperated list of the users who ...
3
votes
3answers
124 views

Are unique node titles neessary?

I am considering automatically assigning the uid to several of my content types automatically. However, one other data type uses a number as its title too (product number actually.) There is a ...
0
votes
1answer
12 views

Redirect the title field of a content type to some external url in a view

I am using drupal 7 with view3 I have content type named News having many fields along with a taxonomy field named News Type, News type have terms: 'Free' and 'Premium', I am displaying News on my ...
0
votes
1answer
18 views

How to create a component which has specific content on each page

I'm a novice at drupal, so I'm still figuring things out. I'm looking for a way to accomplish the following the 'drupal way'. I want to create a component, or a block, or something that allows the ...
0
votes
2answers
27 views

Node Creation Paths

I added a custom node-type (content-type) called Document (for example), i also allowed it to create a menu item for navigation purposes. Then assigned a non-admin role the permission to create new ...
0
votes
1answer
36 views

How To Change The $tid to $term_name

I've tried to change this code to show the term name instead of the term ID but now no term name or term id show at all Orginal code for term ID function MYTHEME_preprocess_node(&$vars) { if ...
0
votes
1answer
25 views

Missing Fields When Adding Content

When going to node/add/my-content-type there is only a field for editing the title. There are body and FileFields attached to this content type but they are not being displayed until after I click ...
0
votes
1answer
13 views

Unable to tie type to node, menu and post for blog type of display for radio posts [closed]

Just have been asked to help with a Drupal site. Have new category of resources - radio. Want them to be individual posts like a blog with link to radio show file. Can also be like resources (from ...
0
votes
0answers
6 views

How to add node reference url data field in panel

I have two content types and i have installed node reference url widget module. There is field called 'channel' as a node reference. Now i want to display the field data of 'channel' (which is a link) ...
0
votes
0answers
9 views

Display an entity whose creation date matches another entity's with EVA?

I am using Heartbeat module to log activities using Rules, however Heartbeat entities/activities have no way (as far as I know) of checking whether they have been viewed or not. To solve this issue ...
-2
votes
0answers
19 views

How to add form in to node view

I want to add one form link in particular node view . means in my site many content creater/node creator if anonymous user want to contact with node owner, so i want to attach form link in node view ...
0
votes
0answers
18 views

Securely deny direct access to nodes except when link on another node is clicked

I'm hoping there's a module for this. Let's say I have two nodes. First one is supposed to be a "gateway" to the second one with protected content on it. What I'm trying to do is make the protected ...
0
votes
0answers
40 views

notify all users with a popup message after node creation [closed]

I want to notify all authorized users after a node published with a popup message or any message box. Some of users may minimized your browser or seeing other tab and I want by this way aware them for ...
0
votes
0answers
11 views

Import/Export of Panelized Nodes

I'm using Panelizer to panelize nodes of a specific content. This content type is used so that content editors on the website can easily edit (with the help of Panels IPE) the content of pages which ...
-1
votes
0answers
26 views

Passing the node ID from a link added in a view to my custom module

I've have done a form to insert some data, and then I save into a node. Now, I need to have a link in a table to edit that form. I now that there is an option in views to edit it, but I need to edit ...
-1
votes
2answers
51 views

Undefined variable: nid

I put this code in Rules Action PHP Evaluation. What I want is getting the field_price's value, changing it for negative and returning it for Rule. With this I will be able to charge points because in ...
0
votes
1answer
16 views

Paid node checkout plus membership plans for a Drupal site

I need a solution to these problems for Drupal 7: I need to create a website where people can post their classified ads. But the twist is that I don't want the ads to be published until the user has ...
-1
votes
0answers
25 views

How to node published for some duration [duplicate]

I have a create a node ,I want to publish this node some duration.
0
votes
1answer
16 views

Node Permission base on per Taxonomy Term

Is it possible to give view page(or article) permission per Taxonomy term? I know there is a "Taxonomy Access Control" module but this module does not really give the permission, beside hiding the ...
0
votes
0answers
17 views

How to set default value of select list field on add node form?

I am trying to set the default value of a select list field on a node add form. The field name attribute in the HTML of the form is: field_state[und] The ID of the add form is: ...
0
votes
2answers
70 views

Grant/restrict access according to node's author & moderation state

I'm trying to bypass some of the permissions set by Workbench Moderation, only under specific circumstances. For a specific content type, I need the users of a specific Role to be able to: - View all ...
1
vote
1answer
12 views

Node tabs leading to related nodes

I am using a webform to build a basic person node and other related nodes (contact, address) at once. I'd like to have node tabs ("Contact Infos", "Address") when showing the person node, which are ...
0
votes
0answers
20 views

Url called from flash asks from a logged user to login again

I have a flash animation in a block which has a link to a different page in my site. The problem is that even if the user is logged in my website, the link when it opens, asks for credentials again. ...
0
votes
2answers
25 views

How can I preserve nids during a migration?

I'm writing a migration using migrate/migrate_d2d to import nodes from one Drupal 7 installation to another. Currently there are a lot of links on the web that point to articles using the ...
0
votes
0answers
8 views

Translation are not associated between each other

I installed i18n to translate node. I created a node in french, save it and it works. Then I try to translate the node in english. It gets translated, the node is created but when I click on the ...
1
vote
1answer
21 views

Paginate results of entity reference widget type

I have entity reference field with checkboxes/radio as the widget type. The issue is the I have hundreds of nodes and this results in a having a big list. Is there a way to paginate the results or ...
0
votes
1answer
14 views

How can I change the redirect that happens after a node is edited?

Normally, after a node is edited, the user is sent to the node's display page. I would like to change this so that the user is sent to a different page. Is there a module for this or is there a ...
-1
votes
2answers
41 views

How do I let users be able to view, update and delete their own content? [duplicate]

I want to let users view a list of their own content and also be able to edit or delete them same as "/admin/content" page. However, giving access to edit and delete their own content can be achieved ...
0
votes
1answer
21 views

In a group content add form, the og_group_ref is empty, except for the “_none” value

This is only for non admin members. Administrators have the field populated, but logging in as anyone that isn't in that role produces an empty field, except for the "_none" value. I've tried adding ...
1
vote
1answer
20 views

Create Ubercart Product Node - how do I set product image?

When creating a product node for Ubercart, how do I set the product image? In the code below you see the creation of a Ubercart product node: $node = new stdClass(); $node->name = "Title"; ...
-3
votes
1answer
28 views

How to get number of node of particular content type? [duplicate]

I have one content type as "refund", I want all number of node of this content type according to month wise, year wise and per day. I can get total number of nodes of refund content type by query but ...
0
votes
0answers
21 views

Panels 3: Custom form elements on node/%node/edit page

Is it possible to add custom form elements to node form, when the node form is rendered in panel? I am using panel page node/%node/edit. When I add content to a region, I select Form and there I ...
-1
votes
0answers
22 views

Filtering a View to show a slideshow based on content type AND taxonomy term

I have a slideshow set up but I'm wanting to create multiple slide shows, so at the moment by adding an image to the content type Pager Slideshow the view I have created will show the slideshow on the ...
0
votes
0answers
18 views

Add a page with corresponding menu link in drupal

So. I need to add a page to an existing site that uses drupal. I have never used drupal before, and it seems very confusing. I don't know which version of drupal I have. And I'm pretty sure my ...
0
votes
1answer
18 views

How to change the language of a node and all its fields and all related data?

On my multilingual site, I have a content type that is going to be user created. I want to keep it language neutral ('und'). But there already are a couple thousand nodes of that content type and ...
0
votes
1answer
39 views

node theming doesn't work

I am a Drupal beginner. I'm using Drupal 7. I created a blog using views. I'm trying to theme the blog node using node--blog.tpl.php but it doesn't work. When I change it to simply node.tpl.php it ...
0
votes
2answers
49 views

How can I check if the author of the current node is the current logged in user?

I am trying to execute a Rule based on the condition of whether the currently logged in user, is currently viewing their node (a node they are the author of), or viewing someone else's node. The Rule ...
0
votes
1answer
33 views

How to use ctools modal to popup some fields of a node on node view?

I want when a user is viewing a node, some of the node fields will be shown as a popup (without any buttons). How can I do it? Thank You!
0
votes
0answers
13 views

Make replacement pattern a click-able Link

Using Rules I have created a rule shows a nodes url in a drupal message to the creator of the node. Is there a way to make replacement pattern [node-url] a click-able link,so that the node creator can ...
-2
votes
0answers
31 views

Only people with special url can edit node

I am looking for a module that provides a long not guessable url that allows people to edit a node without logging in.
0
votes
0answers
26 views

how to create a block total viewed by the author on node detail pages?

I am working on it since last week but still could not able to get any solution. I have created a block which show author details on each node pages, now i want to display total number of nodes ...
0
votes
0answers
32 views

How can i display total number of node created by individual user? [duplicate]

I have created one block by using view, which display author details on each node page, author details block on each node Here is the link by which the block has been created,now i want to display ...
0
votes
1answer
31 views

Method to partially duplicate a node

What I need to do is save a node and then add another node that uses some of the data in the saved node. I have figured out how to add another button onto the form that will save the node first and ...
-1
votes
3answers
94 views

How do I create a link to the author's profile on the node that user created?

I want a create a link on each node page, which redirects to the profile page of the user who created that particular node. How can I achieve this?
1
vote
2answers
88 views

How do I customise the header and footer using a page template for a particular content type?

I have a content type. I want to customise the node pages for this content type, I've used node--[content-type].tpl.php but I need to use a page template to customise the header and footer and ...
1
vote
2answers
31 views

Is it possible to publish from my local computer a node in my drupal page remotely?

I wonder if it is possible from a SH script on my local computer, publishing content on a remote installation of drupal. Why have a gammu sms gateway and when a new sms on my local computer I want to ...
-2
votes
1answer
19 views

bulk node creation based on number of files uploaded

Is there a module that enables the ability to automatically create nodes based on the number of files to be uploaded
0
votes
0answers
11 views

How to use Represenstive Views to display users representative nodes?

Main view (User entity): Fields: (Representative node) Content: Nid (Representative node) Content: Type (Representative node) Content: Post date (Representative node) Content: Title other fields ...