Drupal 7 Anti-concurrent editing fields - drupal-7

There are two modules:
Conflict
Content locking (anti-concurrent editing)
The above modules only work with nodes.
I'm looking for a similar way to make it work with:
users accounts profile fields (e-mail, password and custom fields).

Related

Additional fields in Drupal Commerce Kickstart2

I Would like to have a register form like that one
http://www.blackfire.eu/account.php?act=register
so I thought I go with this tutorial
https://www.youtube.com/watch?v=XSJYDjhkZJ0
but he doesn't show how to add fields or how to change some. So is some able to help me?
You can add customer specific fields by adding fields to the Billing or Shipping Customer profiles.
Via the Admin menu:
Store -> Customer profiles -> Profile Types -> Billing/Shipping Information -> Manage Fields.
URL: yoursite.com/admin/commerce/customer-profiles/types/billing/fields
If you need to customise the checkout form further, there are a number of ways, including the following:
1) Use an existing Commerce module that provides extra fields or checkout "panes".
Commerce Agree Terms - Adds a Terms and Conditions checkbox
Commerce Extra Panes - Lets you load nodes within the checkout form
2) Create a custom module and add your own checkout pane. In this pane you can add any required fields. This tutorial provides further details on how this is implemented. http://atendesigngroup.com/blog/custom-commerce-checkout-panes
3) Use the standard Drupal hook_form_alter() to modify the existing checkout form. There is an example here https://drupal.stackexchange.com/questions/107310/how-to-alter-commerce-checkout-form-in-a-custom-module

How to migrate webform submissions data from one drupal to another

Hello, I wonder if there is any way to migrate the records of a Webform (data submissions) of a site in Drupal 7 to a previous copy of the same site.
My form includes text fields, images and files, and am aware that the records of the form are not nodes.
For this reason, modules as 'Node Export' do not work (although I tried anyway).
Could anyone guide me to find the solution?
Or give me a place to start?
Have you given Migrate Webform a try yet?
From the project page
It will migrate all nodes of the webform node type (with the default
D6 fields using migrate_d2d backend), all the configuration* of the
webform's settings, the form components, email destinations,
submissions and associated submission data, in addition to any
validation configuration you have (from webform_validation module). It
grabs the "last downloaded" data too, in case your users were
downloading sequential batches since the last time they were on the
site.
Try Webform Import.
Allows delimited data files to be imported as submission (results)
into webforms.
This is useful for importing submissions from other systems in to
Webform. Can also be used to Edit submissions via Export / Import as
long as the CSV has the SID column filled.

Configuring a portlet has three different names

When i include a portlet in a page, i'm asked to customize the portlet.
Trying to do so, i have three options namely:
Edit Shared settings
Personalize &
Configure
What does each mean and How do they differ?
This is an old page but it still describes the differences correctly: http://publib.boulder.ibm.com/infocenter/wpdoc/v6r0/topic/com.ibm.wp.ent.doc/wps/adcfgplt.html
In short:
Configure: Changes made here affect all occurrences of the portlet on all pages for all users. The administration portlets allow you to create multiple copies of the same portlet with different administrator level configurations.
Edit Shared: Changes made here affect a particular instance of a portlet on a page and apply to all users who view that instance of the portlet on that page.
Personalize: Changes made here are associated with a single user and apply only to that particular user who views the portlet on the page. Only that user can make that update.

Drupal 7 custom voting solution

I need to create a voting system which will essentially consist of several forms each with a list of radio buttons, of which a single choice can be made. Submission of the form loads the next one, this will go on for about 10 pages, before finally sending the user to a generic data capture form where they will submit their credentials for inclusion in a prize draw.
Several approaches spring to mind:
Create a clone of the core poll module and modify it to achieve the required functionality
Modify the drupal quiz module to allow anonymous recording of votes (the fact that it doesn't is the only thing stopping me approaching it this way, it works almost exactly as I want it to otherwise)
Create something completely custom using the webform module.
I just wondered if anyone had come across this same problem/dilemma and could share any knowledge???
Can you accomplish this with a multi-page webform? You can build the webform by adding a "select options" field, followed by a "page break", then another "select options" field, and another "page break", etc, etc.
You can limit the select options field to 1 answer. Then when you want to gather their information, just add simple text fields at the end.

Drupal 7 - Adding fields in User node or link node to the current user?

I'm designing a website in drupal in which users would be able to set their preferences in different areas. e.g. Fav. Games:.
Now I want these preferences to show in a seperate menu option for the users to fillout. I created a seperate node but I need someone to advise me how to link it with the users. Or if there is any other better way please guide me.
Thanks.
You could use the Profile 2 module: http://drupal.org/project/profile2
You can create profile fields with your different areas, which will be assigned to that user.
In Drupal 7, you can attach fields to any entity that is declared as fieldable; that includes users.
Just add the fields you need from admin/config/people/accounts/fields.

Resources