Redirecting a registration link in logintoboggan
I've got a register link and a log in link that is augmented by logintoboggan. All I want to do is redirect the register link from the user account form page to a new page I've just made. It seems very...
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 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 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 ArticleSet the default value for a password field on a custom form
I have created a custom user register form. I want to set the default value for the password, and confirm the password fields.My point is that, whenever form error occurs, the password fields get...
View ArticleHow to override template for a Profile2 page
I'm working on a project which request, for a particular type of user, the need to choose a different template for the main profile page (public page).I need to override the main profile page but I...
View Articleview access permission
I have a problem with view permission, when I make a view in drupal 7 there is an option "access" when I specify the option eg:"view published content" all users that has the role of published content...
View ArticleCan't login: user/login redirects to index page
My Drupal 7 user, user login and admin pages all redirect to the index page. I am unable to login at all. This problem came up recently after the site had been unchanged for months. I can't think of a...
View ArticleUsing Profile 2 with Entity Reference--How to display the user name and not...
I've reviewed the threads similar to this, and can't seem to find a definitive answer. I have a Content Type in Drupal 7 where I want to be able to associate multiple users to a content item. For...
View ArticleLimit the number of uploads per image field depending of role
I need a hook (or something similar) where I can set the number of image uploads depending of the role of the user.In the settings of the field there is no way to set the maximum number of values users...
View ArticleUser registration without email address OR registration with pseudo-email...
I am programmatically creating users for the roles Parent (Adult) & Child (minor). During registration, minors (Children) typically will not have email addresses but Drupal user registration...
View Article/user/login 403 You are not authorized to access this page
I'm using Drupal 10 with Nginx and Basic Auth.On the user/login page, I get a "You are not authorized to access this page. 403" error.I can see the menu, but I do not see the login form.When I remove...
View ArticleInteger user form field with min 11 digits and max 11 digits
I need an integer form field with has a validation of min 11 digits and max 11 digits. In other words; the user has to fill in an 11 digit code.How do i make this field and validation?Update:I managed...
View ArticleCustom user profile displays
I have added some extra fields in User entity like address, twitter account e.t.c. The requirement is that each user should be able to choose whether his profile will be completely public to other...
View ArticlePre-select Group Audience for Organic Groups
Here is my situation.I am using the latest version of Organic Groups on Drupal 7. Every user on my site is part of one group and one group only. Is there a way to make it so that when users are...
View ArticleHow to adjust weight of profile 2 fields
I added some fields to the default user registration form. I then installed the Profile 2 Module through which I added three (3) fields- "first name", "surname" and "place of work".Is there a way to...
View ArticleMultipage registration form with Ctools
I'm trying to follow the tutorial on multipage user registrations at http://www.grasmash.com/article/building-multistep-registration-form-drupal-7-using-ctools, but I'm doing something wrong. As it's...
View ArticleHow do I edit the "add user" page?
I know very little about Drupal. My company has a Drupal 10 website that I'm trying to learn how to navigate.When I create a new user, it opens a page admin/people/create with "Add user" at the top and...
View ArticleDefine a resource of Service module, But 'access callback' cannot work
This following is my resource:For clearly read, I delete some line./** * Implementation of hook_services_resources(). */function baidu_push_services_services_resources() { $resources = array();...
View ArticleCustom form validation is missing
I have a registration form :<div class="register-error" id="register-error">{{ form.status_messages_user_register_form }}</div><div class="row"><div class="col-sm-6">{{...
View Article