How can I change the layout of user table in OJS 3.1?


I want to change the layout of user list in OJS 3.1.
The table shows first name of user at left most.
I want to have a table with last name at left most, then first name.

Which tpl should I change?


— Hiroshi Kawasaki

Hi @kawasaki,

Unfortunately, it’s not very easy to make such a change. The template files which render the user list are also used to render dozens of other lists in the system, so it’s not so easy to just change the order of a columns through the template files.

I had a quick look to see if there are any hooks you can use to dip in and modify the column order before it’s passed to the templates, but I didn’t find anything. I’m afraid the only option I know of at the moment is to modify the core file to register the columns in a different order:

Dear Nate,

Thank you for your advice.

I edited it. It works!!

Thank you again.

Sincerely yours,

— Hiroshi

1 Like