Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modificación Índice Autores (página 12-13) #28

Open
ajspadial opened this issue Sep 24, 2014 · 1 comment
Open

Modificación Índice Autores (página 12-13) #28

ajspadial opened this issue Sep 24, 2014 · 1 comment

Comments

@ajspadial
Copy link
Member

Al listar índice de Autores, en cabecera del índice alfabético(A, B, C..) distingue entre vocales acentuadas y no acentuadas.
Modificar:
/pages/search/searchHandler.inc.php en la linea 146 para incluir:

 require_once './lib/pkp/lib/phputf8/utils/ascii.php';

Para permitir usar una function utf8_accents_to_ascii() que convierte caracteres utf8 acentuados y en su equivalente no acentuados en ascii.
/templates/search/authorIndex.tpl
Comentar

{if $lastFirstLetter|lower != $firstLetter|lower}

Y añadir:

{if $lastFirstLetter|utf8_accents_to_ascii !=  $firstLetter|utf8_accents_to_ascii}
@ajspadial
Copy link
Member Author

Es lo mismo que #9.

Se mejora el commit de templates/search/authorIndex.tpl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant