How to attach a user into a module that updates content?
I have build a module that reads content from an API and then adds/edits this content in Drupal 10.What I would like to do, is when it edits or creates content, to show as a specific Drupal user so...
View ArticleHow to completely disable 'further instructions sent to email' message after...
How to completely turn off/remove message 'Further instructions have been sent to your e-mail address.' that appears after registration? I'm using logintobogan module and I can see some customization...
View ArticleHow do I display the language settings (Site language field) on the user...
I'm trying to display the user's language settings field on the registration page, but no success so far.I've tried using a template (form--user-register-form.html.twig). This works for other fields,...
View ArticleUnable to run update.php or update modules from web interface
I would really like to be able to install module updates through the web interface or run update.php when needed without changing settings.php, but something seems to be broken in my setup because it...
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 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 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 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 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 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 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 to limit access to certain type of node?
I am on Drupal 11 and here is my problem:If I have a node type "article" and another "recipe", I want anonymous users to access only the nodes "article", but not the node "recipe". Only authenticated...
View ArticleChanging group visibility needs group content to be resaved when group...
Drupal Commons 7.x-3.2Organic Groups 7.x-2.1Content type: MygroupField: Group visibility - value: PublicContent type: MypostField: Group - default value: MygroupField: Group content visibility -...
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 ArticleHow can I let users choose their own role?
On Drupal 11 I want that when a user registers (creates an account), they can choose between the authorized roles.For example, I have the role author, creator, moderator.I want them to have the choice...
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 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 ArticleIs a content type or profile a better choice?
I am working on a new site where I want to show information for art galleries, artists, museums, public art installations and art education. I understand both the content type and profile differences...
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 Article