Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
475 views

How can I add language selection to the user profile in "my account" settings

I'm currently allowing users to switch language with the "Language switcher" block, but I would like have this as part of the user profile that is managed with the "My Account" settings page. Is it ...
Whiskey's user avatar
  • 1,378
1 vote
1 answer
3k views

Display content type in custom display format

I created an content type of name "profile", where it has fields Profile Name, Image , message , body. It displays in this format attached image_1 Now how can we arrange or make change in custom ...
Rafee's user avatar
  • 494
1 vote
2 answers
3k views

How to extend default user registration page in Drupal 7?

I would like to extend the default user registration page by adding more fields that will be stored in the same users table of database with the default fields. What is the easiest way to do that? ...
Leo's user avatar
  • 11
2 votes
2 answers
2k views

User profile fields translatable

How can I make user profile fields translatable? I'd like to be able to translate some fields into other languages.
Michał Pękała's user avatar
1 vote
1 answer
6k views

Field level permissions in Drupal 7

What is the best way to create a piece of content with multiple fields... allowing users to edit the content as a whole yet blocking the ability to edit. The setup I have is a piece of content that ...
WernerCD's user avatar
  • 784
6 votes
2 answers
593 views

What approach for showing custom user fields on a node?

I've added a few custom user fields which users complete when registering. What is the simplest approach to show these fields when viewing content that user has created? For example, when viewing a ...
Garry's user avatar
  • 193
1 vote
3 answers
5k views

Export Users with custom fields?

I need to set up a semi-regular export of people who have signed up on our website. We're using Drupal 7. I can do a simple export of the Users table, but that doesn't include the additional custom ...
Tim Howland's user avatar
7 votes
4 answers
7k views

Add fields to user roles

I'm using Drupal 7 to create a project linking organizations to volunteers. My initial approach is to use profile module to create different profiles for each role (volunteer & organization). Is ...
starsinmypockets's user avatar
12 votes
3 answers
6k views

How to bypass node_access when using EntityFieldQuery?

With the following code, if the current user does not have 'bypass node access' (see _node_query_node_access_alter() for exact verifications), then the query checks for node_access, even though I do ...
Weboide's user avatar
  • 370
1 vote
1 answer
680 views

Registration full name

I would like to edit the registration fields, but I can't find where to do it. I want to replace the username field on the registration form with two fields for first name and last name, which are ...
Ruben's user avatar
  • 11
20 votes
4 answers
15k views

How to hide a custom user field in user profile?

In Drupal 7, what is the best way to prevent any non-administrative user from changing a custom user profile field? Use case: I've created a user field called "Customer ID" that I do not want the ...
ctlarsen's user avatar
  • 255
1 vote
2 answers
940 views

Custom content type on registration form. No node title field

I set my custom content type to show on user registration form. I see cck fields, but I don't see node title field (required field) :( Could somebody give any advice?
Codium's user avatar
  • 4,953
0 votes
2 answers
1k views

CCK Node Reference options not showing "this post can't be referenced."

I have a CCK field of node reference. As user 1 I can set the node ference field to a node. I will see something like Node Title[nid:123]. When I go in as another user I see [nid:123]. When I go to ...
Jeff's user avatar
  • 311
1 vote
3 answers
786 views

CCK counterpart for user's profiles?

Im looking for a module that allow to add fields to users profiles, with the same functionality and flexibility of CCK for nodes; I've actually activated the profile module, but the fields type doesnt ...
Strae's user avatar
  • 890
2 votes
2 answers
241 views

CCK fields don't appear on the "node add" form for authorized user

I would like to allow logged-in users to create nodes, and I gave them the permission to create "some_content," but on "add node form" users have only one field, which is for custom node title, ...
user1077's user avatar
  • 173
0 votes
2 answers
1k views

Add a file-download widget on a form

I have a file field called "contracts" between my user fields. What I want is that in the user-profile form this field would come up as a file-download widget. Does anyone have an idea how to show a ...
ayush's user avatar
  • 552
3 votes
3 answers
8k views

How to show custom user profile fields in a view?

In Drupal 7, I am using Profile2 (7.x-1.0-beta1) module to add custom fields like 'Author Name' etc to an user's profile page. How do I pull those custom fields in a view (7.x-3.x-dev)? All other ...
Ajinkya Kulkarni's user avatar

1 2 3
4