autocomplete on a multi value - custom field
I have a field organizations on the user profile(the field can accept multiple values). I would like to add a autocomplete to this field. My code for this is <?php/** * Implementation of hook_menu()...
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 ArticleDomain Access Login Redirect for main domain and subdomain
I have created three sites namely one.example.com, two.example.com, three.example.com using domain access. Here one.example.com is the main site which can create n number of subdomains. I want to...
View ArticleIs there any way to make Commerce Customer Profile save/store data in a...
Heres the thing. We have a customer profile of type 'Delivery' which contains a delivery address for an order. It also has other non-addressfield data like driver route, delivery day (M-F, day of...
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 ArticleAdd custom user image field on private messages list instead of default user...
ok, this is what I have done so far but it is still not working. First I wanted to add senders profile picture to the private message list on each user profile page. To accomplish that, I used the...
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 ArticleLogin page when using a Zen's sub theme
I've created a website based on a Drupal 7 Zen subtheme and now I would like to create a login page for the administrator. When I navigate to http://mysite.com/?q=user, I return to the main page as...
View Articlehow to fix shared Password reset emails?
I'm usingShared E-mail (sharedemail)Shared E-mail Password Reset (sharedemail_pass_reset)Password Reset Landing Page (PRLP) (prlp)When a user submits the password reset form, it receives two emails...
View ArticleCan users with a custom role approve the user registration?
I have created a site that requires approval of new user registrations. I added the Manager role for the site owner. I'd like users with that role to approve the account registrations.Is there any...
View ArticleAlter Registration Form Text
I am trying to alter the email description text on my user registration page. I have added the following to the bottom of my template.php file but nothing is happening. It seems like the function isn't...
View ArticleHow to get a list of Users as values for a select list field?
How do I get a list of users of a specified role to populate a select list in node/add/* ?For example when creating a piece of content I want a field "Select Your Moderator of Choice" and the options...
View ArticleDisplay Custom User Profile Fields in a Block on All of Their Published Pages
I have created a role, and have added additional fields to their profile using Profile 2. The fields are part of the location module, and are just basic contact info (address and phone number). They...
View ArticleHow can I update webform_submission uid in the table, after which the...
I'm a graphic design, and I just started using Drupal 7.I have a form created with webform, which collects data entered by the user, after sending, the user is directed to the purchase page. The stages...
View ArticleMultipage Registration form, Confirmation Page Security Issues?
I have a multipage registration form working on a site, but the confirmation page is supposed to show some of the information (account name and other data) after the account has been submitted/created....
View ArticleProfile2 regpath move account email field, into profile2 form and handle submit
I have a profile2 regpath displaying my profile2 form, and the system default account registration form below it. I need to move the account email field up into the container with the profile2 fields.I...
View ArticleHow can I populate a node field based on a user field?
I have an "address" field among the user fields. Here users can specify several entries for their addresses.They can create orders (these are custom content type nodes). The order node has a "shipping...
View Articledrush perm-grant gives "The drush command 'perm-grant' could not be found"
I am using drush -u 15 perm-grant --roles="site administrator" but the command returns:The drush command 'perm-grant' could not be found.any ideas about that? according this documentation the drush...
View ArticleForm API Field Permission
I am creating a custom form and storing data in custom table. I was wondering if there is any method to apply field level permission like $form['value']['#permission'] = array('access this field');I...
View ArticleDisplay message instead of redirecting to Access Denied page
I'm using Commerce Auction module for an auction site. I want to display a message when the auction time out occurs for a certain product and at the same moment the user clicks on place bid...
View Article