Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Γιάννης Μαρινίδης
d7_webform_results_access
Commits
b6d9ded9
Commit
b6d9ded9
authored
Jan 18, 2017
by
plirof2
Committed by
GitHub
Jan 18, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update README.md
parent
ee91d349
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
README.md
README.md
+24
-0
No files found.
README.md
View file @
b6d9ded9
...
...
@@ -6,3 +6,27 @@ access the results).
depends on References module : "https://www.drupal.org/project/references" (for user reference field)
## Instructions:
##### 0. Preparation:
-
Clear Drupal cache (just to be on the safe side)
-
Download install and activate this module : https://www.drupal.org/project/references
-
Download install this module from github (don't activate it yet): https://github.com/plirof2/drupal7_webform_results_access
##### 1. Add a new field to the webform:
Go to webform manage fields (eg http://mydrupalsite/subpath/admin/structure/types/manage/webform/fields ) and
-
add a
**new field**
to the webform named : "
**webform_results_access**
" .
-
the field type should be "User reference" (you need the References module activated (https://www.drupal.org/project/references) )
-
The graphic component should be "
**Autocomplete text field**
"
-
The machine name should be "field_webform_results_access" (this is the default value so no need to change it)
#### 2.Set some settings for this field:
-
Go to http://mydrupalsite/subpath/admin/structure/types/manage/webform/fields/field_webform_results_access
-
select "
**number of values**
"/"Αριθμός τιμών" to "
**Unlimited**
" (we want to be able to add unlimited users to view results)
-
from the option "
**User roles that can be referenced**
" select a user group - usually "registered-authanticated users"/"πιστοποιημένος χρήστης"
-
Maybe you want to restrict visibility and permission from the option "
**Field visibility and permissions**
".
#### 3. Activate module
-
Clear Drupal cache (just to be on the safe side)
-
Activate module drupal7_webform_results_access
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment