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.
0
votes
2answers
26 views
Trying to make changes to page (post/article) text just before they are rendered
I have a module that works fine but I cannot seem to get node_view hook to work - seems to never be called. As a test, I tried adding this to the dennis.module in sites/all/modules/dennis, but nothing ...
1
vote
1answer
25 views
Best way to organise content
I am making a site which will deal with various micro-topics about a subject.
Each subject will have the following:
i) A backgrounder (one-time)
ii) A news blog (obviously recurring)
iii) FAQs ...
1
vote
1answer
12 views
How to move the edit tab in node.tpl.php
The $tabs variable is being printed in page.tpl.php, but I want to move it under the title of my node. I can't use the $tabs variable in my node template and I don't see the variable being prepared in ...
0
votes
0answers
9 views
Is it possible to convert a node into a panel node
I am creating a content type in an install profile. The .install file defines the content type, fields, and instances, and a function creates the content type and saves it. At the moment it creates a ...
0
votes
1answer
18 views
Let Gmap center on the users geolocation, but still load all the node markers onto the map
For a website I am building I have a used a map to display all the nodes inside my country, by using a view. When the map is loaded, it shows the whole country (by standard settings in the Gmap ...
0
votes
1answer
36 views
Show all child nodes of a taxonomy term D7
Ok, so I've been ripping my hair off for the past 2 days now.
I'm developing a web-site with a car catalog which contains the following hierarchy (taxonomy hierarchy):
-brand1
--model1
--model2
...
0
votes
1answer
34 views
Heading at top of node/add or node/edit
In my node/custom_content/edit and/or node/add/custom_content page i want to place a heading at the top of the page as Create New My-Content. Seems simple enough but i am unable to do so...How can ...
2
votes
2answers
40 views
Updating user profile to update node
I currently have a user's profile set up with some extra fields and when that user obtains the role "paid user" an entity is created with a rule and a node that copies those extra fields in the ...
0
votes
1answer
20 views
How to change order of taxonomy terms related to specific node field?
As in question. I have multivalued taxonomy field. Is this possible to control terms weight, which are belongs to specific node field?
As a term weight, I mean weight inside single node. It's just a ...
0
votes
1answer
35 views
Link to node in views
I have a view which has 2 displays :
List : Which is a unformatted list that contains a page
Table : Displays the nodes titles in a table.
What i need is to make the title in each row of the ...
0
votes
2answers
26 views
How to hide language selector dropdown on node add page for a role?
I would like to hide the language selector dropdown on node add pages of multilanguage enabled content types.
What would be the best way? A jquery selector perhaps?
1
vote
2answers
47 views
Password protection for section of a drupal website
I am planning out a Drupal website, and it will have a password protected section. All users will need a username and password to access content, but client wants to issue passwords by company ...
0
votes
1answer
21 views
How can I populate a node field based on a user field?
I have an "address" field among the user fields. Here users can specify several entries for their addresses.
They can create orders (these are custom content type nodes). The order node has a ...
1
vote
0answers
21 views
Update field value without edit page
I need to create a button that will allow a user to update a field value on a node without accessing the edit page. I'm using access control to limit access to the node, and roles which could define ...
3
votes
1answer
46 views
How to add an external image to node with a module?
I have created a form through my module in which the user(anonymous) can enter an image URL and some title for the image.
The link needs to be, like with remote stream wrapper, shown as an actual ...