Changing gender options

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
luisalopes
Posts: 7
Joined: Tue Dec 06, 2011 5:04 pm

Changing gender options

Postby luisalopes » Wed Dec 07, 2011 2:22 pm

In portuguese version, whem choosing gender, there are 3 options: M / F / outro (another). How can I delete the laste one?

I've seen the tranlation files but I couldn't find it.

Thanks

JasonNugent
Site Admin
Posts: 910
Joined: Tue Jan 10, 2006 6:20 am

Re: Changing gender options

Postby JasonNugent » Wed Dec 07, 2011 3:39 pm

Hi luisalopes,

The modification you seek is in lib/pkp/classes/user/PKPUserDAO.inc.php. The three options for gender are hard coded in the getGenderOptions() method at the bottom of that file.

Keep in mind that a modification to that file would be something that you would need to track across future upgrades to OJS.

Regards,

Jason

luisalopes
Posts: 7
Joined: Tue Dec 06, 2011 5:04 pm

Re: Changing gender options

Postby luisalopes » Wed Dec 07, 2011 5:21 pm

Done.
Thanks.


Return to “OJS Technical Support”

Who is online

Users browsing this forum: Yahoo [Bot] and 9 guests