Internationalization & Easy News
Permalink Browser Info Environment
Is there any way to get these both to work together ?
Problem being
If we use this code to switch between say 2 languages
<?php
$lh = Loader::helper('section', 'multilingual');
$lang = $lh->getLanguage();
if($lang == "en_GB")
{ $a = new GlobalArea('Main'); }
else if($lang == "el_CY")
{ $a = new GlobalArea('Main greek'); }
$a->display($c);
?>
Easy News looks for the 'Main' object, how can we get it to look for 'Main Someotherlangauge'
Anybody have ant ideas ??
Thanks
Problem being
If we use this code to switch between say 2 languages
<?php
$lh = Loader::helper('section', 'multilingual');
$lang = $lh->getLanguage();
if($lang == "en_GB")
{ $a = new GlobalArea('Main'); }
else if($lang == "el_CY")
{ $a = new GlobalArea('Main greek'); }
$a->display($c);
?>
Easy News looks for the 'Main' object, how can we get it to look for 'Main Someotherlangauge'
Anybody have ant ideas ??
Thanks
Type: | Discussion |
---|---|
Status: | New |
Hi!
Can you post a direct link to one of the places you explain how to change the block name.
I tried to search 'easy news' and only using your name (hanicker) and only one thread appears and this does not have instructions on how to change the block name.
Thanks
Can you post a direct link to one of the places you explain how to change the block name.
I tried to search 'easy news' and only using your name (hanicker) and only one thread appears and this does not have instructions on how to change the block name.
Thanks
Sorry for this late reply. Please checkhttp://www.concrete5.org/marketplace/addons/easy-news/questions-and...
Regards
Nick
Regards
Nick
Hi.
How to add new news attribute like you said ?
Working on a multilingual page and would be nice to have diferent items depending on language.
In last case it can have a news page and for each news item I will have 3 points: english, portugues and spanish
thanks
How to add new news attribute like you said ?
Working on a multilingual page and would be nice to have diferent items depending on language.
In last case it can have a news page and for each news item I will have 3 points: english, portugues and spanish
thanks
UPDATE:
Looks like it was easier than I thought. After renaming the news page on another language it was possible to select it when inserting news item.
PS. I have internationalization installed and language files under each language "home page".
Looks like it was easier than I thought. After renaming the news page on another language it was possible to select it when inserting news item.
PS. I have internationalization installed and language files under each language "home page".
Hi. Sorry for this late reply. Great, you found the best solution.
Let me know if you have any other problem, I'll try to reply sooner.
Regards
Nick
Let me know if you have any other problem, I'll try to reply sooner.
Regards
Nick
Then, you will be able to select one of these areas when creating news.
Anyway, if you check the forum, I posted how to change the block name many times. But you will have to change dashboard.
Sorry for this late reply! Regards
Nick