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 ArticleAssigning 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 ArticleQuery 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 ArticleHow 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 ArticleChanging 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 ArticleGet 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 Articlepermission 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 ArticleHow 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 ArticleWhy 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 ArticleHow 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 ArticleAdding 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 ArticleForm 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 ArticleHow 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 ArticleSync 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 ArticleDefine 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 ArticlePermission 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 ArticleFatal 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 ArticleRedirect 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 ArticleFilter 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 ArticleHow 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 Articledisplay 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 ArticleHow 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 ArticleSend 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 ArticleDisplay 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 ArticleHow 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 ArticleHow 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 ArticleWich 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 ArticleHow 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 ArticleIs 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 ArticleUser 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