The more link in News Summary
The more link in News Summary
Hello Alby,
Can you or anywhere help me and explain me with detail how can i show the more link of the news summary of each language in my multilanguage page.
Thank You
Ottyscom
Can you or anywhere help me and explain me with detail how can i show the more link of the news summary of each language in my multilanguage page.
Thank You
Ottyscom
Re: The more link in News Summary
I think that works:ottyscom wrote: Hello Alby,
Can you or anywhere help me and explain me with detail how can i show the more link of the news summary of each language in my multilanguage page.
Add lang param in news tag: {news ... lang=`$lang`}
Alby
Re: The more link in News Summary
They will not work 

Re: The more link in News Summary
ottyscom wrote: They will not work![]()

I check now for en_US (More) and it_IT (Continua...) and works (without lang="$lang" also).
What are your langs?
Alby
Re: The more link in News Summary
Post your config_lang.phpottyscom wrote: My langs are: es, cat, de, en, fr and it
Alby
Re: The more link in News Summary
Ok here it is
define('DEFAULT_LANG', 'es');
$force_mle_default = false;
$hls = array(
'es' => array(
'block'=>'es',
'flag'=>'',
'locale'=>'es-EURO',
),
'cat' => array(
'block'=>'ca',
'flag'=>'',
),
'de' => array(
'block'=>'de',
'flag'=>'',
),
'en' => array(
'block'=>'en',
'flag'=>'',
),
'fr' => array(
'block'=>'fr',
'flag'=>'',
),
'it' => array(
'block'=>'it',
'flag'=>'',
),
);
?>
define('DEFAULT_LANG', 'es');
$force_mle_default = false;
$hls = array(
'es' => array(
'block'=>'es',
'flag'=>'',
'locale'=>'es-EURO',
),
'cat' => array(
'block'=>'ca',
'flag'=>'',
),
'de' => array(
'block'=>'de',
'flag'=>'',
),
'en' => array(
'block'=>'en',
'flag'=>'',
),
'fr' => array(
'block'=>'fr',
'flag'=>'',
),
'it' => array(
'block'=>'it',
'flag'=>'',
),
);
?>
Re: The more link in News Summary
From config_lang.php.alby.label:ottyscom wrote: Ok here it is
Code: Select all
'locale_cms' => 'LOCALE LANGUAGE IN CMSMS', //MANDATORY ONLY if you don't use 'KEY' for locale (ex: 'KEY' is a label)
'es_ES' =>array(
....
),
you MUST use:
'es' => array(
'block'=>'es',
'flag'=>'',
'locale'=>'es-EURO',
'locale_cms'=>'es_ES',
),
If missing, MLE don't know what is the current locale and use en_US only
Alby
Last edited by alby on Tue Jan 29, 2008 8:35 am, edited 1 time in total.
Re: The more link in News Summary
When i put this in the config lang file then the web will not open
they will show this
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /usr/home/megatopradio.com/web/_newpage/config_lang.php on line 22
they will show this

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /usr/home/megatopradio.com/web/_newpage/config_lang.php on line 22
Re: The more link in News Summary
Oh! i have made the following now and works.
I have quit the locale in onfig lang and at the module/xxx/lang/ext directory i change the filename from es_ES.php to es.php
It works very good! without locale in config
Do you know it?
Thank you
I have quit the locale in onfig lang and at the module/xxx/lang/ext directory i change the filename from es_ES.php to es.php
It works very good! without locale in config

Thank you
Re: The more link in News Summary
'locale' it's important for avoid problems in a few server only, 'KEY' or 'locale_cms' are important because whole CMSMS (admin/modules) works for locale_cms languageottyscom wrote: It works very good! without locale in configDo you know it?
Alby
Re: The more link in News Summary
Ok but the will show the erro show above 

Re: The more link in News Summary
Probably a comma or array item error. One possible config_lang is:ottyscom wrote: Ok but the will show the erro show above![]()
Code: Select all
<?php
define('DEFAULT_LANG', 'es');
$force_mle_default = false;
$hls = array(
'es' => array(
'block'=>'es',
'flag'=>'<img src="images/lang/es_ES.png" style="border:0" alt="Español" />',
'locale'=>'es-EURO',
'locale_cms'=>'es_ES',
),
'cat' => array(
'block'=>'ca',
'flag'=>'<img src="images/lang/ca_ES.png" style="border:0" alt="Català" />',
'locale'=>'es-EURO',
'locale_cms'=>'es_ES',
),
'de' => array(
'block'=>'de',
'flag'=>'<img src="images/lang/de_DE.png" style="border:0" alt="Deutsch" />',
'locale_cms'=>'de_DE',
),
'en' => array(
'block'=>'en',
'flag'=>'<img src="images/lang/en_GB.png" style="border:0" alt="English" />',
'locale_cms'=>'en_US',
),
'fr' => array(
'block'=>'fr',
'flag'=>'<img src="images/lang/fr_FR.png" style="border:0" alt="Français" />',
'locale_cms'=>'fr_FR',
),
'it' => array(
'block'=>'it',
'flag'=>'<img src="images/lang/it_IT.png" style="border:0" alt="Italiano" />',
'locale_cms'=>'it_IT',
),
);
?>