Change issue title length in OJS 2.4.8.1

Hello,

I’m having difficulties in setting up the title of one of our new issues.

The problem is that when I enter a title (in Cyrillic) that has 131 characters (with spaces) or 148 characters (no spaces), OJS truncates the title to 112 characters (no spaces) or 126 characters (with spaces).

There are some already published issue titles (in English) that are longer than 112 characters (no spaces) or 126 characters (with spaces). But it looks like it’s not the same limit for the ones in Cyrillic.

Can you please advise on how to properly remove this limitation?

Thank you.

Hello again,

I’ve just found out how to overcome this issue.

So, I changed

size=“40” maxlength=“120” class=“textField” type=“text”>

to

size=“40” maxlength=“220” class=“textField” type=“text”>

in the following files:

/templates/editor/issues/createIssue.tpl
/cache/t_compile/%%12^12B^12BC9318%%createIssue.tpl.php

I’m all set now! Thank you.

Hi @Dragomir,

Note that you shouldn’t need to manually change the compiled template – if your permissions are set right, Smarty will notice that the source template file and automatically update the compiled version.

Thanks for documenting this!

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like