The tag has no wiki summary.

learn more… | top users | synonyms

2
votes
2answers
49 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
49 views

How to update a record with drupal_write_record?

I do not understand how to update a record with drupal_write_record. I want to update column "vid," in table "node," with the value $value, where "nid" equals $key. This is what I have, and it ...
1
vote
0answers
71 views

D7 - Feeds 7.x-2.x-dev - SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry

Can any one help me with this? I'm not sure what's causing my feeds importer to fail on import. I have debugged the saving function of the feed item found out it's trying to insert the node twice ...
0
votes
1answer
37 views

“This page was last modified on” code not displaying

I added the following code to my node.topl.php but nothing is displaying on my site. What am I missing? I am running Drupal 7. <?php if ($submitted) { echo 'This page was last modified ...
0
votes
0answers
77 views

Drupal 7 - Ajax save single grouped field & sending email before values get commited to the website

Hoping someone here could set me on the right path to completion. I have a node type called Task in this node I have a field called target_prices. This is a field with multiple values (infinite). I ...
3
votes
1answer
212 views

Programmatically create node using feeds

I'm creating nodes from XML using the Feeds module (great module BTW). function boardgamegeek_menu() { $items['games/add/%/%'] = array( 'title' => 'Boardgamegeek add game', 'description' ...
0
votes
1answer
42 views

How do I hide the title when creating/editing a specific type of content?

Here's what we'd like to do when create/edit node of specific type of content (we have 2 specific types, let's call them "type A" and "type B"): hide the title (= the user can change all fields but ...
3
votes
2answers
82 views

Retain “Last edited by” info

I would like to keep info on the user that last edited a node. From a little search I found that you can easily obtain that info from the node_revisions table. But what if you don't want to enable ...
0
votes
1answer
77 views

Problem with node revisions and taxonomy terms

I have a content type with a number of fields including a checkbox which allows you to select one or more taxonomy terms. If I create a new version of a node, all the previous taxonomy terms are ...
0
votes
0answers
424 views

Update Drupal Commerce Line Item Price Programmatically

Working on a Drupal 7 Commerce site. The unit price of each line item will be determined by an external database accessible via http. (The price table is changed often based on customer so we can't ...
0
votes
1answer
143 views

Drupal 7 Core Module Function for node_save?

In Drupal 7, i want to put a additional code when the Save button is Clicked (Saving) in "a content" form (New or Edit). I don't want to know the hook (because i don't want to make an obvious Custom ...
0
votes
0answers
26 views

Keeping the currently “published revision” published even if after the content is updated by users other than adimin

Is there any way to keep the "currently published version of revision" published after the content is updated by users other than admin role? Because the admin needs to check the content after it's ...
1
vote
1answer
25 views

Preventing frequently updated nodes from keeping them on the top of View

I have a view that lists content profile node and set the sort criteria to node:Updated date. However, the problem is that some of the users updates their content profile node everyday to keep it on ...
0
votes
2answers
126 views

How to change the revision uid on node save

I need to change the revison uid of 7000 nodes on a site. So I am using Views Bulk Operations to perform this action, by publishing or saving the the 7000 nodes concerned. Then I use the ...
4
votes
1answer
210 views

Node's cache isn't automatically cleared on update (intermittent problem)

Occasionally, about 1 out of 5 times, a node's cache isn't cleared when it is updated. Even going to view the revision that the update created or editing the node doesn't show the changes. Minimum ...

1 2 3
15 30 50 per page