0

How can I remove the Member for information from appearing on accounts? I know I can hide the field, but the problem is that Ubercart order link appears in the history field, so I can't hide the field. I have tried using CSS to hide the details, but failed as hiding the dl tag hides the whole field.

2 Answers 2

1

From this comment:

in D7 history is a field on the user entity

goto admin/config/people/accounts/display set the format of the history field to 'hidden'

3
  • I have tried hidding the field but the problem is this also hides the ubercart 'view your order history' link, which i want to show on the account page. Jan 29, 2012 at 1:07
  • What is the URL for the Ubercart account page ?
    – tostinni
    Jan 29, 2012 at 1:35
  • @JasmineAhmed if Ubercart conflicts with core in your use case, either ask how to deal with Ubercart or how to deal with conflict. This answer is a good answer for what you actually asked. Feel free to ask next question, about this conflict this time. by the way, you are 12 versions behind, consider upgrade.
    – Mołot
    Jun 21, 2013 at 12:52
0

you remove it in this hook hook_user_view

or you can add your one .tpl. file, and just hide it there user-profile-category.tpl.php

 $profile_items

here you'll mess with a html_string - see also https://stackoverflow.com/questions/13620249/how-to-hide-history-section-in-drupal-user-profile-page

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.