Quantcast
Channel: Active questions tagged users - Drupal Answers
Browsing latest articles
Browse All 514 View Live
↧

How do I add tabledrag with 'weight' to admin form

I have built a fairly basic module but i'm struggling with the UX of the admin form. Essentially I need a list of items that have several values; a textfield, checkbox, select list and a button to...

View Article


Assigning a badge to a user using Flag, Badges and Rules

I am interested in assigning to user a Badge after he favorites 3 nodes. I want to do this with Flag, User badges and Rules.How can I do that?

View Article


Query for email address already existing

I want to customise registration form action in my drupal8 site.I want to check email address is already existing.I have tried with different queries.But not worked.Can anyone to help me to solve this...

View Article

How to import multi-value fields into profile2 using the Migrate module

I have users each with a profile using the profile2 module. I am using a cookbook based on the Migrate framework to create the users and import profile data.Sample CSV data would...

View Article

Changing user register/login pages into secure sub domain

I need to change my user registration and login pages into a secure sub domain of my site, how is it possible ?In detail,When user logon to http://www.mysite.com/admin that must be redirected to...

View Article


Get all registered Users into a Field Type List

I would like to create a content/form where an authenticated user is able to choose another registered user from a list/dropdown. I've been searching for ways to get this done but am not able to find...

View Article

Image may be NSFW.
Clik here to view.

permission enable

I have created new user/role for my user.What permission I need to enable for my user to let them access the Admin->Structure->Pages ?I want this "Structure->Pages" enable in my user pagewhat...

View Article

How to make a page visible only to users with permission to use the...

I have created a basic page which I only want to be viewable by people who have access to the administration theme. I have given the page a path of admin/shipping-help but to my surprise the page is...

View Article


Why is the login redirecting to the access denied page?

This question has been asked before but I see only D7 versions of the question, and none of their answers have helped me in D8.I log in perfectly fine with Chrome or Firefox, but IE 11 redirects to the...

View Article


How to show view for submitted result of a webform by a user

How i can show all submitted value of a webform by a user in a view in a tab of a user profile section.Iam using drupal 6.For example when user click on a tab say form on his profile the webform value...

View Article

Adding fields, account registrations and editing profile

By default Drupal has a profile system in place that stores user name, password and email.Profile2 extends this to allow specific roles upon account creation as well as more options for adding...

View Article

Form Validation. Ensure Placeholder is not submitted value

I have a Drupal registration form with a placeholder set on a first name field. I am trying to get the form to check so that if the placeholder value is the same as the submitted value it will give an...

View Article

Image may be NSFW.
Clik here to view.

How to set Permission based on roles for Views Data Export

Using views data export module, I set the permission for different roles in the Data Export in Views like:But I can still see the Export button for all users in front page. However if the role doesn't...

View Article


Sync user roles across websites

I am using Drupal 7. I want to sync my Drupal website roles on 2 websites on the same top level domain, as in, one is example.com, the other is other.example.com, how can i achieve this? Bakery module...

View Article

Define permissions for Actions?

function custom_mod_action_info() { return array('custom_mod_delete_user_cats' => array('label' => t('Delete a users cats'),'type' => 'user','configurable' => FALSE,'triggers' =>...

View Article


Permission for translating menu items via the menu config screen

I have a multi language Drupal site, Using i18n and the entity translation approach. Translating menu items from an node works well, but not all the menu items are driven by the nodes.Now as user/1, I...

View Article

Fatal error: Maximum execution time of 240 seconds exceeded in...

I am using multidomain site .After adding a new domain record,I was asked as follows: Content access permission needs to be rebuilt on this page.When I clicked on Rebuild Permissions button,the...

View Article


Redirect user to previous page after registration

I'd like users registering on my website are redirected to the page where they clicked the "create account" button which is in a modal.First, I tried to redirect to an absolute urlI tried...

View Article

Filter by field user role permission

I have created View permission field in the events content type. Its field type is Role, so I can select which roles can see the node.This works fine, but when I add events content type in the view...

View Article

How to handle multiple stores and multiple store admin users

Is it possible to create a restaurant(multi-store) online delivery system using Drupal commerce and OG? It has multiple stores(restaurants) in different locations which can be manageable by individual...

View Article

display view mode on node based on field setting or taxonomy term of user...

I'm using Display Suite which is awesome and an easier solution if you're not a coder. Now that I have created several view modes I'd like to set a particular view mode that is based on a field setting...

View Article


How do I add fields and hide them from client?

I added fields to a Client profile using Profile2, such as first name and last name. But I added another fields, let's call it "Assigned Consultant". But the "Assigned Consultant" field...I don't want...

View Article


Send an email when the roles are changed

I'm trying to send an email to users after their role has changed. So far, the rule is triggered every time the profile is saved (even without role change); I suspect that the data comparison is not...

View Article

Display user list with number of comments and forum posts

I want to create blocks to display a list of all users with their number of comments and number of post on forum.In SQL, something like that :SELECT u.name as user, COUNT( n1.nid ) as 'number of post',...

View Article

How do I add administrator approval on webform submitted data?

I have the functionality that when any anonymous user submits a webform, then I display the submitted webform data in my new page, but I need admin approval before that submitted data displays on...

View Article


How to add html tags to account setting emails?

I am working on a project where I need to add some custom headers to the email which we send to the user on registration. Is there a module which support this functionality?

View Article

Wich template to override for user account form

I am building a theme for my Drupal 8 site and I want to create a custom profile page with user information like this: http://bootsnipp.com/snippets/featured/profile-card but I can't find the correct...

View Article

How to prevent other roles from publishing content

I am new to Drupal. I am working on a website where I have 2 user roles: Site admin and editor.The site admin has all permissions. I want the editor to only have the permission to edit content but not...

View Article

Is there a way to add node grants to anonymous users?

I want anonymous users to be able to access nodes that are promoted to the front page. (They can't access to nodes that are not promoted.) It seems hook_node_access() isn't seem called for anonymous...

View Article



User Import with inactive status

I have a site where we need to bulk import users into the system, however the client wants to be able to import the users into the system but have them inactive until a later date,The idea is that we...

View Article
Browsing latest articles
Browse All 514 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>