Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Hide "Add custom information" section of Personal Information?

3stripe3stripe ✭✭
edited November 2006 in Vanilla 1.0 Help
Is this possible? I'm trying to shorten this page as it's getting a bit long for my liking :)

Comments

  • edited November 2006
    yep, and it is very easy. I think you just need to add something like that in an extension:$Context->Configuration['CUSTOMIZATION_EBAYUSERID'] = ''; $Context->Dictionary['CUSTOMIZATION_EBAYUSERID'] = 'Your Ebay User ID'; $Context->Dictionary['CUSTOMIZATION_EBAYUSERID_DESCRIPTION'] = 'You can add your ebay items to your Profil.';

    Edit: Oups you know that... What do you want to do?
  • edited November 2006
    Copy account_identity_form.php into the vanilla folder (or an other theme folder) and delete from vanilla/account_identity_form.php the part from the line 103 to 128:echo '<h2>'.$this->Context->GetDefinition('AddCustomInformation').'</h2> <p class="Description">'.$this->Context->GetDefinition('AddCustomInformationNotes').'</p> <ul id="CustomInfo" class="clearfix">'; ... echo '<p><a href="javascript:AddLabelValuePair();">'.$this->Context->GetDefinition('AddLabelValuePair').'</a></p>
  • Ta Dinoboff.... so it's got to be a hack to do this then...
  • It's not really a hack it's just a theme change. I'm guessing custom info may be one of the things to come out the core in future releases...
  • Ah true, I get it now. Cheers guys.
This discussion has been closed.