You are viewing the PKP Support Forum | PKP Home Wiki

problem with register user

OJS development discussion, enhancement requests, third-party patches and plug-ins.

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

Forum rules
Developer Resources:

Documentation: The OJS Technical Reference and the OJS API Reference are both available from the OJS Documentation page.

Git: You can access our public Git Repository here. Comprehensive Git usage instructions are available on the wiki.

Bugzilla: You can access our Bugzilla report tracker here.

Search: You can use our Google Custom Search to search across our main website, the support forum, and Bugzilla.

Questions and discussion are welcome, but if you have a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a technical support question, try the OJS Technical Support subforum.

problem with register user

Postby cffneto » Mon Aug 25, 2008 11:35 am

i disable the option that user can register as reader, but the option author dont be checked. i see the file ojs/template/user/register.tpl and there checkbox must be checked, but dont be. what i have to do?

Posts: 37
Joined: Wed Jul 04, 2007 9:22 pm

Re: problem with register user

Postby jmacgreg » Mon Aug 25, 2008 4:23 pm

Hi cffneto,

I'm not entirely sure what you want to accomplish: do you want the Author checkbox to be checked by default? I believe that the piece of code you are referring to (<input type="checkbox" name="registerAsReviewer" id="registerAsReviewer" value="1"{if $registerAsReviewer} checked="checked"{/if} />) will only check the box if the user is actively trying to register *as an author* -- that is, from a page that is only available to authors, ie. a submission page. If you want the checkbox to be checked by default, try removing the Smarty if statement. You'll have to keep track of that change, of course.

Posts: 4190
Joined: Tue Feb 14, 2006 10:50 am

Return to OJS Development

Who is online

Users browsing this forum: No registered users and 2 guests