Skip to Content Skip to Menu

Uncheck checkbox frontend for new users

  • Tom16
  • Tom16
  • OFFLINE
  • Posts: 38
  • Thanks: 2
  • Karma: 0
9 years 5 months ago #265436 by Tom16
HI,

My client needs to confirm new users from the frontend. As this is not a bulk action, he first needs to uncheck all the users and leave the ones that he want to approve.
Does anybody know where I can set the checkboxes to be unchecked as standard?

Thanks,

Tom

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

  • greygeek
  • greygeek
  • OFFLINE
  • Posts: 11
  • Thanks: 3
  • Karma: 0
9 years 5 months ago #265514 by greygeek
Replied by greygeek on topic Uncheck checkbox frontend for new users
The checkboxes are hard coded as 'checked' in the file:
components/com_comprofiler/comprofiler.html.php

If you decide to edit the file, the easiest way to find what you need to change is to search for COMMENT and then step down 5 lines. Delete the following code:
checked=\"checked\"

Worked for me.

Roger
The following user(s) said Thank You: nant

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

  • Tom16
  • Tom16
  • OFFLINE
  • Posts: 38
  • Thanks: 2
  • Karma: 0
9 years 5 months ago #265547 by Tom16
Replied by Tom16 on topic Uncheck checkbox frontend for new users
Great, thanks for your help.

Tom

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

Moderators: beatnantkrileon
Powered by Kunena Forum