Quantcast
Browsing all 468 articles
Browse latest View live

How do I reroute a logged-in user after page access denied at user/login?

My Drupal 6 site has the login form at /user/login. If I'm logged in already and I click it, I'm sent to the Access Denied page (though the login URL stays the same).I'd like to send such users...

View Article


Change default format for date field on user register form

I'm new to Drupal 8. In the user registration form, i've added a Date field via manage fields in user account settings. However, I need to customize this field and change its format. I tried 'manage...

View Article


How can I redirect users on login based on their chosen language?

I'm looking to redirect users after they login.The site is multilingual, using English and French.I've tried using the Login Destination module and using Rules, but it has no options for accessing the...

View Article

File upload ajax and Radio Buttons not cooperating in registration form

I have enabled Profile 2 and profile Profile2 Registration Path modules on my site and have a really long registration form with lots of fields. I have some radio boxes and file upload fields also. The...

View Article

User authentication handled by a web service

I seek your help and advice. By default, Drupal manages user authentification using the user module that resides in the "core/modules" and through the main Drupal Database. In my case, the user is...

View Article


Allow user to fill out node form, then force registration

I'm making a classified website.Have a button that say "Make a ad"I would like the Anonymous user to be able tofill in the text for the ad.But the Anonymous users after filling in advert.has to sign up...

View Article

Image may be NSFW.
Clik here to view.

Custom user_register_form for Auto Assign Role registration pages

I'm using a function[a] to get custom templates to work for all pages, including role registration pages set by Auto Assign Role. By setting the role registration path to user/register/<rolename>...

View Article

Filter Taxonomy reference field on Workbench Access permission

i need some help with Workbench access based on taxonomy.This is my use case:I have this taxonomy structure for my site: - Term A - Term B - Term CAnd i have 2 roles: - editor - editor CEditor c users...

View Article


How to grant permission to specifc role to perform CRUD operations on a...

I've set up different roles and in my site and I want a specifc role to grant permission to perform CRUD(create, Read, Update, Delete) operations on a particular content type only. But I can't find any...

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

Automated login with LDAP always returns error

I have successfully setup LDAP module to authenticate users (and create new users). This is done through manual login form. Now I'm trying to enable automated single sign-on, but with no luck. I have...

View Article

give permission of create new revision to specific roles

I need to give the permission of "create new revision" to a specific role. but nothing related to this issue appeares in permissions page! I've installed Revisioning module too.how can I set it?

View Article

create a custom form based on user fields

I created new menu item witch I want to insert a custom form to edit some user fields :$items['user/%user/edit-custom'] = array('title' => 'Knowladge','page callback' => 'drupal_get_form','page...

View Article


Why does "Cancel People Account" not work?

I have Drupal 7 with Devel installed running over PHP internal server and MySQL.All user operations work correctly except Admin>People>Cancel Account operation.This leads to the overlay Add User...

View Article

Ubercart Node/Product Field access to Role and purchaser

I have an Ubercart ecommerce Drupal 7 site I'm building. The user can either subscribe (monthly/annually) or purchase node by node (pay as you go).I need to GRANT the subscriber or purchaser access to...

View Article


Create duplicate registration form with extra fields

I have a site built using Drupal 7. The site has a registration form now. There is a new requirement to add a couple of new fields in the registration form and put it in a new...

View Article

Unable to edit node translation other than current language

On my multilingual site I seem to have problem at admin/content when editing a particular translation.I have a Contact Us page, translated:Contact Us [EN], node/286Contact Us [ES], node/300I don't have...

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

In code alter user registration and override approval to no approval required

In my module I want to override the approval for certain users so that they are immediately approved and get the corresponding email. The module looks at the subdomain to decide if approval is...

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
Browsing all 468 articles
Browse latest View live


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