Recordad que para pedir soporte alguno, debéis facilitar los datos de soporte oportunos por favor, mirad aquí y leer las Normas generales del foro, esto nos servirá de ayuda para dar el mejor soporte..

Gracias.

La Administración de phpBB España.

Añadir enlace de tema anterior y siguiente en viewtopicTema Solucionado

Dudas sobre estilos phpBB 3.0.x
Colaboraciones gráficas paquetes de rangos aquí y botones aquí.
Cerrado
Avatar de Usuario
Megabyte
Elite
Mensajes: 1037
Registrado: 25 Dic 2010, 02:39
Edad: 43

Añadir enlace de tema anterior y siguiente en viewtopic  Tema Solucionado

#1

Mensaje por Megabyte »

Agregamos 2 enlaces alrededor de la paginación, donde podremos ir al anterior o siguiente tema, si no hay antes o después, nos mostrara una pagina diciéndonos de la inexistencia de este.

abrir: styles/prosilver/template/viewtopic_body.html

buscar:

Código: Seleccionar todo

       <!-- IF PAGINATION or TOTAL_POSTS -->
          <div class="pagination">
             <!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT --><a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a> &bull; <!-- ENDIF -->{TOTAL_POSTS}
             <!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> &bull; <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> &bull; <span>{PAGINATION}</span><!-- ELSE --> &bull; {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF -->
          </div>
       <!-- ENDIF -->
reemplazar por:

Código: Seleccionar todo

       <!-- IF PAGINATION or TOTAL_POSTS -->
          <div class="pagination">
             <a href="{U_VIEW_OLDER_TOPIC}" style="font-weight: bold; ">{L_VIEW_PREVIOUS_TOPIC}</a> &bull; <!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT --><a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a> &bull; <!-- ENDIF -->{TOTAL_POSTS}
             <!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> &bull; <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> &bull; <span>{PAGINATION}</span><!-- ELSE --> &bull; {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF --> &bull; <a href="{U_VIEW_NEWER_TOPIC}" style="font-weight: bold; ">{L_VIEW_NEXT_TOPIC}</a>
          </div>
       <!-- ENDIF -->
Refrescar template.
Revisar algún tema de tu foro, para ver los nuevos enlaces.

Fuente: http://www.phpbb3bbcodes.com/

Contenido Oculto
Este foro requiere que este registrado e identificado para ver el contenido oculto.

Cerrado

Volver a “Soporte para Estilos phpBB 3.0.x”