Keyword

K2 user - how to remove gender question

  • Mo Jones
  • Mo Jones's Avatar Topic Author
  • Offline
  • New Member
More
11 years 8 months ago #109270 by Mo Jones
K2 user - how to remove gender question was created by Mo Jones
Hi everyone,

I'm trying to remove the "gender" question from k2 user profile. I have found the same question on the link below, but the solution doesnt seem to be working for me. Anyone have the idea of how to do this? Thanks a lot in advance.

getk2.org/community/New-to-K2-Ask-here-first/150830-K2-user-page---remove-gender-question

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #109271 by william white
Replied by william white on topic Re: K2 user - how to remove gender question
post a link, simplest way may be to hide it with css

Please Log in or Create an account to join the conversation.

  • Mo Jones
  • Mo Jones's Avatar Topic Author
  • Offline
  • New Member
More
11 years 8 months ago #109272 by Mo Jones
Replied by Mo Jones on topic Re: K2 user - how to remove gender question
Hi and thanks for such a quick reply. This is the link, site is still in a test phase...

www.supermajda.net/opj/gk_finance_business_quickstart_J25/

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #109273 by william white
Replied by william white on topic Re: K2 user - how to remove gender question
first try going to k2 params advanced tab and set "enable k2 user profile" to no and see if that gets too much or will work for you

Please Log in or Create an account to join the conversation.

  • Mo Jones
  • Mo Jones's Avatar Topic Author
  • Offline
  • New Member
More
11 years 8 months ago #109274 by Mo Jones
Replied by Mo Jones on topic Re: K2 user - how to remove gender question
tried it,
it does remove gender question, but with it all other things like avatar, extended fields etc. - which i want site users to have.

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago - 11 years 8 months ago #109275 by william white
Replied by william white on topic Re: K2 user - how to remove gender question
ok, try commenting lines 93-100 of components/com_k2/templates/registar.php
UnTested
<tr>
<td class="key">
<label id="gendermsg" for="gender"><?php echo JText::_('K2_GENDER'); ?></label>
</td>
<td>
<?php echo $this->lists; ?>
</td>
</tr>

Please Log in or Create an account to join the conversation.

  • Mo Jones
  • Mo Jones's Avatar Topic Author
  • Offline
  • New Member
More
11 years 8 months ago #109276 by Mo Jones
Replied by Mo Jones on topic Re: K2 user - how to remove gender question
tried it, but no luck. tried the same with registrar.php at
templates/MY_JOOMLA_TEMPLATE/html/com_k2


apparently it worked for other user, but not for me. :dry:

at this point - what would also be helpful (if i cant remove gender all together) - is to be able to put more gender options. its very important for this web site as it is aimed at transgender community...

Please Log in or Create an account to join the conversation.

  • Mo Jones
  • Mo Jones's Avatar Topic Author
  • Offline
  • New Member
More
11 years 8 months ago #109277 by Mo Jones
Replied by Mo Jones on topic Re: K2 user - how to remove gender question
worked!

made a rookie mistake at commenting templates/MY_JOOMLA_TEMPLATE/html/com_k2

needed to comment out both codes in com_k2 and in template/html/com_k2

thank you William for your help!

Please Log in or Create an account to join the conversation.

  • Mo Jones
  • Mo Jones's Avatar Topic Author
  • Offline
  • New Member
More
11 years 5 months ago #109278 by Mo Jones
Replied by Mo Jones on topic Re: K2 user - how to remove gender question
Strangely enough,
Gender options re-appeared on my site. :(

I commented out register.php file both in com_2, and template html/com_k2 .

It is very important for my client to erase this. help?

www.supermajda.net/opj/gk_finance_business_quickstart_J25/

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum