Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest sNews - sNews 1.7 - with its own forums - for discussion and user mods.

Author Topic: CHECK ALL TRANSLATIONS FOR THIS ERROR  (Read 3544 times)

Keyrocks

  • Doug
  • ULTIMATE member
  • ******
  • Karma: 449
  • Posts: 6019
  • Semantically Challenged
    • snews.ca
CHECK ALL TRANSLATIONS FOR THIS ERROR
« on: November 21, 2006, 10:11:13 PM »

CORRECTION TO Language Variables: - For all versions of sNews 1.5... Make sure you change this variable from:
Quote
$l['paginator'] = 'p';
to:
Quote
$l['paginator'] = 'p_';
in your language variables if it has not already been changed. Without the underscore after the p, any article whose title starts with a "P" will not display.
Logged
Do it now... later may not come.
-------------------------------------------------------------------------------------------------
sNews 1.6 MESU | sNews 1.6 MEMU

Manuel Pancorbo

  • Jr. Member
  • **
  • Karma: 0
  • Posts: 72
CHECK ALL TRANSLATIONS FOR THIS ERROR
« Reply #1 on: November 21, 2006, 11:01:59 PM »

May this be a language variable? I don't really understand its goal.
Logged

Keyrocks

  • Doug
  • ULTIMATE member
  • ******
  • Karma: 449
  • Posts: 6019
  • Semantically Challenged
    • snews.ca
CHECK ALL TRANSLATIONS FOR THIS ERROR
« Reply #2 on: November 21, 2006, 11:48:50 PM »

Quote from: mpancorbo
May this be a language variable? I don't really understand its goal.
It is a language variable. I don't know why it's there... just that it IS there... and that this is how you have to fix it if you want to make sure your site continues to work OK when using any of these language sets.
ACTUALLY... I seem to remember that having a p without the underscore will cause articles to not appear if the first letter of the first word in the title is a P. Again - I don't know exactly why... but the "fix" solves the problem.
Logged
Do it now... later may not come.
-------------------------------------------------------------------------------------------------
sNews 1.6 MESU | sNews 1.6 MEMU