This tag is for questions about the built-in node revision feature of Drupal.

learn more… | top users | synonyms

0
votes
1answer
71 views

How to get node content in an sql query?

I see that in D6 the node table has only the title of the node. How to query database to get the body (content) of a particular node? Update: I figured out the content bodies are stored in ...
2
votes
1answer
21 views

Does the 'field table' always hold the current value? Or is it only in newest revision?

As I understand it, the current value for every field can be found in corresponding data table (e. g. field_data_body) and the history of its changes in corresponding revision table ...
1
vote
0answers
26 views

How do I tell if the current revision is the published one

I'm loading each entity and trying to see whether or not the entity is the latest revision. $query = db_select($entity_items['revision table'], 'revision') ->fields('revision', ...
1
vote
1answer
32 views

Getting all revisions of an entity with EntityFieldQuery

I'm trying to get all revisions of an entity with EntityFieldQuery. Here's my code: function entity_hash_queue($entity_restrict = NULL) { if ($entity_restrict) { $entity_info = ...
2
votes
1answer
162 views

Can I avoid creating a new revision of every attached field upon entity save?

I have created a custom entity with several properties and several attached fields. When I load a instance of my custom entity, update a property of the entity (e.g UID) and save it a new revision of ...
0
votes
2answers
33 views

Module to suggest node revision to node author

Is there a module which facilitates functionality of allowing users to suggest node revision to author and author finally can publish the revised suggestion. Till the author is not accepting or ...
0
votes
1answer
25 views

How to change the url pattern of user revisions?

How can i change the url pattern of a user revision ? I want to change users/jon-doe/revisions/123/view to users/jon-doe/archive/123/view There is no option in pathauto to influence the url ...
0
votes
1answer
50 views

Get latest revision vid in views

I'm using the revisioning module to handle the status of nodes. As far as the nodes go, they've been working perfect and the work flow is exactly what I want. However, I'm running into an issue when ...
0
votes
1answer
55 views

How to Limit Node Revisions in Drupal7

I added the diff module that keeps all node Revisions (it seems that I can't limit the number of Revisions to keep). Is there a code I can use where I can set a limit of the number of Revisions to ...
2
votes
0answers
70 views

How can I moderate user's edits of user profile?

I need to create approval for editing a user's profile - I want all revisions to a profile to be subject to moderation. I have found module called User Revision, but that is not a solution for me as ...
0
votes
1answer
104 views

Delete old files from server when content is updated in Drupal7

When a node is updated by replacing a new file upload, old files exist on the server maintaining versions.I want delete old files from server when content is updated in Drupal7
0
votes
0answers
64 views

Drupal 7: Display Latest Revision's Author on the Admin Content Overview page with Admin Views Module

Does anyone know the methodology to display the author of the latest content revision, using the Admin Views module on the content overview page (e.g. /admin/content)? It's easy enough to display the ...
1
vote
1answer
84 views

Revision: “per node” version ID

I have revisions active for a content type, called e.g. "procedures". When a node of this type is revised, a new vid is assigned, which is a number independent of the number of revisions made on THAT ...
5
votes
1answer
71 views

Reset Drupal 7 Site: NIDs, Revision VIDs, Taxonomy Term and Categories, etc

Is there a way to keep an entire Drupal 7 site intact, excluding content? Basically after creating a test environment with many nodes, terms, revisions, etc, I would love to be able to delete all the ...
1
vote
2answers
158 views

how to prevent node revision update when node is updated?

I noticed that every time a node is updated, a timestamp column in node_revisions table is also updated for this node. I would like to change this behavior for "forum" content type and disable ...
1
vote
0answers
96 views

Drupal 7 delete current revision

I'd like to delete the current revision (made in error by an admin) for a list of nodes. On a test site - I've looked into re-using core functionality in my script, reverting to a previous revision, ...
0
votes
1answer
208 views

Node and revision id

I am working with a company setting up a drupal website. I am responsible for entering our product information into the drupal tables. I am having difficulty getting a straight answer/an answer that ...
1
vote
0answers
103 views

Are there any modules for Profile2 revisioning/moderation

We're using Workbench moderation, and have a new requirement to add revisioning to the profile2 content. The primary reason for this is ensure that users' profile data has some degree of moderation ...
0
votes
0answers
163 views

DatabaseTransactionNoActiveException: in DatabaseConnection->rollback() on saving content

I have a courses database which is updated by feeds every night. It's also under Workbench moderation/access control, All courses except one can be edited and saved, but one in particular causes this ...
1
vote
1answer
364 views

drupal get node revision by timestamp

I'm building a module that gets the value of a custom field based on a timestamp that a user clicked on it in the past. To not make it too specific and complex I simplified my question so other users ...
0
votes
0answers
42 views

Archive revision in draft/pending with revisioning

I'm using Revisioning module and I see that I can't archive a revision that is in a draft/pending status. Is there a way to do this? Could be useful if someone create a useless revision (as a blank ...
2
votes
1answer
131 views

Records with identical uid and timestamp in node_revision

I'm investigating an issue on a D7 site where a handful of node revisions have apparently gone missing. The issue was discovered on 3/5, and I just noticed in my node_revision table that several ...
1
vote
1answer
434 views

Creating a View of nodes with field for workbench moderation state without showing every revision?

I am trying to create a table view of nodes with fields for node title and moderation state. (There are other fields but I'm omitting them for simplicity). Currently, it's displaying a new table row ...
0
votes
0answers
28 views

Revisions/version control

I am using the Diff (http://drupal.org/project/diff ) module for Revisions. It displays the revisions by date/time. However, the client has asked for incremental version labelling. Can this be ...
2
votes
1answer
229 views

Version history/ revisioning

Is there a way to get drupal 7 to keep version history for every node/page without having to remember to select the "Create new revision" option every single time? Is there a module that improves ...
0
votes
1answer
266 views

Is there a reliable autosave function for nodes?

We're working with dirty forms to at least warn users before they leave an unfinished page before they save. It kind of works. Would enabling revisions control work? At least in that case an admin ...
0
votes
1answer
189 views

Compare two same fields with time difference in Views, using node revisions

I'm trying to build a view containing two columns: first is the actual value of a (integer) field, second is the same field with its old value from two weeks before, using the revision. I suppose I ...
0
votes
0answers
159 views

How can i move Revision information to an existing tab on the node edit page?

I'm using Drupal 7. I know how to hide Revision information on the node edit page, but could they somehow be form_altered to have it's contents in another tab (group), which is defined in the content ...
3
votes
4answers
214 views

Providing Archive feature in a website

We are considering to migrate an exiting website to Drupal: www.rkmission-shivanahalli.org The website has simple static content which I believe is not a big deal to migrate to Drupal. However, there ...
1
vote
2answers
138 views

Set the search index and the field_revision_body empty

I'm not using the core Drupal search engine and I'm not using any revisioning on my nodes. I noticed that the {search_index} table and {field_revision_body} table are occupying 50Mo of my database ...
0
votes
2answers
36 views

How can I highlight only the contents that have been never published yet in the Views?

The contents always need approval of administer to be published on this site. For example, The contents are once unpublished by Rule module when non-adimin users update them. And then the administer ...
3
votes
1answer
347 views

EntityFieldQuery: Load all revisions

I have a self-defined entity with revisions called command. The instance with id=1 has 3 revisions. Now I want to load all these revisions. Tried this: $query = new EntityFieldQuery(); $query ...
1
vote
1answer
72 views

how to find whether a node has more than one revision?

How could I find whether a node has more than one revision. I use node_load($nid) and get a $node object. How can I achieve this using the object? What would be the best way to do it?
3
votes
1answer
93 views

How to enable revisioning for user photo (user/profile field)?

I want to moderate pictures, uploaded as user avatars. So, I need: History for user field “Photo” to see all previous photoes. UI for accepting or declining new photo. How can I implement it?
1
vote
0answers
28 views

How do I coordinate versioned signature blocks with an article?

I have users who write articles and need to show the appropriate bio content when viewing their published page. I could add the signature field to their user account, however, I need this info to be ...
0
votes
1answer
176 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 ...
1
vote
1answer
29 views

Allowing a user to control and/or view their own revisions

Is there a way to allow a user to view and/or edit only their own revisions? I don't want another user to be able to view other people's revisions. Is there a module for this?
3
votes
2answers
681 views

How can we synchronize Nodes from Staging to Production Server

My Question is there any way we can track the node changes on Staging Server and Push the same to the Production Server. Best use case will be, Customer does not want to change the content on ...
1
vote
2answers
301 views

Revision history summary

I am looking for a solution to show a summary of revision history for all nodes in one place. The out of the box solution is to show a revision history for each node apart. I want to be able to track ...
1
vote
2answers
567 views

How to display field revisions?

I want to keep field revisions: I want to see who changed a field to which value and when. Currently I can keep node revisions, but in the revisions tab, it only shows title and body changes. How ...
0
votes
1answer
154 views

Remove duplicate data in revision tables in database [duplicate]

Possible Duplicate: How to disable the revision feature completely? How can I disable duplicate data in database. one example is this image:
7
votes
4answers
2k views

How to delete node revisions

I need to delete all node revisions before upgrading to Drupal 7 to save time in migration. Is there any way to do that?
1
vote
2answers
272 views

Book revision page showing access denied if no revision present

I've edited the content type Book to "create a new revision" whenever user publishes the page (while creation and editing the page). I have created a custom menu Book revisions, with path ...
2
votes
1answer
845 views

List all revison users on a node

I want to list all the users who have ever contributed to the revisions of a node.
2
votes
1answer
190 views

How can I apply node template file only to node view page but not revision page?

I have a node template named node-"content-type-name".tpl.php which overrides the default node.tpl.php for this content type. But this template file is applied to also node revision pages. Is there ...
1
vote
0answers
81 views

Problem with the author of a node revision and the Revisioning module

I am using the Revisioning module for Drupal 6. When administrator users accept the node revision, the author name is changed to anonymous user. Why does this happens?
1
vote
1answer
36 views

Can drupal be setup for users to interact with and submit suggested changes to an article?

We will have static content. But we want the content dynamic in the sense that users can submit suggested revisions and the "community" can either vote or comment on that suggested change.
4
votes
1answer
3k views

How to disable the revision feature completely?

I've followed discussions here and on d.o about removing unneeded revisions tables. How would I completely prevent any data from being written to the node_revision and field_revision_* tables?
2
votes
2answers
3k views

Can I programmatically create a new node revision, without the new revision becoming the “current” one?

Whenever my feeds import finds a new version of an existing piece of content, it creates a new revision of this node instead of overwriting data. Normally the new revision becomes the "current" one ...
3
votes
1answer
173 views

Is there a module to track future revisions of published content in Drupal 6?

I need to track a future revision of a published node that can be reviewed, edited, and eventually published over the currently published revision of the node. The idea is that you have a page that ...