OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



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
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

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
luisalopes
 
Posts: 7
Joined: Tue Dec 06, 2011 5:04 pm

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
JasonNugent
Site Admin
 
Posts: 891
Joined: Tue Jan 10, 2006 6:20 am

Re: Changing gender options

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

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


Return to OJS Technical Support

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot] and 2 guests